Managing Serviceguard NFS for Linux, March 2009
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /usr/local/cmcluster/pkg03/pkg03.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
SERVICE_NAME nfs3.monitor
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
MONITORED SUBNET 192.100.112.0
MONITORED_SUBNET_ACCESS FULL
Package Control Script for pkg03
This section shows the NFS control script (pkg03.cntl) for the package pkg03 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
VGCHANGE="vgchange -a y" # Default
VG[0]="nfsu03"
LV[0]=/dev/nfsu03/lvol1;
FS[0]=/hanfs/nfsu031;
FS_TYPE[0]="ext3";
FS_MOUNT_OPT[0]="-o rw"
# FS_UMOUNT_COUNT=""
# FS_MOUNT_RETRY_COUNT=""
IP[0]="192.100.112.245"
SUBNET[0]="192.100.112.0"
HA_APP_SERVER="pre-IP"
SERVICE_NAME[0]="nfs3.monitor"
SERVICE_CMD[0]="/usr/local/cmcluster/pkg03/nfs.mon"
SERVICE_RESTART[0]="-r 0"
NFS Toolkit Configuration File for pkg03
This section shows the NFS Toolkit configuration file (hanfs.conf) for the package pkg03 on
this sample configuration:
XFS[0]="-o rw *:/hanfs/nfsu031"
QUOTA_MON=YES
LOCK_MIGRATION=NO
Sample Configuration for Modular Packages
Configuration files of three Modular packages are described in this section. These samples are
applicable to the Red Hat environment. For SLES user can replace all occurrences of “/usr/
local” with “/opt”.
Package Configuration File for pkg01
The following shows the package configuration file (pkg01.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 basil
node_name sage
auto_run yes
node_fail_fast_enabled no
script_log_file /usr/local/cmcluster/pkg01/log
TKIT_DIR /usr/local/cmcluster/pkg01
XFS[0] "-o rw *:/hanfs/nfsu011"
QUOTA_MON YES
LOCK_MIGRATION NO
monitored_subnet 192.100.112.0
38 Sample Configurations