HP Serviceguard Linux NFS-Toolkit-A.03.03.00 User Guide (696981-001, June 2012)
DescriptionAttributes
to /export/v4recovery, where /export/sm or
/export/v4recovery is a directory residing in a
disk volume associated with this NFS package.
NOTE: The status monitor directory is applicable for
NFSv3 and /var/lib/nfs/v4recovery is
applicable for NFSv4 protocol.
This variable indicates whether the file lock migration
script, nfs.flm must be monitored by the monitoring
script.
NFS_FLM_MONITOR
This variable specifies the time interval, in seconds, to
copy the file lock state (that is monitoring entries) files
into the holding directory.
PROPAGATE_INTERVAL
The number of attempts to restart the file lock migration
script, nfs.flm before exiting. Specify the value for
NFS_FLM_RESTART
this attribute if you have set the lock migration attribute
to yes.
The time interval, in seconds, after which the toolkit can
attempt to restart the NFS daemons. The checks are
RETRY_INTERVAL
made to identify whether the NFS server process is
working or not. The default value is 2.
The number of attempts to restart the NFS daemons to
verify whether the NFS server process is working or not.
The default value is 0.
RETRY_TIMES
5. Check the validity of the configuration using the cmcheckconf command:
# cmcheckconf -P nfs.conf
6. Add the package to the Serviceguard environment using the cmapplyconf command, if the
cmcheckconf command does not report any errors:
# cmapplyconf -P nfs.conf
7. Enable package switching for the NFS package using:
# cmmodpkg -e -n node1 -n node2 NFS_package
# cmmodpkg -e NFS_package
8. Start the package using:
# cmrunpkg NFS_package
Managing the NFS toolkit package
You can manage the NFS toolkit package by starting, stopping, running, maintaining, halting,
and deleting it.
Starting the package
The Serviceguard package manager invokes the NFS toolkit with start as an input parameter which
in turn does the following:
• Exports directory on the file system.
• Starts NFS server daemons.
• Starts NFS service processes (including nfs.mon).
• Starts NFS file lock migration process.
16 Using HP Serviceguard toolkit for NFS