Designing Disaster Tolerant High Availability Clusters, 10th Edition, March 2003 (B7660-90013)

Building a Metropolitan Cluster Using MetroCluster/SRDF
Configuring MC/ServiceGuard Packages for Automatic Disaster Recovery
Chapter 4 167
Configuring MC/ServiceGuard Packages for
Automatic Disaster Recovery
Before you can implement these procedures you must:
Configure your cluster hardware according to disaster tolerant
architecture guidelines outlined in Designing a Disaster Tolerant
Architecture for use with MetroCluster/SRDF on page 126.
Configure the MC/ServiceGuard cluster according to the procedures
outlined in Managing MC/ServiceGuard manual.
Create the SymCLI database, and build Symmetrix device groups,
consistency groups, and gatekeepers for each package. Export
exclusive volume groups for each package as described in Preparing
a Cluster for MetroCluster/SRDF on page 139. This must be done on
each node that will potentially run the package.
Install the MetroCluster with EMC SRDF product on all nodes
according to the instructions in the MetroCluster with EMC SRDF
Release Notes.
When you have completed these steps, packages will be able to
automatically fail over to an alternate node in another data center and
still have access to the data it needs to function.
This procedure must be repeated on all the cluster nodes for each
MC/ServiceGuard application package so the application can failover to
any of the nodes in the cluster. Customizations include setting
environment variables and supplying customer-defined run and halt
commands, as appropriate. The package control script must also be
customized for the particular application software that it will control.
Consult Managing MC/ServiceGuard for more detailed instructions on
how to start, halt, and move packages and their services between nodes
in a cluster.
For ease of troubleshooting, you may want to configure and test one
package at a time.
1. Create a directory /etc/cmcluster/pkgname for each package:
# mkdir /etc/cmcluster/pkgname
2. Create a package configuration file with the commands: