Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.08 Administrator's Guide (October 2011)
Figure 13 Server-to-Server Cross-Mounting
The advantage of server-to-server cross-mounting is that every server has an identical view of the
file systems. The disadvantage is that, on the node where a file system is locally mounted, the file
system is accessed through an NFS mount, which has poorer performance than a local mount.
In order to make a Serviceguard file system available to all servers, all servers must NFS-mount
the file system. By doing so, access to the file system is not interrupted when the package fails over
to an adoptive node. An adoptive node cannot access the file system through the local mount,
because it would have to unmount the NFS-mounted file system before it can mount it locally. Also,
unmount the NFS-mounted file system, it must kill all processes using the file system.
To set up an NFS package with file systems that are NFS-mounted by Serviceguard NFS servers,
complete the following steps:
1. Create a package specific directory at /etc/cmcluster/nfs/pkg1.
2. Make a copy of the /opt/cmcluster/nfs/nfs_xmnt script.
cd /etc/cmcluster/nfs/pkg1
cp /opt/cmcluster/nfs/nfs_xmnt nfs1_xmnt
3. In the copy of the nfs_xmnt script, create an SNFS[n] and CNFS[n] variable for each file
system in the package that will be NFS-mounted by servers. The SNFS[n] variable is the
server location of the file system, and the CNFS[n] variable is the client mount point of the
file system.
SNFS[0]="nfs1:/hanfs/nfsu011";CNFS[0]="/nfs/nfsu011"
Configuring a Serviceguard NFS Modular Package 51