Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

Table 17 Validating Metrocluster Package (continued)
the disk names in a persistent dsf
format.
NOTE: The checks and validations mentioned in “Validating Metrocluster Package” (page 189)
is not applicable for legacy packages. It is recommended that you add the location of the package
environment file available in the Metrocluster package directory to the list of files in /etc/
cmcluster/cmfiles2check.
Support for Easy Deployment Feature
Easy Cluster Creation
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.
The cmdeploycl command and options are described below:
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 Storage Preparation
Starting with Serviceguard version A.11.20 Patch PHSS_41628, the cmpreparestg command
can be used 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 will throw an error. Also if
the disks are not in PAIR state, then Metrocluster will throw an error indicating the same.
The cmpreparestg command and options is 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 a 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) man page. All restrictions imposed by
Serviceguard are applicable when using cmpreparestg in a Metrocluster. Furthermore, the
restrictions and prerequisite mentioned in this section 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. It provides a simple
way to quickly deploy Metrocluster modules in supported toolkit applications. For detailed
information about the Package Easy Deployment feature, see Using Easy Deployment in Serviceguard
and Metrocluster Environments available at http://www.hp.com/go/hpux-serviceguard-docs —>
HP Serviceguard.
The advantage offered by the Package Easy Deployment feature is that none of the Metrocluster
module parameters have to be entered by the user in the modular package configuration file. The
appropriate Metrocluster module along with proper values for its parameters is inserted into the
190 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP