Serviceguard NFS Toolkit A.11.11.06 and A.11.23.05 Administrator's Guide
Contents
3
1. Overview of Serviceguard NFS
Limitations of Serviceguard NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Overview of the NFS File Lock Migration Feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Overview of Serviceguard NFS with Serviceguard A.11.17 Support . . . . . . . . . . . . . . 13
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Supported Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Simple Failover to an Idle NFS Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Failover from One Active NFS Server to Another . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
A Host Configured as Adoptive Node for Multiple Packages . . . . . . . . . . . . . . . . . . . 18
Cascading Failover with Three Adoptive Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Server-to-Server Cross Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
How the Control and Monitor Scripts Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Starting the NFS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Starting File Lock Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Halting the NFS Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Monitoring the NFS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
On the Client Side . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2. Installing and Configuring Serviceguard NFS
Installing Serviceguard NFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Monitoring NFS/TCP Services with Serviceguard NFS Toolkit . . . . . . . . . . . . . . . . . . 31
Before Creating a Serviceguard NFS Package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Configuring a Serviceguard NFS Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Copying the Template Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Editing the Control Script (nfs.cntl) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Editing the NFS Control Script (hanfs.sh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Editing the File Lock Migration Script (nfs.flm). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Editing the NFS Monitor Script (nfs.mon) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Editing the Package Configuration File (nfs.conf) . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuring Server-to-Server Cross-Mounts (Optional) . . . . . . . . . . . . . . . . . . . . . . . 53
Creating the Cluster Configuration File and Bringing Up the Cluster. . . . . . . . . . . 56
3. Sample Configurations
Example One - Three-Server Mutual Takeover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Cluster Configuration File for Three-Server Mutual Takeover . . . . . . . . . . . . . . . . . 61
Package Configuration File for pkg01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
NFS Control Scripts for pkg01. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Package Configuration File for pkg02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
B5140-90030.book Page 3 Thursday, August 24, 2006 9:32 AM