Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

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, HP recommends that you set the failover_policy
parameter to site_preferred.
Easy deployment of Metrocluster
Starting with Serviceguard version A.11.20 Patch PHSS_41628, the cmdeploycl command can
be used to create a Metrocluster with sites configured in Serviceguard cluster configuration.
Additionally, cmdeploycl throws a warning in case a quorum server is not specified in its list of
arguments when it is executed to create a cluster on nodes where Metrocluster is installed.
cmdeploycl [-t] [-s site ]... [-n node ]... [-N net_template ] [-c
clustername][-q qs_host [qs_ip] | -L locklun] [-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
Easy deployment of storage
Starting with Serviceguard version A.11.20 Patch PHSS_41628, you can use the cmpreparestg
command to create LVM volume groups and VxVM/CVM diskgroups with logical volumes,
filesystem, and mount points in a Metrocluster environment. If the command is run from the nodes
where the replicated disks are in destination mode, then Metrocluster throws an error. Also, if the
disks are not in PAIR state, then Metrocluster thorws an error indicating the same.
The cmpreparestg command and options are described below:
cmpreparestg {-l vgname | -g dgname} [{-p pv_path... |-P pvs_file}] {-L
[lvname] |-c lv_counts} [-m mountpoint] [-o " option string " ... ] [-n
node_name]... [-t]
For example, to create an LVM volume group with name newvg and logical volume with name
newlv in the cluster, run the following command:>
# cmpreparestg -l newvg -p /dev/disk/disk12 -L newlv -o lv_opts="-l 64"
For further information, see the cmpreparestg(1m) manpage. All restrictions imposed by
Serviceguard are applicable when using cmpreparestg in a Metrocluster. The restrictions and
prerequisite mentioned in the section “Easy deployment of Metrocluster modular packages” (page
12) apply to cmpreparestg as well.
Easy deployment of Metrocluster modular packages
Starting with Serviceguard version A.11.20, the Package Easy Deployment feature is introduced.
This feature is available from the Serviceguard Managed version B.03.10 or later. It provides a
12 Configuring an application in a Metrocluster environment