Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.03 Administrator's Guide
NOTE: Serviceguard NFS Toolkit requires Serviceguard A.11.13 (or above). To enable the File
Lock Migration feature (available with 11i v1 and 11i v2), you need Serviceguard A.11.15 or
above.
To ensure that the File Lock Migration feature functions properly, install HP-UX 11i v1 NFS
General Release and Performance Patch, PHNE_26388 (or a superseding patch). For HP-UX 11i
v2, the feature functions properly without a patch.
There is an additional NFS specific control script, hanfs.sh, which is delivered along with the
Serviceguard NFS Toolkit product. All of the NFS specific functions and variables have been
extracted from the original Serviceguard package control script to this control script. You must
configure this control script, too.
For each Serviceguard NFS package, create a copy of the following scripts with a unique name.
For example:
cd /etc/cmcluster/nfs
cp nfs.conf nfs1.conf
cp nfs.conf nfs2.conf
cp nfs.cntl nfs1.cntl
cp nfs.cntl nfs2.cntl
cp hanfs.sh hanfs1.sh
cp hanfs.sh hanfs2.sh
cp nfs.flm nfs1.flm
cp nfs.flm nfs2.flm
NOTE: The nfs.flm script is available on 11i v1 and 11i v2.
Editing the Control Script (nfs.cntl)
The control script, nfs.cntl, is different as of the A.11.11.02 and A.11.00.05 releases. For
Serviceguard NFS Toolkit A.11.00.04 or lower for HP-UX 11.0 or Serviceguard NFS Toolkit
A.11.11.01 or lower for HP-UX 11i v1 using Serviceguard A.11.09 (or below) framework, see
“Editing nfs.cntl for NFS Toolkit A.11.00.04 and A.11.11.01 (or lower)” (page 28) to edit the
control script, nfs.cntl.
Editing nfs.cntl for NFS Toolkit A.11.00.05, A.11.11.02 (or above) and A.11.23.01 (or above)
Starting with Serviceguard A.11.13, a package can have LVM volume groups, CVM disk groups
and VxVM disk groups.
Example steps:
1. Create a separateVG[n] variable for each LVM volume group that is used by the package:
VG[0]=/dev/vg01 VG[1]=/dev/vg02 ...
2. Create a separate VXVM_DG[n] variable for each VxVM disk group that is used by the
package:
VXVM_DG[0]=dg01 VXVM_DG[1]=dg02 ...
3. Create a separate LV[n] and FS[n] variable for each volume group/disk group and file
system that will be mounted on the server:
For the LVM example, if this package uses the file systems pkg1a and pkg1b, which are
mounted on the logical volumes lvol1 and lvol2 with read and write options enter:
LV[0]=/dev/vg01/lvol1; FS[0]=/pkg1a; FS_MOUNT_OPT[0]="-o rw"
LV[1]=/dev/vg01/lvol2; FS[1]=/pkg1b; FS_MOUNT_OPT[1]="-o rw"
For the VxVM example, if this package uses the file systems pkg1a and pkg1b, which are
mounted on the volumes lvol1 and lvol2 with read and write options enter:
LV[0]="/dev/vx/dsk/dg01/vol01"; FS[0]="/pkg1a"; FS_MOUNT_OPT[0]="-o rw"
LV[1]="/dev/vx/dsk/dg01/vol02"; FS[1]="/pkg1b"; FS_MOUNT_OPT[1]="-o rw"
Configuring a Serviceguard NFS Package 27