Managing MC/ServiceGuard NFS for Linux, December 2001

MC/ServiceGuard NFS for LINUX Introduction
How the Control and Monitor Scripts Work
Chapter 1 17
Halting the NFS Services
When called with the stop parameter, the control script does the
following:
Removes the package IP address from the LAN card on the current
node.
The package control script invoke the NFS script to halt the NFS
related process.
The NFS script un-exports all file systems associated with the
package so that they can no longer be NFS-mounted by clients.
The NFS script halts the monitor process.
Unmounts each file system associated with the package.
Deactivates each volume group associated with the package.
Deactivates each MD device.
After this sequence, the NFS package is inactive on the current node and
may start up on an alternate node or be restarted later on the same node.
Monitoring the NFS Services
The monitor script nfs.mon, located in the file
/usr/local/cmcluster/nfstoolkit, works by periodically checking
the status of NFS services using the rpcinfo command. If any service
fails to respond, the script exits, causing a switch to an adoptive node.
The monitor script monitors NFS services including:
portmap
rpc.statd
nfsd
rpc.mounted
rpc.rquotad
lockd
If any of the services are dead or hangs, the nfs.mon. will cause the
package to fail.