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

Figure 49 Bidirectional 2 by 2 Configuration
Configuring Serviceguard Legacy Packages for Automatic Disaster Recovery
Before implementing these procedures it is necessary to do the following:
Configure your cluster hardware according to disaster tolerant architecture guidelines. See
the Understanding and Designing Serviceguard Disaster Tolerant Architectures user’s guide.
Configure the Serviceguard cluster according to the procedures outlined in Managing
Serviceguard user’s guide.
Create the EMC Solutions Enabler database, and build Symmetrix device groups, consistency
groups, and gatekeepers for each package. Export exclusive volume groups for each package
as described in “Preparing the Cluster for Data Replication (page 257). This must be done on
each node that will potentially run the package.
Install the Metrocluster EMC SRDF product on all nodes according to the instructions in the
Metrocluster with EMC SRDF Release Notes.
When these steps have been completed, 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 Serviceguard application package
so the application can fail over 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 the Managing Serviceguard user’s guide for more detailed instructions on how to start,
halt, and move packages and their services between nodes in a cluster.
For ease of troubleshooting, it is recommended 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.
# cd /etc/cmcluster/pkgname
# cmmakepkg -p pkgname.ascii
272 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF