Log in to a cluster node.
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 in Sun Cluster Geographic Edition System Administration Guide.
Create a data replication device group in 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 [-p...] devicegroupname protectiongroupname
Specifies the properties of the data replication device group.
You can specify the Fence_level property which defines the fence level that is used by the device group. The fence level determines the level of consistency among the primary and secondary volumes for that device group.
You can set this property to data, status, never, or async. When you use a Fence_level of never or async, the application can continue to write to the primary cluster even after failure on the secondary cluster. However, when you set the Fence_level property to data or status, the application on the primary cluster might fail because the secondary cluster is not available for the following reasons:
Data replication link failure
Secondary cluster and storage is down
Storage on the secondary cluster is down
To avoid application failure on the primary cluster, specify a Fence_level of never or async.
If you specify a Fence_level of never, the data replication roles do not change after you perform a takeover.
If you have special requirements to use a Fence_level of data or status, consult your Sun representative.
The other properties you can specify depend on the type of data replication you are using. For details about these properties, see Appendix A, Standard Sun Cluster Geographic Edition Properties, in Sun Cluster Geographic Edition System Administration Guide.
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, in Sun Cluster Geographic Edition System Administration Guide.
For more information about the geopg command, refer to the geopg(1M) man page.
This example creates a Hitachi TrueCopy or Universal Replicator data replication device group in the tcpg protection group.
# geopg add-device-group -p Fence_level=data devgroup1 tcpg