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

http://docs.hp.com/en/ha.html#Serviceguard
Serviceguard A.11.17 is not available on HP-UX 11i v1 systems, so Serviceguard CFS support
is only applicable to HP-UX 11i v2.
Limitations
The following is a list of limitations when using Serviceguard NFS Toolkit A.11.23.05 with
Serviceguard A.11.17:
• Serviceguard A.11.17 introduces a new MULTI_NODE package type which is not supported
by Serviceguard NFS Toolkit. The only supported package type is FAILOVER.
• Serviceguard A.11.17 provides a new package configuration file template. The new package
configuration file template introduces the following dependency variables:
— DEPENDENCY_NAME
— DEPENDENCY_CONDITION
— DEPENDENCY_LOCATION
The above parameters are not supported in Serviceguard NFS Toolkit A.11.23.05. By default,
these variables are commented out in the nfs.conf file.
Integrating Support for Cluster File Systems into Serviceguard NFS Toolkit
In a non-CFS implementation, access to a specific file must go through a single NFS server which
can limit scalability and cause a performance bottleneck. With CFS, files and filesystems may be
accessed concurrently from multiple servers. By integrating CFS into a Serviceguard NFS
environment, files and filesystems can be accessed concurrently from multiple highly available
NFS servers to improve performance, scalability, and availability.
Initial Serviceguard NFS Toolkit support for CFS will be limited in scope, specifically for
applications that require file locking across NFS mounts during a failover. For applications that
do not require file locking during a failover, a DNS round-robin scheme or other load balancing
tools may be used to distribute the load evenly between the servers. Additional support will be
phased into future releases.
Overview of Cluster File Systems in Serviceguard NFS Toolkit
Current SG-NFS over VxFS Support
In a Serviceguard environment, a Serviceguard NFS over VxFS (failover) package is defined as
a collection of resources including relocatable IP addresses and logical volume groups (data
disks) associated with NFS services. If the server on which a package is running fails, then
Serviceguard will automatically start the NFS package on the adoptive node. The adoptive node
takes control of the IP addresses and disks and starts the NFS services.
CFS versus Non-CFS Implementation
Serviceguard A.11.18 (or later) supports CFS which provides data and lock coherency and allows
files and filesystems to be shared and accessed concurrently by multiple servers.
Figure 1–1 shows how files and filesystems are accessed differently in a non-CFS environment
versus a CFS environment. In a non-CFS environment, the highly available filesystems move
from one node to another when there is a failover. The solid lines show which primary node
provides access to which filesystem and the dotted lines show which adoptive node provides
access in the event of a failover. The volumes are exclusively activated only on the server that
currently runs the package, which prevents files and filesystems from being altered concurrently
by multiple nodes. The Serviceguard NFS package control scripts ensure that upon package
failure or shutdown the storage is made inaccessible on the node where the package failed or
was halted.
Integrating Support for Cluster File Systems into Serviceguard NFS Toolkit 13