HP Serviceguard Toolkit for NFS on Linux User Guide (May 2013)

Starts NFS service processes (including nfs.mon).
Starts NFS file lock migration process if the lock migration feature is enabled.
To start the package, use either of the following commands:
# cmrunpkg <package_name>
# cmrunpkg -n <nodename> <pkgname>
Stopping the package
The Serviceguard package manager invokes the NFS toolkit script with stop as an input paramenter.
This in turn does the following:
Unexports directory on the file system.
Stops NFS server daemons, if lock migration is enabled.
Stops NFS service processes (including nfs.mon).
Stops NFS file lock migration process.
To stop the package, run the following command:
# cmhaltpkg <package_name>
Maintaining the package
Serviceguard normally monitors critical processes, but there might be situations when a planned
maintenance task (for example, changing the configuration) affects those monitored processes.
The maintenance flag can be used to signal to toolkit that it must not failover the instance to an
adoptive node in case of NFS daemon failure. However, Serviceguard still monitors other resources
used by the toolkit package. In case, any of the resources fails, Serviceguard fails over the toolkit
package to the adaptive node.
To set the package to the maintenance mode:
1. To enable the maintenance mode feature in the package configuration file, set the
MAINTENANCE_FLAG attribute to yes, and then apply the configuration file using the
cmapplyconf command.
2. To start the maintenance mode for the package, create nfs.debug file under TKIT_DIR:
# touch <<TKIT_DIR>>/nfs.debug
To bring back the package from the maintenance mode to the running state, remove the nfs.debug
file placed under TKIT_DIR, perform the following command:
# rm <<TKIT_DIR>>/nfs.debug
Cluster verification feature for NFS toolkit
Cluster verification is a proactive mechanism to identify cluster inconsistencies that adversely affect
toolkit package failover to an adoptive node.
Advantages of Cluster verification
The important advantages of cluster verification are:
To identify inconsistencies in Serviceguard and the NFS toolkit resources across package
nodes before you create and configure the NFS toolkit packages.
To automate the process of validating certain attribute values specified in the package
configuration file.
To achieve complete validation of cluster and application toolkit using single command
execution.
To build a steady cluster for high available solution.
18 Using HP Serviceguard toolkit for NFS