Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.05 Administrator's Guide HP-UX 11i v1, v2, and v3
Table Of Contents
- Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.05 Administrator's Guide
- Table of Contents
- 1 Overview of Serviceguard NFS
- Limitations of Serviceguard NFS
- Overview of Serviceguard NFS Toolkit A.11.31.05 with Serviceguard A.11.18 (or later) and Veritas Cluster File System Support
- Overview of the Serviceguard NFS Modular Package
- Overview of the NFS File Lock Migration Feature
- Overview of NFSv4 File Lock Migration Feature
- Overview of Serviceguard NFS with Serviceguard A.11.17 Support
- Integrating Support for Cluster File Systems into Serviceguard NFS Toolkit
- Overview of Cluster File Systems in Serviceguard NFS Toolkit
- Limitations and Issues with the current CFS implementation
- Supported Configurations
- How the Control and Monitor Scripts Work
- 2 Installing and Configuring Serviceguard NFS Legacy Package
- Installing Serviceguard NFS Legacy Package
- Before Creating a Serviceguard NFS Legacy Package
- Configuring a Serviceguard NFS Legacy Package
- Copying the Template Files
- Editing the Control Script (nfs.cntl)
- Editing the NFS Control Script (hanfs.sh)
- Editing the File Lock Migration Script (nfs.flm)
- Editing the NFS Monitor Script (nfs.mon)
- Editing the Package Configuration File (nfs.conf)
- Configuring Server-to-Server Cross-Mounts (Optional)
- Creating the Cluster Configuration File and Bringing Up the Cluster
- Configuring Serviceguard NFS Legacy Package over CFS Packages
- 3 Installing and Configuring Serviceguard NFS Modular Package
- Installing Serviceguard NFS Modular Package
- Before Creating a Serviceguard NFS Modular Package
- Configuring a Serviceguard NFS Modular Package
- Configuring Serviceguard NFS Modular Package over CFS Packages
- 4 Migration of Serviceguard NFS Legacy Package to Serviceguard NFS Modular Package
- 5 Sample Configurations for Legacy Package
- Example One - Three-Server Mutual Takeover
- Example Two - One Adoptive Node for Two Packages with File Lock Migration
- Cluster Configuration File for Adoptive Node for Two Packages with File Lock Migration
- Package Configuration File for pkg01
- NFS Control Scripts for pkg01
- NFS File Lock Migration and Monitor Scripts for pkg01
- Package Configuration File for pkg02
- NFS Control Scripts for pkg02
- NFS File Lock Migration and Monitor Scripts for pkg02
- Example Three - Three-Server Cascading Failover
- Example Four - Two Servers with NFS Cross-Mounts
- 6 Sample Configurations for Modular Package
- Index

2 Installing and Configuring Serviceguard NFS Legacy
Package
This chapter explains how to configure Serviceguard NFS legacy package. You must set up your
Serviceguard cluster before you can configure legacy package. For instructions on setting up an
Serviceguard cluster, see the Managing Serviceguard manual.
This chapter contains the following sections:
• “Installing Serviceguard NFS Legacy Package”
• “Before Creating a Serviceguard NFS Legacy Package”
• “Configuring a Serviceguard NFS Legacy Package”
Installing Serviceguard NFS Legacy Package
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 legacy 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 legacy package:
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:
Installing Serviceguard NFS Legacy Package 25