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

• AutoFS mounts may fail when mounting file systems exported by an HA-NFS package soon
after that package has been restarted. To avoid these mount failures, AutoFS clients should
wait at least 60 seconds after an HA-NFS package has started before mounting file systems
exported from that package.
• The Serviceguard supports Cross Subnet Failover. However, HA-NFS has a few limitations
with Cross Subnet configurations. For Cross Subnet support details, refer “Managing
Serviceguard” documentation available at: http://www.docs.hp.com/en/B3936-90122/
ch02s02.html#babgighg
• When clusters comprising of both HP Integrity servers and HP 9000 Series 800 computers
are configured with Veritas Cluster File System (CFS) in HP-UX11i v3, NFS clients fail to
access the mounted Cluster File Systems after failover. In such mixed architecture clusters
over CFS, the same file handles are not allowed to be used in both servers of the failover
pair.
NOTE: This issue can be resolved by installing ONCPlus B.11.31.03 or above. See “Editing
the NFS Control Script”.
NOTE: You cannot use Serviceguard NFS for an NFS diskless cluster server.
Overview of Serviceguard NFS Toolkit A.11.31.05 with Serviceguard
A.11.18 (or later) and Veritas Cluster File System Support
The Serviceguard NFS Toolkit A.11.31.05 now supports Serviceguard A.11.18 (or later), which
is configured with Veritas Cluster File System (CFS). The Serviceguard CFS feature enables you
to create a file system that can be mounted by all nodes in a cluster environment. By configuring
Serviceguard NFS Toolkit to utilize CFS, simultaneous access to files and file systems is expanded
to multiple NFS servers. It provides performance improvement and cache coherency.
For detailed information on using the Serviceguard NFS Toolkit A.11.31.05 with Serviceguard
A.11.18 (or later) and CFS support, see Serviceguard NFS Toolkit Support for Cluster File System
at:http://docs.hp.com/en/ha.html#Highly%20Available%20NFS The Serviceguard NFS Toolkit
Support for Cluster File System must be considered as an addendum to this guide.
HP recommends that you use the Serviceguard CFS feature instead of setting up the
server-to-server cross-mounting configuration as show in “Example Four - Two Servers with
NFS Cross-Mounts” (page 86).
The toolkit provides support for the variable HA_NFS_SCRIPT_EXTENSION in the nfs.cntl
control script. This new variable can be used to modify the name of the NFS specific control shell
script, hanfs.sh, which is associated with a package. For example, if you set the
HA_NFS_SCRIPT_EXTENSION variable to hapkg or hapkg.sh, then the NFS specific control
script executed by the package corresponding to the nfs.cntl file is hanfs.hapkg.sh. The
default name of the shell script for the HA_NFS_SCRIPT_EXTENSION variable is hanfs.sh.
Overview of the Serviceguard NFS Modular Package
The Serviceguard NFS Modular package provides a new interface for configuring Serviceguard
NFS packages, where all package parameters are configured in one package configuration file.
Separate package control files (toolkit scripts) are not created and distributed. The modular
package layer is generally comprised of toolkit specific module ADF's (Attribute Definition File)
and module scripts. A modular package consists of a set of shell scripts which is used by the
Serviceguard Master Control Script to start, stop and monitor the application. On HP-UX, this
support is enabled on Serviceguard release A.11.18 (or later) for both VxFS (non-CFS) and Veritas
Cluster File System (CFS). For information on installing and configuring modular package, see
Installing and Configuring Serviceguard NFS Modular Package
10 Overview of Serviceguard NFS