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

disk. For more information configuring this maintenance mode feature, see “Configuring the
Maintenance Mode Feature for Recovery Groups in Continentalclusters” (page 63).
5. Use the cmcheckconf command to validate the package.
# cmcheckconf -P ccmonpkg.config
6. Copy the package configuration file ccmonpkg.config and 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.
7. Use the cmapplyconf command to add the package to the Serviceguard configuration.
# cmapplyconf -P ccmonpkg.config
The following sample package configuration file (comments have been left out) shows a typical
package configuration for a Continentalclusters monitor package:
PACKAGE_NAME ccmonpkg
PACKAGE_TYPE FAILOVER
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
NODE_NAME LAnode1
NODE_NAME LAnode2
AUTO_RUN YES
LOCAL_LAN_FAILOVER_ALLOWED YES
NODE_FAIL_FAST_ENABLED NO
RUN_SCRIPT /etc/cmcluster/ccmonpkg/ccmonpkg.cntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/ccmonpkg/ccmonpkg.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
SERVICE_NAME ccmonpkg.srv
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
CAUTION: Do not run a monitor package until the steps for “Checking and Applying the
Continentalclusters Configuration” (page 88) are completed.
Configuring the Maintenance Mode Feature for Recovery Groups in Continentalclusters
To configure the recovery group maintenance feature, you need to configure a file system on a
shared disk in all the clusters configured in the Continentalclusters. The shared disk must have a
minimum of 250MB disk space.
Specify the file system path using the CONTINENTAL_CLUSTER_STATE_DIR parameter in the
Continentalclusters configuration file. Create this directory and reserve it for Continentalclusters on
all nodes in the Continentalclusters. Configure the monitor package in the recovery clusters to
mount the file system from the shared disk.
Configuring Shared Disk for the Maintenance Feature
Identify a shared disk connected to all nodes at the recovery cluster where the monitor package
(ccmonpkg) will run.
Create a volume group with one volume on the shared disk and complete the following procedure:
1. Create the physical volume:
pvcreate -f /dev/rdsk/c0t10d0
2. Create volume group directory under the device special file namespace:
mkdir /dev/ccvg
3. Create the group special file using the available major number:
mknod /dev/ccvg/group c 64 0x060000
Building the Continentalclusters Configuration 63