For a switchover to occur, data replication must be active between the primary cluster and the standby cluster, that is, the Oracle Data Guard Broker configuration is enabled. Additionally, the Oracle Data Guard Broker show configuration command must show a SUCCESS state. This state is reflected in the state of the Sun Cluster Geographic Edition replication resource for this Oracle Data Guard Broker configuration, which should show the online state.
Before you switch over a protection group from the primary cluster to the standby cluster, ensure that the following conditions are met:
Sun Cluster Geographic Edition software is running on the both clusters.
The standby cluster is a member of a partnership.
Both cluster partners can be reached.
The overall state of the protection group is set to OK.
Log in to a cluster node.
To complete this step, you need to be assigned the Geo Management RBAC rights profile. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC in Sun Cluster Geographic Edition System Administration Guide.
Initiate the switchover.
The application resource groups that are a part of the protection group are stopped and started during the switchover.
phys-node-n# geopg switchover [-f] -m newprimarycluster protectiongroupname
Forces the command to perform the operation without asking you for confirmation.
Specifies the name of the cluster that is to be the primary cluster for the protection group.
Specifies the name of the protection group.
This example shows how to perform a switchover to the standby cluster.
phys-paris-1# geopg switchover -f -m cluster-newyork sales-pg