Managing Serviceguard NFS for Linux, July 2007
Installing and Configuring Serviceguard NFS for Linux
Installing Serviceguard NFS for Linux
Chapter 2 25
The files will be installed in the following directories: /usr/bin and
/usr/local/cmcluster/nfstoolkit for RedHat and
/opt/cmcluster/nfstoolkit for SLES. The following files are part
of the toolkit:
NOTE The following procedures assume your environment is RedHat. If
your environment is SLES, replace all occurrences of “/usr/local”
with “/opt”.
• /usr/local/cmcluster/nfstoolkit/README. Description of the
toolkit contents.
• /usr/local/cmcluster/nfstoolkit/hanfs.conf. The NFS
configuration file to set user configuration parameters.
• /usr/local/cmcluster/nfstoolkit/hanfs.sh. The NFS
control script template that starts and stops NFS daemons and
exports and unexports file systems.
• /usr/local/cmcluster/nfstoolkit/nfs.mon. The NFS
monitor script.
• /usr/local/cmcluster/nfstoolkit/nfs.flm. The NFS File
Lock Migration synchronization 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
/usr/local/cmcluster/nfstoolkit directory with the following
command:
# cd /usr/local/cmcluster/nfstoolkit
# cmmakepkg -p pkg.conf
# cmmakepkg -s pkg.cntl
4. Create a directory for your package files, for example:
# mkdir /usr/local/cmcluster/<pkg_name>