|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Cluster Geographic Edition Remote Replication Guide for Sun ZFS Storage Appliance Oracle Solaris Cluster 4.1|
Perform a switchover of a Sun ZFS Storage protection group when you want to migrate services to the partner cluster in an orderly fashion.
A switchover consists of the following actions:
Application services are unmanaged on the former primary cluster.
The replication role is reversed and now continues to run from the new primary.
Application services are brought online on the new primary cluster.
Before You Begin
Before you switch over a protection group from the primary cluster to the secondary cluster, ensure that the following conditions are met:
Data replication is active between the primary cluster and the secondary cluster. That is, the replication is enabled from the source to the target Sun ZFS Storage appliances.
The Geographic Edition replication resource for this appliance replication shows the Online state.
The Geographic Edition software is running on both clusters.
The secondary cluster is a member of a partnership.
Both cluster partners can be reached.
The overall state of the protection group is set to OK.
All components on the primary and secondary sites are up and well.
For more information about RBAC, see Geographic Edition Software and RBAC in Oracle Solaris Cluster Geographic Edition System Administration Guide.
Note - If you use a role with Geo Management RBAC rights, ensure that the /var/cluster/geo ACLs are correct on each node of both partner clusters. If necessary, assume the root role on the cluster node and set the correct ACLs.
# chmod A+user:username:rwx:allow /var/cluster/geo
The /var/cluster/geo directory must have the correct access control lists (ACL) applied for compatibility between the Geo Management RBAC rights profile and Sun ZFS Storage Appliance software.
The application resource groups that are a part of the protection group are stopped and started during the switchover.
phys-paris-1# geopg switchover [-f] -m new-primary-cluster pg-name
Forces the command to perform the operation without asking you for confirmation.
Specifies the name of the cluster that is to be the new primary cluster for the protection group.
Specifies the name of the protection group.
Example 2-1 Forcing a Switchover From the Primary Cluster to the Secondary Cluster
The following example performs a switchover to the secondary cluster.
phys-paris-1# geopg switchover -f -m cluster-newyork zfssa-pg