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

Physical Data Replication for ContinentalClusters Using Continuous Access XP
Configuring Packages for Automatic Disaster Recovery
Chapter 6300
If you are using a fence level of ASYNC, then the
RUN_SCRIPT_TIMEOUT should be greater than the value of
HORCTIMEOUT in the package environment file (see step 7g below).
NOTE If you are using the EMS disk monitor as a package resource, you
must not use NO_TIMEOUT. Otherwise, package shutdown will hang if
there is not access from the host to the package disks.
This toolkit may increase package startup time by 5 minutes or
more. Packages with many disk devices will take longer to start up
than those with fewer devices due to the time needed to get device
status from the XP Series disk array. Clusters with multiple
packages that use devices on the XP Series disk array will all cause
package startup time to increase when more than one package is
starting at the same time.
4. Create a package control script with the command:
# cmmakepkg -s pkgname.cntl
Customize the control script as appropriate to your application using
the guidelines in Managing MC/ServiceGuard. Standard
MC/ServiceGuard package customizations include modifying the VG,
LV, FS, IP, SUBNET, SERVICE_NAME, SERVICE_CMD and
SERVICE_RESTART parameters. Be sure to set LV_UMOUNT_COUNT to 1
or greater.
5. Add customer-defined run and halt commands in the appropriate
places according to the needs of the application. See Managing
MC/ServiceGuard for more information on these functions.
6. Copy the environment file template
/opt/cmcluster/toolkit/XPCA/xpca.env to the package directory,
naming it pkgname_xpca.env:
# cp /opt/cmcluster/toolkit/SGCA/xpca.env \
/etc/cmcluster/pkgname/pkgname_xpca.env
7. Edit the environment file <pkgname>_xpca.env as follows:
a. If necessary, add the path where the RaidManager software
binaries have been installed to the PATH environment variable. If
the software is in the usual location, /usr/bin, you can just
uncomment the line in the script.