Use this procedure to restart an application on the original primary cluster, cluster-paris, and use the current data on the original primary cluster. Any updates that occurred on the secondary cluster, cluster-newyork, while it was acting as primary are discarded.
The failback procedures apply only to clusters in a partnership. You need to perform the following procedure only once per partnership.
Before You Begin
Before you begin the failback-takeover operation, the clusters have the following roles:
If the original primary cluster, cluster-paris, has failed, confirm that the cluster is booted and that the Geographic Edition infrastructure is enabled on the cluster. For more information about booting a cluster, see Booting a Cluster in Oracle Solaris Cluster Geographic Edition System Administration Guide .
The protection group on cluster-newyork has the primary role.
The protection group on cluster-paris has either the primary role or secondary role, depending on whether the protection group could be reached during the takeover.
cluster-paris forfeits its own configuration and replicates the cluster-newyork configuration locally.
phys-paris-1# geops update partnership
Specifies the name of the partnership
For more information about synchronizing partnerships, see Resynchronizing a Partnership in Oracle Solaris Cluster Geographic Edition System Administration Guide .
phys-paris-1# geoadm status
phys-paris-1# geopg stop -e local protection-group
phys-paris-1# geoadm status
If the protection group has been activated, deactivate the protection group by using the geopg stop command. For more information about deactivating a protection group, see How to Deactivate a Protection Group in Oracle Solaris Cluster Geographic Edition System Administration Guide .
phys-paris-1# geopg update protection-group
Specifies the name of the protection group
For more information about synchronizing protection groups, see Resynchronizing a Protection Group in Oracle Solaris Cluster Geographic Edition System Administration Guide .
Ensure that the protection group is not in an error state. A protection group cannot be started when it is in an error state.
phys-paris-1# geopg validate protection-group
Specifies a unique name that identifies a single protection group
For more information, see Validating a Protection Group in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .
Because the protection group on cluster-paris has a role of secondary, the geopg start command does not restart the application on cluster-paris.
phys-paris-1# geopg start -e local -n protection-group
Specifies the scope of the command.
By specifying a local scope, the command operates on the local cluster only.
Prevents the start of data replication at protection group startup.
Specifies the name of the protection group.
For more information, see How to Activate a Protection Group in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .
Replication from cluster-newyork to cluster-paris is not started because the –n option is used on cluster-paris.
phys-paris-1# geopg takeover [-f] protection-group
Forces the command to perform the operation without your confirmation
Specifies the name of the protection group
For more information about the geopg takeover command, see How to Force Immediate Takeover of a Protection Group by a Secondary Cluster in Oracle Solaris Cluster Geographic Edition System Administration Guide .
The protection group on cluster-paris now has the primary role, and the protection group on cluster-newyork has the secondary role.
Because the protection group on cluster-newyork has a role of secondary, the geopg start command does not restart the application on cluster-newyork.
phys-newyork-1# geopg start -e local [-n] protection-group
Specifies the scope of the command.
By specifying a local scope, the command operates on the local cluster only.
Prevents the start of data replication at protection group startup.
If you omit this option, the data replication subsystem starts at the same time as the protection group.
Specifies the name of the protection group.
For more information about the geopg start command, see How to Activate a Protection Group in Oracle Solaris Cluster Geographic Edition System Administration Guide .
To start data replication, activate the protection group on the primary cluster, cluster-paris.
phys-paris-1# geopg start -e local protection-group
For more information about the geopg start command, see How to Activate a Protection Group in Oracle Solaris Cluster Geographic Edition System Administration Guide .
Run the following command from one node on each cluster:
# geoadm status
Run the following commands from one node in each cluster:
# clresourcegroup status -v resource-group # clresource status -v AVS-device-group-rep-rs
Refer to the Status and Status Message fields that are presented for the data replication device group you want to check. For more information about these fields, see Figure 3, Table 3, Status and Status Messages of an Online Availability Suite Replication Resource Group.
For more information about the runtime status of data replication, see Checking the Runtime Status of Availability Suite Data Replication.