Sun Cluster Geographic Edition Data Replication Guide for Oracle Data Guard

ProcedureHow to Switch Over an Oracle Data Guard Protection Group From the Primary to the Standby Cluster

Before You Begin

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:

  1. 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.

  2. 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.

    -m newprimarycluster

    Specifies the name of the cluster that is to be the primary cluster for the protection group.


    Specifies the name of the protection group.

Example 3–1 Forcing a Switchover From the Primary to the Standby Cluster

This example shows how to perform a switchover to the standby cluster.

phys-paris-1# geopg switchover -f -m cluster-newyork sales-pg