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 that you are creating does not already exist.
Protection group names are unique in the global Sun Cluster Geographic Edition namespace. You cannot use the same protection group name in two partnerships on the same system.
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.
Create a new protection group by using the geopg create command.
This command creates a protection group on all nodes of the local cluster.
# geopg create -s partnership-name -o local-role \ [-p property-settings [-p...]] \ protection-group-name |
Specifies the name of the partnership
Specifies the role of this protection group on the local cluster as either Primary or Secondary
Sets the properties of the protection group
The properties you can set are the following:
Description – describes the protection group
Timeout – specifies the timeout 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
For more information about the properties you can set, see Appendix A, Standard Sun Cluster Geographic Edition Properties.
Specifies the name of the protection 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 an protection group that is not replicated:
# geopg create -s paris-newyork-ps -o primary example-pg |
See Administering Hitachi TrueCopy Application Resource Groups for information on adding resource groups to a protection group.