Managing Serviceguard NFS for Linux, March 2009
NOTE: Repeat the configuration process for each NFS package
Editing the Package Configuration File (pkg.conf)
The following steps describe the required modifications to the Package Configuration file. Make
one Package Configuration file for each package.
1. Except for the variables listed below, use the default values for the variables in the package
configuration file, or change them as needed.
For instructions on modifying the default values, see the Managing HP Serviceguard Linux
manual, or read the comments in the package configuration file.
2. Set the package_name variable. For example:
Package_name pkg01
Each package must have a unique name.
3. Create a node_name variable for each node that will run the package. The first node_name
should specify the primary node. All the node_name variables following the primary node
should specify the adoptive nodes, in the order in which they will be tried. For example:
NODE_NAME thyme
NODE_NAME basil
NODE_NAME sage
4. Set the script_log_file variable. For example:
script_log_file /usr/local/cmcluster/<pkg_dir>/log
5. Set the TKIT_DIR variable as the path of <package_directory>. For Example
TKIT_DIR /usr/local/cmcluster/<pkg_dir>
6. Create a separate XFS[n] variable for each NFS directory to be exported. Specify the directory
name and any export options. For example:
XFS ”*:/ha_root”
XFS "*:/users/scaf"
XFS "-o ro *:/ha_data"
XFS "-o fsid=23,rw *:/pkg03"
Do not configure these exported directories in the /etc/exports file. When an NFS server
is started, it attempts to export all file systems in its /etc/exports file. If those file systems
are not currently present on the NFS server node, the node cannot boot properly. This
happens if the server is an adoptive node for a file system, and the file system is available
on the server only after failover of the primary node.
7. If you want to start and monitor rpc.quotad daemon, set QUOTA_MON to YES. For example:
QUOTA_MON YES
If you do not want to start and monitor rpc.quotad daemon, set QUOTA_MON to NO. For
example:
QUOTA_MON NO
8. LOCK_MIGRATION:
To enable File Lock Migration, set the LOCK_MIGRATION variable to “YES”. By default the
variable is set to “NO”.
For example: LOCK_MIGRATION YES
28 Installing and Configuring Serviceguard NFS for Linux