Managing Serviceguard NFS for Linux, March 2009

NOTE: The following procedures assume your environment is Red Hat. If your environment
is SLES, replace all occurrences of "/usr/local" with /opt
The files will be installed in the following directories: /usr/bin and /usr/local/
cmcluster/conf/modules/tkit/nfs, /usr/local/cmcluster/conf/scripts/
tkit/nfs and /usr/local/cmcluster/nfstoolkit for Red Hat. The following files
are part of the toolkit:
/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 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/conf/modules/tkit/nfs/nfs.1.
The Attribute Definition File (ADF) to generate package configuration template in
Modular packages.
/usr/local/cmcluster/conf/modules/tkit/nfs/nfs.
Softlink to the ADF file above.
/usr/local/cmcluster/conf/scripts/tkit/nfs/tkit_module.sh.
Script which calls toolkit.sh to start and stop the NFS application in Modular packages.
/usr/local/cmcluster/conf/scripts/tkit/nfs/tkit_gen.sh.
Script which generates the toolkit configuration file in Modular packages.
/usr/local/cmcluster/conf/scripts/tkit/nfs/lock_migration.sh.
Script which starts the lock migration process in Modular packages.
/usr/local/cmcluster/nfstoolkit/nfs.flm.
The NFS File Lock Migration synchronization script
/usr/bin/sync_rmtab.
Remote mount table synchronization executable 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 in case of legacy packages. The command must be run in the /usr/local/
cmcluster/nfstoolkit directory with the following commands:
For Legacy packages:
# cd /usr/local/cmcluster/nfstoolkit
# cmmakepkg -p pkg.conf
# cmmakepkg -s pkg.cntl
For Modular packages:
# cd /usr/local/cmcluster/nfstoolkit
20 Installing and Configuring Serviceguard NFS for Linux