Managing ServiceGuard NFS for Linux, June 2003

Installing and Configuring ServiceGuard NFS for Linux
Installing ServiceGuard NFS for Linux
Chapter 2 23
/usr/local/cmcluster/nfstoolkit/nfs.mon. The NFS
monitor script.
/usr/bin/sync_rmtab. Remote mount table synchronization
binary code.
/usr/local/cmcluster/nfstoolkit/toolkit.sh. The
interface script between the package control script and hanfs.sh.
3. Run cmmakepkg command to generate a package configuration file
and package control script template to the
/opt/cmcluster/cmcluster/nfstoolkit directory with the
following command:
# cd /opt/cmcluster/cmcluster/nfstoolkit
# cmmakepkg -p pkg.conf
# cmmakepkg -s pkg.cntl
4. Create a directory for your package files, for example:
# mkdir /opt/cmcluster/cmcluster/<pkg_name>
5. Issue the following command to copy the ServiceGuard NFS
template files to the newly created package directory:
# cp /usr/local/cmcluster/nfstoolkit/*
/usr/local/cmcluster/<pkg_name>
Copying the Template Files
If you will run only one ServiceGuard NFS package in your
ServiceGuard cluster, technically you do not have to copy the template
files. Though, it is recommended that you keep your template file in its
original form for future use. If you will run multiple ServiceGuard NFS
packages, each package must have its own package directory, package
configuration file and control scripts.
For each ServiceGuard NFS package you plan to run, make a copy of all
the package files including the package configuration file (pkg.conf),
package control script (pkg.cntl), toolkit interface script (toolkit.sh),
NFS Control Script (hanfs.sh), and NFS monitor script (nfs.mon). You
can rename the package control script with a package specific
identification, such as pkg1.conf and pkg1.cntl.