Configuring a Serviceguard NFS export package
There should only be one NFS export
Note: All steps in this section must be completed on a single server.
1. Create the
#cd /etc/cmcluster/nfs_modular
#cmmakepkg
This command creates the package configuration file by including the parameters from the modules all and hanfs,
where,
all | refers to a set of standard Serviceguard modules |
hanfs | refers to the |
2. Edit the
a) Specify each NFS directory to be exported.
In this example, these are the same as the CFS file systems that are mounted (you could have CFS file systems mounted and not export them, or export only a subdirectory of a mounted file system).
b)Add an XFS variable for each NFS directory to be exported. Specify the directory name and any export options. These directories must not be included in the /etc/exports file.
For
XFS | “/cfs1” |
XFS | “/cfs2” |
For
nfs/hanfs_export/XFS“/cfs1”
nfs/hanfs_export/XFS“/cfs2”
c)Set the package_name variable to
package_nameSG-NFS-XP-1
d)Add node_name variables for each server in the cluster that will run the export package (the order of the servers does not matter):
node_name thyme
node_namebasil
21