Sun Cluster Geographic Edition Data Replication Guide for Sun StorEdge Availability Suite

ProcedureHow to Create and Configure a Sun StorEdge Availability Suite 3.2.1 Protection Group

Before You Begin

Ensure that the following conditions are met:


Note –

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.


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 Sun StorEdge Availability Suite 3.2.1 Protection Group Configuration to a Partner Cluster.

  1. 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.

  2. 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 partnershipname -d avs \
    -o localrole [-p property [-p...]] \
    protectiongroupname
    
    -s partnershipname

    Specifies the name of the partnership.

    -d avs

    Specifies that the protection group data is replicated by Sun StorEdge Availability Suite 3.2.1 software.

    -o localrole

    Specifies the role of this protection group on the local cluster as either primary or secondary.

    -p propertysetting

    Specifies the properties of the protection group.

    You can specify the following properties:

    • Description – Describes the protection group.

    • Timeout – Specifies the timeout period for the protection group in seconds.

    • Enable_volume_set – Enables the volume set automatically at protection group creation time when set to true.

      For more information about automatically enabling a volume set, see Enabling a Sun StorEdge Availability Suite 3.2.1 Volume Set.

    • Nodelist – Lists the host names of the machines that can be primary for the device group in the protection group.

    For more information about the properties you can set, see Appendix A, Standard Sun Cluster Geographic Edition Properties, in Sun Cluster Geographic Edition System Administration Guide.

    protectiongroupname

    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, in Sun Cluster Geographic Edition System Administration Guide.

    For more information about the geopg command, refer to the geopg(1M) man page.

    Before creating the protection group, the data replication layer validates that the configuration is correct.

    If the validation is successful, the local Configuration status is set to OK and the Synchronization status is set to Error.

    If the validation is unsuccessful, the protection group is not created.


Example 2–2 Creating and Configuring a Protection Group

This example creates a Sun StorEdge Availability Suite 3.2.1 protection group on the cluster-paris cluster, which is set as the primary cluster.


phys-paris-1# geopg create -s paris-newyork-ps -d avs -o primary \
-p Nodelist=phys-paris-1,phys-paris-2 avspg