Go to main content

Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle Solaris Availability Suite

Exit Print View

Updated: July 2014, E39670-01
 
 

How to Create and Configure an Availability Suite Protection Group


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager GUI. Click Partnerships, click the partnership name to go to its page, then in the Protection Groups section click Create. For more information about Oracle Solaris Cluster Manager, see Chapter 13, Using the Oracle Solaris Cluster GUI, in Oracle Solaris Cluster System Administration Guide .

Before You Begin

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.


Note -  Protection group names are unique in the global 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 Availability Suite 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 Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration 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 partnership -d avs \
    -o local-role [-p property [-p...]] protection-group
    –s partnership

    Specifies the name of the partnership.

    –d avs

    Specifies that the protection group data is replicated by the Availability Suite feature.

    –o local-role

    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.

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

    protection-group

    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 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 9  Creating and Configuring a Protection Group

This example creates an Availability Suite 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

Next Steps

Go to Validating an Availability Suite Protection Group.