Managing Serviceguard NFS for Linux, March 2009

Table of Contents
1 Serviceguard NFS for LINUX Introduction...................................................................7
Overview of Serviceguard NFS..............................................................................................................7
Limitations of Serviceguard NFS............................................................................................................7
Overview of the NFS File Lock Migration Feature................................................................................8
Limitations of the NFS File Lock Migration Feature..............................................................................8
Supported Configurations......................................................................................................................9
Failover to an Idle Node....................................................................................................................9
Failover between Active Nodes.......................................................................................................10
Failover with an Adoptive Node for Multiple Packages.................................................................11
Cascading Failover with Multiple Adoptive Nodes.......................................................................12
Understanding the Serviceguard NFS Files.........................................................................................13
How the Control Scripts work in Legacy Packages..............................................................................14
Starting the NFS Services.................................................................................................................14
Starting File Lock Migration............................................................................................................15
Halting the NFS Services.................................................................................................................15
How the Master Control Script works in Modular Packages...............................................................15
Starting the NFS Services.................................................................................................................15
Starting File Lock Migration............................................................................................................16
Halting the NFS Services.................................................................................................................16
How the Monitor Script works.............................................................................................................16
Remote mount table synchronization...................................................................................................17
On the Client Side.................................................................................................................................17
2 Installing and Configuring Serviceguard NFS for Linux...........................................19
Installing Serviceguard NFS for Linux.................................................................................................19
Copying the Template Files..................................................................................................................21
Before Creating an Serviceguard NFS Package...............................................................................21
Configuring a Legacy Serviceguard NFS Package..........................................................................22
Editing the Package Configuration File (pkg.conf)......................................................................22
Editing the Package Control Scripts (pkg.cntl)...........................................................................23
Editing the NFS Configuration File (hanfs.conf).......................................................................24
Configuring Lock Migration Feature..............................................................................................25
Creating the Serviceguard Binary Configuration File.....................................................................27
Housekeeping Suggestions.............................................................................................................27
Configuring a Modular Serviceguard NFS Package............................................................................27
Editing the Package Configuration File (pkg.conf).........................................................................28
Creating the Serviceguard Binary Configuration File.....................................................................31
Housekeeping Suggestions.............................................................................................................31
3 Sample Configurations................................................................................................33
Configuring Multiple Nodes to Support Failover of Multiple Packages.............................................33
Cluster Configuration File for Three-Server Mutual Takeover.......................................................35
Sample Configuration for Legacy Packages..............................................................................36
Package Configuration File for pkg01..................................................................................36
Package Control Script for pkg01.........................................................................................36
NFS Toolkit Configuration File for pkg01............................................................................36
Package Configuration File for pkg02..................................................................................36
Package Control Script for pkg02.........................................................................................37
NFS Toolkit Configuration File for pkg02............................................................................37
Table of Contents 3