White Paper

9
locking is required, follow the instructions in section “Serviceguard NFS Legacy Package
over CFS Packages with File Locking.
6.1 Serviceguard NFS Legacy Package 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 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 5 shows an example Serviceguard over CFS configuration with two servers, each
with an NFS failover package and a multi-node export package.
/cfs1
Load
Balancer
Load
Balancer
NFS
Client3
Figure 5. SG NFS over CFS without file locking
NFS
Client1
NFS
Client2
Cluster File System
/cfs2
Shared Storage
Serviceguard NFS servers
NFS Server2 - basil
Failover Package 2
NFS Server1 - thyme
Failover Package 1
/cfs1, /cfs2
NFS Export Multinode Package
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: