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

Create a directory on each server in the cluster to hold all of the configuration files (if this directory
already exists you should save the contents before continuing):
# mkdir /etc/cmcluster/nfs
The rest of the configuration is dependent upon whether or not the cluster requires file locking
(as described in the Limitations and Issues with the current CFS Implementation“Limitations
and Issues with the current CFS implementation” (page 15) section). If file locking is not required,
follow the instructions in the next section “Serviceguard NFS Legacy over CFS Packages without
File Locking” (page 38). If the locking is required, follow the instructions in the section
“Serviceguard NFS Legacy Package over CFS packages with File Locking” (page 43).
Serviceguard NFS Legacy over CFS Packages without File Locking
Each active server in the cluster needs to run an export multi-node package and an NFS failover
package. An export multi-node package is a package that runs on each server in the cluster and
exports all the cluster file systems. Each standby server (i.e. a server that is just an adoptive node
for NFS failover packages) needs to have an export multi-node package running to be able to
become active in the event of a failover.
Figure 2–2 shows an example Serviceguard over CFS configuration with two servers, each with
an NFS failover package and a multi-node export package.
Figure 2-2 Serviceguard over CFS without file locking
Configuring a Serviceguard NFS export package
There should only be one NFS export multi-node package per cluster. This package will run on
each server in the cluster.
NOTE: All steps in this section must be completed on a single server.
1. Create the nfs-export.conf and nfs-export.cntl files with the cmmakepkg command. Use the
-p option to create the nfs-export.conf file and the -s option to create the nfs-export.cntl
file.
# cd /etc/cmcluster/nfs
# cmmakepkg -p /etc/cmcluster/nfs/nfs-export.conf
# cmmakepkg -s /etc/cmcluster/nfs/nfs-export.cntl
2. Copy the hanfs.sh script
# cd /opt/cmcluster/nfs/hanfs.sh hanfs.export.sh
38 Installing and Configuring Serviceguard NFS Legacy Package