Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.08 Administrator's Guide (October 2011)

This IP address is the relocatable IP address for the package. NFS clients that mount the
file systems in the package use this IP address to identify the server. You must configure
a name for this address in the DNS, NIS, or LDAP database, or in the /etc/hosts file.
b. Set the exported directory in nfs1.conf as follows:
For nfs1.conf generated on HP Serviceguard A.11.18:
XFS /cfs1
For nfs1.conf generated on HP Serviceguard A.11.19:
nfs/hanfs_export/XFS /cfs1
In nfs2.conf, set the exported directory to “/cfs2”.
c. By default the service_name is enabled and is set to nfs.monitor. If you want to monitor
NFS services by running the NFS monitor script, then change nfs.monitor to a unique
name for each package.
service_name nfs1.monitor
service_cmd "$SGCONF/scripts/nfs/nfs_upcc.mon"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 0
In nfs2.conf, set the service_name variable to nfs2.monitor. If you do not want to monitor
NFS services, comment out the service_name, service_cmd, service_restart,
service_fail_fast_enabled and service_halt_timeout variables.
d. To enable File Lock Migration, set the FILE_LOCK_MIGRATION variable to 1.
For nfs1.conf generated on HP Serviceguard A.11.18:
FILE_LOCK_MIGRATION 1
For nfs1.conf generated on HP Serviceguard A.11.19:
nfs/hanfs_export/FILE_LOCK_MIGRATION
e. The FLM_HOLDING_DIR variable defines the holding directory associated with the
package. Specify the FLM_HOLDING_DIR as below:
For nfs1.conf generated on HP Serviceguard A.11.18:
FLM_HOLDING_DIR "/cfs1/sm"
For nfs1.conf generated on HP Serviceguard A.11.19:
nfs/hanfs_flm/FLM_HOLDING_DIR "/cfs1/sm"
In nfs2.conf, set the variable to “/cfs2/sm.
f. Specify the package name:
package_name SG-NFS1
In nfs2.conf, set the package_name to SG-NFS2.
g. The package_type should be set to the default value (failover).
h. Set the node_name variables for each node that can run the package. The first node_name
must specify the primary node, followed by adoptive node(s) in the order in which they
will be tried.
node_name thyme
node_name basil
i. Set the dependency_name, dependency_condition, and dependency_location variables
so that the failover package runs only if the export package is already running.
dependency_name SG-CFS-MP-1-dep
dependency_condition SG-CFS-MP-1=up
dependency_location same_node
In nfs2.conf set these to:
58 Installing and Configuring Serviceguard NFS Modular Package