Installing and Configuring Serviceguard NFS
Configuring a Serviceguard NFS Package
Editing the Package Configuration File (nfs.conf)
1.Set the PACKAGE_NAME variable.
PACKAGE_NAME pkg01
You can use the default package name if you will run only one Serviceguard NFS package on your Serviceguard cluster. Each package must have a unique name.
2.Create a NODE_NAME variable for each node that will run the package. The first NODE_NAME should specify the primary node. All the NODE_NAME variables following the primary node should specify the adoptive nodes, in the order in which they will be tried.
NODE_NAME thyme NODE_NAME basil NODE_NAME sage
3.Set the RUN_SCRIPT and HALT_SCRIPT variables to the full path name of the control script (/etc/cmcluster/nfs/nfs.cntl or whatever you have renamed it). You do not have to specify a timeout for either script.
RUN_SCRIPT /etc/cmcluster/nfs/nfs1.cntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/nfs/nfs1.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
4.If you want to run the NFS monitor script, set the SERVICE_NAME variable to indicate the NFS monitor script:
SERVICE_NAME nfs1.monitor
Each package must have a unique service name. The SERVICE_NAME variable in the package configuration file must match the NFS_SERVICE_NAME variable in the NFS control script.
If you do not want to run the NFS monitor script, comment out the
SERVICE_NAME variable:
# SERVICE_NAME nfs.monitor
5.Set the SUBNET variable to the subnet that will be monitored for the package.
SUBNET 15.13.112.0
46 | Chapter 2 |