Managing Serviceguard NFS for Linux, March 2009
NOTE: In Red Hat, there are times when sending SIGKILL to the kernel ‘lockd’ thread
might not release all the file locks and cause the failure of the unmounting the filesystem.
To force unmount the filesystem, the machine has to be restarted. In such cases, it is
recommended to set SERVICE_FAIL_FAST_ENABLED to “YES” which reboots the
machine upon service failure. In SLES, the SM directory does not get consistently
updated with the client entries. This is due to client entry being made for the first time
only after the system has booted. After a fail back of the package, the NFS fails to create
SM directory entries. After a fail back, if the client attempts to reclaim his locks, fresh
entries for the clients will not be made in the /var/lib/nfs/sm directory of the server.
For SLES, it is mandatory to set SERVICE_FAIL_FAST_ENABLED to “YES”, so that the
server reboots in order to have lock migration feature work consistently. If you halt the
package manually on any node configured for an NFS package, you must reboot the
machine before the package is run again on the same node.
14. Set variables for monitoring subnets.
a. Set the monitored_subnet variables to the subnet that is monitored for the package.
For example: monitored_subnet 192.100.112.0
b. Set the monitored_subnet_access variable to full if the subnet is available on all
the nodes, else set it to partial. For example:
monitored_subnet_access full
or
monitored_subnet_access partial
Repeat the above variables as many times as needed to monitor multiple subnets.
15. Set variables for adding package IP.
a. Set ip_subnet to one of the valid subnets available on the node. For example:
ip_subnet 192.100.112.0
b. Set ip_subnet_node to the node names in which the above subnet is valid. Repeat
this variable as many times as needed to specify multiple nodes in same subnet. For
example: ip_subnet_node nodeA ip_subnet_node nodeB
c. Set ip_address to a valid package IP. The IP must belong to the subnet specified
above. For example: ip_address 192.100.112.1
NOTE: Specify multiple IP Addresses for a NFS package when lock migration is
disabled. Repeat the above variable as many times as required to specify multiple
package addresses.
The IP address you specify is the relocatable IP address for the package. NFS clients
that mount the file systems in the package will use this IP address to identify the server.
You should configure a name for this address in the DNS or NIS database, or in the
/etc/hosts file.
All the above variables, that is ip_subnet, ip_subnet_node and ip_address must
be repeated in case there is a need to specify another IP address for a package in different
nodes on a different subnet.
16. Create a separate vg variable for each volume group.
For example:
vg vg01
30 Installing and Configuring Serviceguard NFS for Linux