Oracle® Solaris Cluster Geographic Edition Data Replication Guide for EMC Symmetrix Remote Data Facility

Exit Print View

Updated: July 2014, E39668-01
 
 

How to Create and Configure an SRDF Protection Group


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager GUI. Click Partnerships, then click the partnership name. 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

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.


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 SRDF 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 that uses SRDF replication.

    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
    –s partnership

    Specifies the name of the partnership.

    –o local-role

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

    –d srdf

    Specifies that the protection group data is replicated by the SRDF software.

    –p property-setting

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

Example 2-1  Creating and Configuring an SRDF Protection Group

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" srdfpg
Example 2-2  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.

  1. 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
  2. Activate the protection group.

    # geopg start -e local srdfpg
  3. Add the application resource group.

    # geopg add-resource-group resourcegroup1 srdfpg