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

1 Overview of Serviceguard NFS
Serviceguard NFS is a tool kit that enables you to use Serviceguard to set up highly available
NFS servers.
You must set up a Serviceguard cluster before you can set up Highly Available NFS. For
instructions on setting up a Serviceguard cluster, see the Managing Serviceguard manual.
Serviceguard NFS is a separately purchased set of configuration files and control script, which
you customize for your specific needs. These files, once installed, are located in /opt/
cmcluster/nfs.
Serviceguard allows you to create high availability clusters of HP 9000 Series 800 computers on
HP-UX 11i v1 and HP-UX 11i v2 systems. On HP-UX 11i v3 systems, clusters may comprise of
both HP Integrity servers and HP 9000 Series 800 computers. A high availability computer system
allows applications to continue in spite of a hardware or software failure. Serviceguard systems
protect users from software failures as well as from failure of a system processing unit (SPU) or
local area network (LAN) component. In the event that one component fails, the redundant
component takes over, and Serviceguard coordinates the transfer between components.
An NFS server is a host that exports its local directories (makes them available for client hosts
to mount using NFS). On the NFS client, these mounted directories look to users like part of the
client's local file system.
With Serviceguard NFS, the NFS server package containing the exported file systems can move
to a different node in the cluster in the event of failure. After Serviceguard starts the NFS package
on the adoptive node, the NFS file systems are reexported from the adoptive node with minimum
disruption of service to users. The client side hangs until the NFS server package comes up on
the adoptive node. When the service returns, the user can continue access to the file. You do not
need to restart the client.
Serviceguard NFS Toolkit A.11.31.05 supports the modular package feature with Serviceguard
A.11.18 (or later) for both VxFS (non-CFS) and Veritas Cluster File System (CFS).
Limitations of Serviceguard NFS
The following limitations apply to Serviceguard NFS:
• Applications lose their file locks when an NFS server package moves to a new node.
Therefore, any application that uses file locking must reclaim its locks after an NFS server
package fails over.
An application that loses its file lock due to an NFS package failover does not receive any
notification. If the server is also an NFS client, it loses the NFS file locks obtained by client-side
processes.
NOTE: Beginning with Serviceguard NFS A.11.11.03 and A.11.23.02, you can address this
limitation by enabling the File Lock Migration feature (see “Overview of the NFS File Lock
Migration Feature” (page 11)).
For HP-UX 11i v2 and 11i v3, the feature functions properly without a patch.
• If a server is configured to use NFS over TCP and the client is the same machine as the server,
which results in a loopback NFS mount, the client may hang for about 5 minutes if the
package is moved to another node. The solution is to use NFS over UDP between
NFS-HA-server cross mounts.
• The /etc/rmtab file is not synchronized when an NFS package fails over to the standby
node. This is caused by the design of NFS, which does not keep track of the state of the
rmtab. The man page for rmtab contains a warning that it is not always totally accurate,
so it is also unreliable in a standard NFS server / NFS client environment.
Limitations of Serviceguard NFS 9