Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.03 Administrator's Guide

NOTE: Serviceguard A.11.18 introduces the concepts of modular packages which allows
packages to be created using building blocks that comprise only the functions that the package
needs. It also includes some changes to the variable names in the package control and
configuration files created with the cmmakepkg command. Creation of modular packages is not
supported in this version of Serviceguard NFS Toolkit, but will be supported in a future version.
The variable name changes in the package control and configuration files will be reflected in a
future version of this white paper.
Serviceguard NFS 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 should be done 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
Configuring Serviceguard NFS over CFS Packages 37