HP Serviceguard Toolkit for NFS Version A.03.03.01 on Linux User Guide (December, 2012)
• 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
Online modification of the package
In addition to the online modification feature supported by Serviceguard, the online modification
feature allows you to modify some of the toolkit attribute values, while the toolkit package is running.
Table 3 (page 15) lists all the attributes that support online modifications for this toolkit package.
NOTE: Online modification of the package attributes is not supported for legacy style of
packaging.
18 Using HP Serviceguard toolkit for NFS