Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA A.05.01

# cmquerycl -v -C /etc/cmcluster/ <cluster.config> -n <node1> -n <node2>
For example, for cmapplyconf
# cmapplyconf -v -C /etc/cmcluster/ <cluster.config>
NOTE: You must not configure a HP P6000/EVA Continuous Access Vdisk belonging to a DR
Group as a cluster lock disk. A cluster lock disk must always be writable. Since it cannot be
guaranteed that either half of a paired volume is always writable, neither half may be used as a
cluster lock disk. A configuration with a cluster lock disk that is part of a paired volume is not a
supported Configuration.
For more information, see Managing Serviceguard, Latest Edition available at http://www.hp.com/
go/hpux-serviceguard-docs —>HP Serviceguard.
Site Aware Failover Configuration
Serviceguard cluster allows sites to be configured in a Metrocluster environment. The Serviceguard
cluster configuration file includes the following attributes shown in Table 1 (page 15) to define
sites. This enables to use the package failover policiessite_preferred_manual or
site_preferred for Metrocluster package.
Table 1 Site Aware Failover Configuration
DescriptionAttributes
To define a unique name for a site in the cluster.SITE_NAME
SITE keyword under the node's NODE_NAME definition.SITE
The following is a sample of the site definition in a Serviceguard cluster configuration file:
SITE_NAME san_francisco
SITE_NAME san_jose
NODE_NAME SFO_1
SITE san_francisco
.....
NODE_NAME SFO_2
SITE san_francisco
........
NODE_NAME SJC_1
SITE san_jose
.......
NODE_NAME SJC_2
SITE san_jose
........
Use cmviewcl command to view the list of sites that are configured in the cluster and their
associated nodes. The 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
Creating the cluster 15