Before you replicate the configuration of a Sun StorEdge Availability Suite 3.2.1 protection group to a partner cluster, ensure that the following conditions are met:
The protection group is defined on the remote cluster, not on the local cluster.
The device groups in the protection group on the remote cluster exist on the local cluster.
The application resource groups in the protection group on the remote cluster exist on the local cluster.
The Auto_start_on_new_cluster property of the resource groups is set to False. You can view this property by using the scrgadm command.
# scrgadm -pvv -g apprg1 | grep Auto_start_on_new_cluster |
Set the Auto_start_on_new_cluster property to False as follows:
# scrgadm -c -g apprg1 -y Auto_start_on_new_cluster=False |
Log in to phys-newyork-1.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC.
Replicate the protection group configuration to the partner cluster by using the geopg get command.
This command retrieves the configuration information of the protection group from the remote cluster and creates the protection group on the local cluster.
# geopg get -s partnership-name \ AVS-protection-group |
Specifies the name of the partnership from which the protection group configuration information should be gathered.
Specifies the name of the protection group.
The geopg get command replicates Sun Cluster Geographic Edition related entities. For information about how to replicate Sun Cluster entities, see Replicating and Upgrading Configuration Data for Resource Groups, Resource Types, and Resources in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.
This example illustrates how to replicate the configuration of avspg to cluster-newyork.
The configuration of the protection group is retrieved from the remote cluster, in this example cluster-paris and then validated by the data replication subsystem on the local cluster, cluster-newyork.
If the validation is successful, the Configuration status is set to OK and the protection group is created on the local cluster. This protection group contains a device group and an application group that are configured identically to the device group and application group on the remote cluster.
If the validation fails, the Configuration status is set to Error. Fix the cause of the error and revalidate the protection group or delete the invalid protection group from all nodes on the local cluster.
# rlogin phys-newyork-1 -l root phys-newyork-1# geopg get -s paris-newyork-ps avspg |