HP Serviceguard Linux NFS-Toolkit-A.03.03.00 User Guide (696981-001, June 2012)
# cmapplyconf -v -C ${SGCONF}/cluster.conf \ -P
${SGCONF}/NFS/pkg.conf
b. Use your prefered copy utility (for example, scp) to copy the package control, NFS toolkit
package, and monitor scripts to the same path names on all the nodes in the cluster. For
example, to copy the files from the host thyme to the host basil, run the following command
from host thyme:
# scp ${SGCONF}/cluster/NFS/* \root@basil:${SGCONF}/cluster/NFS
Configuring a modular NFS package
To configure a NFS package using the modular style of packaging:
1. Create a directory for the package on all the cluster nodes using the following command:
# mkdir ${SGCONF}/NFS
2. cd to the package directory.
3. Create a configuration file, nfs.conf using the following command:
# cmmakepkg -m tkit/nfs/nfs nfs.conf
4. Edit the following attributes manually in the package configuration file:
DescriptionAttributes
The package name must be unique in the cluster.package_name
The package must be a failover package.package_type
The name of the cluster nodes on which the package
runs.
node_name
The package log file path where the package log is
stored.
script_log_file
This directory holds the toolkit configuration file. This
parameter directs cmapplyconf to generate the
TKIT_DIR
hanfs.conf file under this directory. This is
synonymous with the package directory acronym. To
set the toolkit in the maintenance mode, create the
nfs.debug file under this directory.
This is used to set the HP Serviceguard Toolkit for NFS
on Linux to the maintenance mode. If this parameter is
MAINTENANCE_FLAG
set to yes, then this enables maintenance feature in the
toolkit. HP Serviceguard Toolkit for NFS on Linux
searches for the nfs.debug file in the toolkit directory.
If the file exists and if the maintenance feature is
enabled, then the NFS daemons monitoring is paused.
The NFS daemons might be brought down for
maintenance, and package does not fail over to the
adoptive node.
After the maintenance work, ensure that the NFS
daemons are brought up. Then, delete the nfs.debug
file in the toolkit directory.
This enables the toolkit to continue monitoring the NFS
daemons.
NOTE: If the MAINTENANCE_FLAG is set to no, then
this feature is not available and the toolkit cannot be
brought into the maintenance mode.
The time, in seconds, the monitoring script waits between
checks to ensure that NFS server is running. The default
value is 30 seconds.
MONITOR_INTERVAL
14 Using HP Serviceguard toolkit for NFS