Use this procedure to restart an application on the original primary cluster, cluster-paris, after the data on the cluster has been resynchronized with the data on the current primary cluster, cluster-newyork. 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 perform a failback-switchover, a takeover has occurred on cluster-newyork. The clusters now 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 cluster-paris could be reached during the takeover from cluster-newyork.
The cluster cluster-paris forfeits its own configuration and replicates the cluster-newyork configuration locally. Resynchronize both the partnership and protection group configurations.
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
Specifies the scope of the command.
By specifying a local scope, the command operates on the local cluster only.
Specifies the name of the protection group.
If the protection group is already deactivated, the state of the resource group in the protection group is probably Error. The state is Error because the application resource groups are managed and offline.
Deactivating the protection group results in the application resource groups no longer being managed, clearing the Error state.
phys-paris-1# geoadm status
Because the local role of the protection group on cluster-newyork is now primary, this steps ensures that the role of the protection group on cluster-paris becomes secondary.
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 .
A protection group cannot be started when it is in a error state. Ensure that the protection group is not 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 .
When you activate a protection group, its application resource groups are also brought online.
phys-paris-1# geopg start -e Global protection-group
Specifies the scope of the command.
By specifying a Global scope, the command operates on both clusters where the protection group is deployed.
Specifies the name of the protection group.
![]() | Caution - Do not use the –n option when performing a failback-switchover because the data needs to be synchronized from the current primary, cluster-newyork, to the current secondary, cluster-paris. Because the protection group has a role of secondary, the data is synchronized from the current primary, cluster-newyork, to the current secondary, cluster-paris. For more information about the geopg start command, see How to Activate a Protection Group in Oracle Solaris Cluster Geographic Edition System Administration Guide . |
First, confirm that the state of the protection group on cluster-newyork is OK.
phys-newyork-1# geoadm status
Refer to the Protection Group section of the output.
Next, confirm that all resources in the replication resource group, AVS-protection-group-rep-rg, report a status of OK.
phys-newyork-1# clresource status -v AVS-device-group-rep-rs
# geoadm status
# geopg switchover [-f] -m cluster-paris protection-group
For more information, see How to Switch Over Replication From the Primary Cluster to the Secondary Cluster in Oracle Solaris Cluster Geographic Edition System Administration Guide .
cluster-paris resumes its original role as primary cluster for the protection group.
Verify that the protection group is now primary on cluster-paris and secondary on cluster-newyork and that the state for Data replication and Resource groups is OK on both clusters.
# geoadm status
Check the runtime status of the application resource group and data replication for each Availability Suite protection group.
# 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.