Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

SITE san_jose
NODE_NAME SJC_2
SITE san_jose
Use the cmviewcl command to view the list of sites that are configured in the cluster and their
associated nodes. Following is a sample of the command, and the output:
# cmviewcl -l node
SITE_NAME san_francisco
NODE STATUS STATE
SFO_1 up running
SFO_2 up running
.........
SITE_NAME san_jose
NODE STATUS STATE
SJC_1 up running
SJC_2 up running
You can configure either of these failover policies for both, the regular Metrocluster failover packages
and Site Controller packages. To use these policies, you must specify site_preferred or
site_preferred_manual for the failover_policy attribute in the Metrocluster package
configuration file.
NOTE: For a Metrocluster package, set the failover_policy parameter to site_preferred.
Easy deployment of Metrocluster
Starting with Serviceguard version A.11.20 Patch PHSS_41628, you can use the cmdeploycl
command to create a Metrocluster configured with sites. When you run the cmdeploycl command
to create a cluster on nodes where Metrocluster is installed, the system throws a warning in case
a quorum server is not specified in its list of arguments. The cmdeploycl command and options
are described below:
cmdeploycl [-t] [-s site ]... [-n node]... [-N net_template ] [-c
clustername] [-q qs_host [qs_ip] [-cfs]
For example, to create a two site cluster with nodes n1, n2, n3,and n4, run the following command:
# cmdeploycl -s siteA -n n1 -n n2 -s siteB -n n3 -n n4 -q qs.quorum.com
Configuring volume groups
Creating volume groups
The following procedures ensures the volume groups being created for a cluster and device groups,
as shown in Figure 4.
Steps on node1:
1. Create the physical volumes.
# pvcreate -f /dev/rdsk/c6t0d0
# pvcreate -f /dev/rdsk/c6t0d1
# pvcreate -f /dev/rdsk/c5t0d2
# pvcreate -f /dev/rdsk/c5t0d3
2. Create the directories and special files for the volume groups.
# mkdir /dev/vgoraA
# mkdir /dev/vgoraB
# mknod /dev/vgoraA/group c 64 0x010000
# mknod /dev/vgoraB/group c 64 0x020000
Configuring volume groups 27