Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy for Linux B.01.00.00, July 2013

2 Configuring an application in a Metrocluster environment
Installing the necessary software
Before a Metrocluster can be configured, make sure the following software is installed on all nodes:
Serviceguard for Linux A.11.20.00 or later
HP 3PAR InForm OS CLI
Metrocluster with 3PAR Remote Copy for Linux
Creating the cluster
NOTE: The file /etc/cmcluster.conf contains the mappings that resolve symbolic references
to $SGCONF, $SGROOT, $SGLBIN, etc. used in the pathnames in the following subsections. If the
Serviceguard variables are not defined on your system, then include the file /etc/
cmcluster.conf in your login profile for the root user. For more information on these parameters,
see Understanding the Location of Serviceguard Files and Enabling Serviceguard Command Access
sections in Managing HP Serviceguard A.11.20.10 for Linux available at http://www.hp.com/
go/linux-serviceguard-docs.
Create the cluster or clusters according to the process described in the Managing HP Serviceguard
A.11.20.10 for Linux manual available at http://www.hp.com/go/linux-serviceguard-docs. In
the case of a Metrocluster, create a single Serviceguard cluster with components on multiple sites.
NOTE: Do not configure a 3PAR Remote Volume group volume, Primary or Secondary, as a
cluster lock disk. A cluster lock disk must always be writable. The volumes of a Remote Copy volume
group might not always be writable, therefore none of them can be used as a cluster lock disk. A
configuration with a cluster lock disk that is part of a remote copy volume group is not a supported
configuration.
Site Aware Failover Configuration
Serviceguard allows you to configure sites in a Metrocluster environment. The Serviceguard cluster
configuration file includes the attributes to define sites. Table 1 (page 8) lists the attributes. These
attributes enable the use of the site_preferred_manual or site_preferred package
failover policies 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
.......
8 Configuring an application in a Metrocluster environment