When an old primary cluster is restarting for the first time after a successful takeover, the MySQL database does not detect that the cluster should no longer act as a master and the disaster recovery framework still keeps the primary role, but leaves it deactivated. The goal for the recovery is to configure the old master to run as a slave and to update the disaster recovery framework configuration to reflect this role change.
You can check for the status with the following command:
# geoadm status
The recovery strategy after a takeover involves the following actions:
Configuring the old master to run as a slave
Manually starting the slave threads on the old master
Resynchronizing the protection group to switch the role
You must be assigned the Geo Management rights profile to complete this procedure. For more information, see Securing Disaster Recovery Framework Software in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.
mysql> start slave;
mysql> show slave status\G
If the slave status shows that at least one slave thread is not running, fix the root cause, and retry the operation. As a last resort, you could take a backup from the current master and perform a fresh slave setup.
# geopg update protection-group
phys-paris-1# geopg status protection-group
phys-paris-1# geopg stop -e local protection-group
phys-paris-1# geopg validate protection-group
# geopg update protection-group
# geopg start -e local protection-group
For more information, see Resynchronizing a Protection Group in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4 and Activating and Deactivating a Protection Group in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.