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

Building a Continental Cluster
Building the ContinentalClusters Configuration
Chapter 5 215
5. Use the cmapplyconf command to add the package to the
MC/ServiceGuard configuration:
# cmapplyconf -P ccmonpkg.config
6. Copy the package control script ccmonpkg.cntl to the monitor
package directory (default name /etc/cmcluster/ccmonpkg) on all the
other nodes in the cluster. Make sure this file is executable.
The following sample package configuration file (comments have been
left out) shows a typical package configuration for a ContinentalClusters
monitor package:
#PACKAGE_NAME ccmonpkg
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
NODE_NAME LAnode1
NODE_NAME LAnode2
RUN_SCRIPT /etc/cmcluster/ccmonpkg/ccmonpkg.c
ntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/ccmonpkg/ccmonpkg.c
ntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
SERVICE_NAME ccmonpkg.srv
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
AUTO_RUN YES
NET_SWITCHING_ENABLED YES
NODE_FAIL_FAST_ENABLED NO
WARNING Do not run a monitor package until you complete the steps for
Checking and Applying the ContinentalClusters Configuration
on page 237.
Editing the ContinentalClusters Configuration File
First, on one cluster, generate an ASCII configuration template file using
the cmqueryconcl command. The recommended name and location for
this file is /etc/cmcluster/cmconcl.config. (You can choose a
different name if you wish.) Example:
# cd /etc/cmcluster