HP Serviceguard Toolkit for NFS on Linux User Guide Version A.12.00.00

4 Using HP Serviceguard toolkit for NFS
After installing the HP Serviceguard Toolkit for NFS on Linux, you can use this toolkit to:
Deploy NFS as a toolkit package in a Serviceguard environment on Linux.
Manage the NFS toolkit packages.
Deploying NFS toolkit packages
You can deploy NFS toolkit packages by using only modular style of packaging.
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
For Metrocluster, use sg/all module along with DTS/DRS and NFS modules while creating
the package configuration file.
4. Edit the following attributes manually in the package configuration file. Table 3 (page 11)
lists all the attributes that you can manually edit in the package configuration file
Table 3 Modular NFS Package
DescriptionAttributes
This attribute refers to the package name in the cluster.
The package name must be unique in the cluster.
package_name
This attribute refers to the type of the package. The value
of this attribute must be "failover" package.
package_type
This attribute refers to the name of the cluster node on
which the package runs.
node_name
This attribute refers to the absolute package log file
name.
script_log_file
This attribute refers to the time in seconds the nfs
monitoring script waits between checks to ensure that
MONITOR_INTERVAL
the NFS server is running. The default value is 30
seconds.
This attribute refers to the volume group used by the
NFS export directory.
vg
This attribute refers to the logical volume on which the
file system is created. For example: /dev/vgdata/
lvol1.
fs_name
This attribute refers to the exported NFS directories. For
example: /ha_ext3
fs_directory
This attribute refers to the type of the file system. For
example: ext3
fs_type
The ip_adress attribute refers to the re-locatable IP
address for the NFS package. The ip_subnet attribute
ip_address and ip_subnet
refers to the subnet address of the re-locatable IP
provided.
Deploying NFS toolkit packages 11