Sun Cluster Geographic Edition Data Replication Guide for EMC Symmetrix Remote Data Facility

ProcedureHow to Activate an EMC Symmetrix Remote Data Facility Protection Group

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

    When you activate a protection group, its application resource groups are also brought online.


    # geopg start -e scope [-n] protectiongroupname 
    
    -e scope

    Specifies the scope of the command.

    If the scope is Local, then the command operates on the local cluster only. If the scope is Global, the command operates on both clusters that deploy the protection group.


    Note –

    The property values, such as Global and Local, are not case sensitive.


    -n

    Prevents the start of data replication at protection group startup.

    If you omit this option, the data replication subsystem starts at the same time as the protection group.

    protectiongroupname

    Specifies the name of the protection group.

    The geopg start command uses the scswitch -Z -g resourcegrouplist command to bring resource groups and resources online. For more information about using this command, see the scswitch(1M) man page.


Example 2–15 How the Sun Cluster Geographic Edition Software Issues the Command to Start Replication

This example illustrates how the Sun Cluster Geographic Edition software determines the EMC Symmetrix Remote Data Facility command that is used to start data replication.

First, the EMC Symmetrix Remote Data Facility protection group is created.


phys-paris-1# geopg create -s paris-newyork-ps -o primary -d srdf srdfpg

The device groupdevgroup1is added to the protection group.


phys-paris-1# geopg add-device-group devgroup1 srdfpg

The current RDF pair state of an EMC Symmetrix Remote Data Facility device group, devgroup1, is returned in the output of the symrdf query command as follows:


phys-paris-1# symrdf -g devgroup1 query
Device Group (DG) Name             : devgroup1
DG's Type                          : RDF1
DG's Symmetrix ID                  : 000187401215


       Source (R1) View                 Target (R2) View     MODES           
--------------------------------    ------------------------ ----- ------------
             ST                  LI      ST                                    
Standard      A                   N       A                                   
Logical       T  R1 Inv   R2 Inv  K       T  R1 Inv   R2 Inv       RDF  Pair    
Device  Dev   E  Tracks   Tracks  S Dev   E  Tracks   Tracks MDA   STATE       
-------------------------------- -- ------------------------ ----- ------------

DEV001  00E4 RW       0       36 NR 00E4 RW      36        0 S..   Split       
DEV002  00E5 RW       0       36 NR 00E5 RW      36        0 S..   Split       
DEV003  00E6 RW       0       36 NR 00E6 RW      36        0 S..   Split       

The aggregate device group state is Split.

Next, the protection group, srdfpg, is activated by using the geopg start command.


phys-paris-1# geopg start -e local srdfpg

The Sun Cluster Geographic Edition software runs the symrdf -g devgroup1 establish command at the data replication level. If the command is successful, the state of devgroup1 is returned in the output of the symrdf query command as follows:


phys-paris-1# symrdf -g devgroup1 query
Device Group (DG) Name             : devgroup1
DG's Type                          : RDF1
DG's Symmetrix ID                  : 000187401215


       Source (R1) View                 Target (R2) View     MODES           
--------------------------------    ------------------------ ----- ------------
             ST                  LI      ST                                    
Standard      A                   N       A                                   
Logical       T  R1 Inv   R2 Inv  K       T  R1 Inv   R2 Inv       RDF Pair    
Device  Dev   E  Tracks   Tracks  S Dev   E  Tracks   Tracks MDA   STATE       
-------------------------------- -- ------------------------ ----- ------------

DEV001  00E4 RW       0        0 RW 00E4 WD       0        0 S..   Synchronized
DEV002  00E5 RW       0        0 RW 00E5 WD       0        0 S..   Synchronized
DEV003  00E6 RW       0        0 RW 00E6 WD       0        0 S..   Synchronized
DEV004  00E7 RW       0        0 RW 00E7 WD       0        0 S..   Synchronized
DEV005  00E8 RW       0        0 RW 00E8 WD       0        0 S..   Synchronized
DEV006  00E9 RW       0        0 RW 00E9 WD       0        0 S..   Synchronized


Example 2–16 Activating an EMC Symmetrix Remote Data Facility Protection Group Globally

This example activates a protection group globally.


# geopg start -e global srdfpg

The protection group, srdfpg, is activated on both clusters where the protection group is configured.



Example 2–17 Activating an EMC Symmetrix Remote Data Facility Protection Group Locally

This example activates a protection group on a local cluster only. This local cluster might be a primary cluster or a secondary cluster, depending on the role of the cluster.


# geopg start -e local srdfpg