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

The source disk site is now ready for the Continentalclusters operation.
Setting up a Recovery Package on the Recovery Cluster
The installation of EMC SRDF, Serviceguard, and Continentalclusters software is exactly the same
as in the previous section.
The procedures below will install and configure a recovery package on the target disk site. Consult
the Managing Serviceguard user’s guide for instructions on setting up a Serviceguard cluster (that
is, LAN, VG, LV, and so on).
1. Split the EMC SRDF logical links for the disks associated with the application package. See
the script Samples/pre.cmquery for an example of how to automate this task. The script
must be edited to refer to the SRDF groups configured and customized with the Symmetrix
device group names.
2. Generate a cluster ASCII file.
# cmquerycl -n node1 -n node2 -C CClusterNY.ascii
Edit the file CClusterNY.ascii. Be sure to select a source disk site lock disk that is not a
lock disk on the target disk site. Edits include spreading HEARTBEAT_IP on all user LANs,
and setting MAX_PACKAGES.
3. Check the configuration.
# cmcheckconf -C CClusterNY.ascii
4. Create the cluster binary.
# cmapplyconf -C CClusterNY.ascii
5. Test the cluster.
# cmruncl -v
# cmviewcl -v
Does the cluster come up? If so, then stop the cluster:
# cmhaltcl -f
6. Copy the package files from the source disk site to a bkpkgXXX directory, and rename it to
<backup_pkg_name>.cntl and <backup_pkg_name>_srdf.env. Edit the recovery
package control file from the source disk site for the secondary cluster. Change the subnet,
relocatable IP, and nodes.
Be sure to set AUTO_RUN to NO in the package ASCII file.
7. Edit the recovery package environment file <bk_pkg_name>_srdf.env as follows:
a. Add the path for EMC Solutions Enabler software binaries.
b. Make sure that all AUTO* variables are uncommented.
c. Uncomment the PKGDIR variable and set it to the full path name of the directory where
the control script has been placed. This directory must be unique for each package and
is used for status data files. For example, set PKGDIR to /etc/cmcluster/
<backup_pkgname>.
d. Uncomment the DEVICE_GROUP variable and set them to the Symmetrix device group
names given in the symdg list command. The DEVICE_GROUP variable may also
contain the consistency group name if using a M by N configuration.
e. Uncomment the RETRY and RETRYTIME variables.
f. Make sure the CLUSTER_TYPE variable is set to “continental.
g. Uncomment the RDF_MODE and set it to “async” or “sync” as appropriate to your
application.
8. Edit the remaining application package control script variables in the package control script
(VG, LV, FS, IP, SUBNET, SERVICE_NAME, SERVICE_CMD and SERVICE_RESTART)
302 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF