Before You Begin
Before you create a protection group, ensure that the following conditions are met:
The local cluster is a member of a partnership.
The protection group you are creating does not already exist.
You can also replicate the existing configuration of a protection group from a remote cluster to the local cluster. For more information, see Replicating the SRDF Protection Group Configuration to a Partner Cluster.
You must be assigned the Geo Management rights profile to complete this procedure. For more information, see Securing Geographic Edition Software in Oracle Solaris Cluster 4.3 Geographic Edition Installation and Configuration Guide.
This command creates a protection group on all nodes of the local cluster.
# geopg create -s partnership -o local-role -d srdf [-p property [-p…]] \ protection-group
Specifies the name of the partnership.
Specifies the role of this protection group on the local cluster as either primary or secondary.
Specifies that the protection group data is replicated by the SRDF software.
Specifies the properties of the protection group.
You can specify the following properties:
Description – Describes the protection group.
Timeout – Specifies the time-out period for the protection group in seconds.
Nodelist – Lists the host names of the machines that can be primary for the replication subsystem.
Cluster_dgs – Lists the device groups where the data is written. The Geographic Edition device groups must exist and have the same name on both the primary cluster and the secondary cluster.
To specify Solaris Volume Manager disk sets when a disk set name is not the same on both clusters, use the following syntax which includes the cluster names:
Cluster_dgs=local-cluster[disk-set]:remote-cluster[disk-set]
Include the brackets ([ ]) around all disk set names for each cluster. Separate multiple disk set names with a comma. For example:
Cluster_dgs=paris[dg1,dg2]:newyork[dg10,dg11]
For more information about the properties you can set, see Appendix A, Standard Geographic Edition Properties, in Oracle Solaris Cluster 4.3 Geographic Edition System Administration Guide.
Specifies the name of the protection group.
For information about the names and values that are supported by Geographic Edition software, see Appendix B, Legal Names and Values of Geographic Edition Entities, in Oracle Solaris Cluster 4.3 Geographic Edition System Administration Guide.
For more information about the geopg command, refer to the geopg(1M) man page.
This example creates an SRDF protection group on cluster-paris, which is set as the primary cluster.
# geopg create -s paris-newyork-ps -o primary -d srdf \ -p Cluster_dgs="dg1:dg5,dg8:dg10" srdfpgExample 3 Creating an SRDF Protection Group for Application Resource Groups That Are Online
This example creates an SRDF protection group, srdfpg, for an application resource group, resourcegroup1, that is currently online on cluster-newyork.
Create the protection group without the application resource group.
# geopg create -s paris-newyork-ps -o primary -d srdf \ -p nodelist=phys-paris-1,phys-paris-2 srdfpg
Activate the protection group.
# geopg start -e local srdfpg
Add the application resource group.
# geopg add-resource-group resourcegroup1 srdfpg