After you have configured remote replication, resource groups, and resources on your primary and secondary clusters and you have created a protection group for those entities on the primary cluster, you can replicate the configuration of the protection group to the secondary cluster.
Before You Begin
Before you replicate the configuration of an Oracle ZFS Storage Appliance 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 application resource groups in the protection group on the remote cluster exist on the local cluster.
Application resource groups are online only on the primary cluster and in the unmanaged state on the secondary cluster.
Perform this procedure from phys-newyork-1, which is a node on the secondary cluster. For a reminder of which node is phys-newyork-1, see Example Disaster Recovery Framework Cluster Configuration in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.
For more information, see Securing Disaster Recovery Framework Software in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.
# 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 rights profile and Oracle ZFS Storage Appliance software.
# clresourcegroup show -p Auto_start_on_new_cluster resource-group
If necessary, change the property value to True.
# clresourcegroup set -p Auto_start_on_new_cluster=True resource-group
phys-newyork-1# geopg get -s partnership protection-group
Specifies the name of the partnership from which the protection group configuration information is retrieved.
Specifies the name of the protection group.
If no protection group is specified, then all protection groups that exist in the specified partnership on the remote partner are created on the local cluster.
The command retrieves the configuration information of the protection group from the remote cluster and creates the protection group on the local cluster.
The following example replicates the configuration of zfssa-pg from cluster-paris to cluster-newyork.
# rlogin phys-newyork-1 -l root phys-newyork-1# geopg get -s paris-newyork-ps zfssa-pg
Troubleshooting
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 remote replication component and application group that are configured almost identically to the remote replication component and application group on the remote cluster.
If the validation fails, the protection group is not created on the local cluster. Fix the cause of the error, and replicate it again.
If you have difficulties adding the component to the protection group, see Debugging an Oracle ZFS Storage Appliance Protection Group.