Managing MC/ServiceGuard NFS for Linux, December 2002
Installing and Configuring MC/ServiceGuard NFS for Linux
Installing MC/ServiceGuard NFS for Linux
Chapter 222
Installing MC/ServiceGuard NFS for Linux
1. Check for and remove any previous version of MC/ServiceGuard NFS
for Linux:
Query the rpm database for the NFS Toolkit:
# rpm -qa |grep nfstoolkit
If any part of the NFS Toolkit is installed, the grep returns the
version number.
Erase older versions of the NFS Toolkit, if needed:
# rpm -e nfstoolkit<releaseversion>
2. Use the Redhat Package Management rpm command to install the
MC/ServiceGuard NFS file set. Change to your RPM file directory,
then issue the following commands :
# rpm -i nfstoolkit-A.01.01-0.product.redhat.i386.rpm
The files will be installed in the
/usr/local/cmcluster/nfstoolkit and /usr/lib directories. The
following files are part of the toolkit:
• /usr/local/cmcluster/nfstoolkit/README. Description of the
tool kit contents.
• /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/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: