Managing MC/ServiceGuard NFS for Linux, December 2001

Sample Configurations
Configuring Multiple Adoptive Nodes for Cascading Failover
Chapter 354
Package Control Script for pkg01
This section shows the package control script (pkg1.cntl) for the
package pkg01 in this sample configuration. Only the user-configured
part of the script is shown; the executable part of the script and most of
the comments have been omitted.
PATH=/sbin:/usr/bin:/usr/sbin:/etc:/bin:usr/local/
cmcluster/bin
RAIDTAB="/usr/local/cmcluster/conf/raidtab.sg"
RAIDSTART="raidstart -c ${RAIDTAB}"
RAIDSTOP="raidstop -c ${RAIDTAB}"
VGCHANGE="vgchange -a y" # Default
VG[0]="nfsu01"
MD[0]="/dev/md0"
LV[0]=/dev/nfsu01/lvol1;
FS[0]=/hanfs/nfsu011;
FS_TYPE[0]="ext2";
FS_MOUNT_OPT[0]="-o rw"
# FS_UMOUNT_COUNT=""
# FS_MOUNT_RETRY_COUNT=""
IP[0]="192.100.112.243"
SUBNET[0]="192.100.112.0"
HA_NFS_SERVER="yes"
#SERVICE_NAME[0]=""
#SERVICE_CMD[0]=""
#SERVICE_RESTART[0]=""
NFS Control Script for pkg01
This section shows the NFS control script (hanfs.sh) for the package
pkg01 on this sample configuration on the the user-configured part of the
script is shown:
XFS[0]="-o rw *:/hanfs/nfsu011"
NFS_SERVICE_NAME[0]="nfs1.monitor"
NFS_SERVICE_CMD[0]="/usr/local/cmcluster/pkg1/nfs.mon"
NFS_SERVICE_RESTART[0]="-r 0"