Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.03 Administrator's Guide

2 Installing and Configuring Serviceguard NFS
This chapter explains how to configure Serviceguard NFS. You must set up your Serviceguard
cluster before you can configure Serviceguard NFS. For instructions on setting up an Serviceguard
cluster, see the Managing Serviceguard manual.
This chapter contains the following sections:
“Installing Serviceguard NFS”
“Monitoring NFS/TCP Services with Serviceguard NFS Toolkit”
“Before Creating a Serviceguard NFS Package”
“Configuring a Serviceguard NFS Package”
“Configuring a Serviceguard NFS Package”
Installing Serviceguard NFS
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.
Use the HP-UX Software Distributor (SD) to install the Serviceguard NFS file set. The following
command starts the SD swinstall utility:
/usr/sbin/swinstall
The Software Distributor is documented in Managing HP-UX Software with SD-UX.
The files are installed in the /opt/cmcluster/nfs directory.
The following files are part of the toolkit:
README Description of the toolkit contents
hanfs.sh The NFS specific control script
nfs.mon The monitor script
nfs_xmnt A script for handling cross-mounted NFS server packages
nfs.flm The file lock migration script (available with 11i v1 and 11i v2)
NOTE: If the Serviceguard NFS package has previously been installed, the files are in /opt/
cmcluster/nfs. Use swremove to remove these files before installing the latest version of
Serviceguard NFS.
To run the toolkit, you need the following files, which are part of Serviceguard:
nfs.cntl The control script that runs and halts the package
nfs.conf The package configuration file
You can create these two files by running the cmmakepkg command. Perform the following steps
to set up the directory for configuring Serviceguard NFS:
NOTE: You may want to save any existing Serviceguard NFS configuration files before executing
these steps.
1. Run the following command to create the package configuration template file:
cmmakepkg -p /opt/cmcluster/nfs/nfs.conf
2. Run the following command to create the package control template file:
Installing Serviceguard NFS 23