A protection group is the container for the application resource groups, which contain data for services that are protected from disaster. Sun Cluster Geographic Edition software protects the data by replicating it from the primary cluster to the secondary cluster. By adding a Sun Cluster device group to a protection group, Sun Cluster Geographic Edition software monitors the replication status of all volumes in the device group that belong to a Sun StorEdge Availability Suite 3.2.1 volume set. Sun Cluster Geographic Edition software also controls the role and state of the volume set during protection group operations like start, stop, switchover, and takeover.
Before you add a device group to a protection group, ensure that the following conditions are met:
The protection group is defined on the local cluster.
The protection group is offline on the local cluster and the partner cluster, if the partner cluster can be reached.
The device group exists on both the local cluster and the partner cluster.
The Nodelist property of the device group contains the same entries in the same order as the Nodelist property of the protection group.
The Local_logical_host property specifies a valid hostname that can be hosted by the local cluster and that is reserved for this device group.
The Remote_logical_host property specifies a valid hostname that can be hosted by the remote cluster and that has been reserved for this device group.
If the Enable_volume_set property is set to true, then the /var/cluster/geo/avs/avsdg-volset.ini file must exist and contain valid entries on all nodes of both partner clusters. For information about configuring this file, see Enabling a Sun StorEdge Availability Suite 3.2.1 Volume Set.
Log in to one of the cluster nodes.
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.
Add a data replication device group to the protection group.
This command adds a device group to a protection group on the local cluster and propagates the new configuration to the partner cluster if the partner cluster contains a protection group of the same name.
# geopg add-device-group -p property-settings [-p...] \ AVS-device-group-name protection-group-name |
Sets the properties of the data replication device group
The Sun StorEdge Availability Suite 3.2.1 specific properties you can set are the following:
Local_logical_host – Specifies the name of the local logical host that is used to replicate the device group
Remote_logical_host – Specifies the name of the remote logical host that is used to replicate the device group
Enable_volume_set – Specifies whether the volume sets that are given in the file will be automatically enabled. Set to either True or False
For more information about the properties you can set, see Appendix A, Standard Sun Cluster Geographic Edition Properties.
Specifies the name of the new data replication device group
Specifies the name of the protection group that will contain the new data replication device group
For information about the names and values that are supported by Sun Cluster Geographic Edition software, see Appendix B, Legal Names and Values of Sun Cluster Geographic Edition Entities.
For more information about the geopg command, refer to the geopg(1M) man page.
The following example illustrates how to create a Sun StorEdge Availability Suite 3.2.1 data replication device group in the avspg protection group:
# geopg add-device-group -p Local_logical_host=lh-paris-1 \ -p Remote_logical_host=lh-newyork-1 avsdg avspg |