Managing Serviceguard NFS for Linux, July 2007

Sample Configurations
Configuring One Adoptive Node for an NFS package with File Lock Migration
Chapter 3 71
Package Configuration File for pkg01
This section shows an example of the package configuration file
(pkg1.conf) for the package pkg01 in this sample configuration. The
comments are not shown.
PACKAGE_NAME pkg01
PACKAGE_TYPE FAILOVER
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
NODE_NAME thyme
NODE_NAME sage
AUTO_RUN YES
NODE_FAIL_FAST_ENABLED NO
RUN_SCRIPT /usr/local/cmcluster/pkg1/pkg1.cntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /usr/local/cmcluster/pgk1/pkg1.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
SERVICE_NAME nfs1.monitor
SERVICE_FAIL_FAST_ENABLED YES
SERVICE_HALT_TIMEOUT 300
SUBNET 192.100.112.0
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/bi
n
VGCHANGE="vgchange -a y" # Default
VG[0]="nfsu01"
LV[0]=/dev/nfsu01/lvol1;
FS[0]=/hanfs/nfsu011;