HP Serviceguard Metrocluster with EMC SRDF for Linux B.01.00.00

# symgate -sid <Remote Symmetrix ID 1> -g <Device Group Name 1> associate
dev 002
# symgate -sid <Remote Symmetrix ID 2> -g <Device Group Name 2> associate
dev 00B
Creating the consistency groups
To configure consistency groups for using Metrocluster with EMC SRDF for Linux, first create device
groups and gatekeeper groups as described in “Configuring gatekeeper devices” (page 19).
The following examples are based on the configuration shown in Figure 4.
For each package, to create consistency groups:
1. On each node in the cluster, create an empty consistency group using the symcg command.
To create a consistency group using PowerPath on the R1 side, run the following command:
# symcg create <Consistency Group name> -ppath -type rdf1
Replace rdf1 with rdf2 in the command to create the consistency group on the R2 side.
To create a consistency group using RDF-ECA on the R1 side, run the following command:
# symcg create <Consistency Group Name> -rdf_consistency -type rdf1
Replace rdf1 with rdf2 in the command to create the consistency group on the R2 side.
Use the same name on all the nodes.
To use RDF-ECA, ensure that the RDF process daemon is running on any of the locally attached
hosts. For redundancy, it is recommended that you run multiple instances of the RDF daemon
on different hosts. For more information about configuring and using RDF-ECA, see the EMC
documentation website.
2. Add each device that is going to be used in the consistency group. Use the appropriate SID
numbers and device names for the data center that the node is a part of. For example, on
node1 and node2 in Data Center A.
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 1> add dev
00C
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 1> add dev
00D
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 2> add dev
010
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 2> add dev
011
And on node3 and node4 in Data Center B.
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 1> add dev
018
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 1> add dev
019
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 2> add dev
050
# symcg -cg <Consistency Group Name> -sid <Symmetrix ID 2> add dev
051
3. Enable the consistency group.
# symcg -g <Consistency Group Name> enable
20 Configuring an application in a Metrocluster solution