Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.03 Administrator's Guide
Configuring a Serviceguard NFS failover package....................................................................43
Starting a Serviceguard NFS failover package...........................................................................45
3 Sample Configurations................................................................................................47
Example One - Three-Server Mutual Takeover....................................................................................47
Cluster Configuration File for Three-Server Mutual Takeover.......................................................49
Package Configuration File for pkg01.............................................................................................50
NFS Control Scripts for pkg01.........................................................................................................50
The nfs.cntl Control Script.........................................................................................................50
The hanfs.sh Control Script........................................................................................................51
Package Configuration File for pkg02.............................................................................................51
NFS Control Scripts for pkg02.........................................................................................................51
The nfs.cntl Control Script.........................................................................................................51
The hanfs.sh Control Script........................................................................................................52
Package Configuration File for pkg03.............................................................................................52
NFS Control Scripts for pkg03.........................................................................................................52
The nfs.cntl Control Script.........................................................................................................52
The hanfs.sh Control Script........................................................................................................53
Example Two - One Adoptive Node for Two Packages with File Lock Migration..............................53
Cluster Configuration File for Adoptive Node for Two Packages with File Lock Migration.........54
Package Configuration File for pkg01.............................................................................................55
NFS Control Scripts for pkg01.........................................................................................................55
The nfs.cntl Control Script.........................................................................................................55
The hanfs.sh Control Script........................................................................................................56
NFS File Lock Migration and Monitor Scripts for pkg01................................................................56
The nfs.flm Script.......................................................................................................................56
The nfs.mon Script.....................................................................................................................56
Package Configuration File for pkg02.............................................................................................56
NFS Control Scripts for pkg02.........................................................................................................57
The nfs.cntl Control Script.........................................................................................................57
The hanfs.sh Control Script........................................................................................................57
NFS File Lock Migration and Monitor Scripts for pkg02................................................................58
The nfs.flm Script.......................................................................................................................58
The nfs.mon Script.....................................................................................................................58
Example Three - Three-Server Cascading Failover..............................................................................58
Cluster Configuration File for Three-Server Cascading Failover....................................................59
Package Configuration File for pkg01.............................................................................................60
NFS Control Scripts for pkg01.........................................................................................................61
The nfs.cntl Control Script.........................................................................................................61
The hanfs.sh Control Script........................................................................................................61
Package Configuration File for pkg02.............................................................................................61
NFS Control Scripts for pkg02.........................................................................................................62
The nfs.cntl Control Script.........................................................................................................62
The hanfs.sh Control Script........................................................................................................62
Example Four - Two Servers with NFS Cross-Mounts.........................................................................62
Cluster Configuration File for Two-Server NFS Cross-Mount........................................................64
Package Configuration File for pkg01.............................................................................................65
NFS Control Scripts for pkg01.........................................................................................................65
The nfs.cntl Control Script.........................................................................................................65
The hanfs.sh Control Script........................................................................................................66
Package Configuration File for pkg02.............................................................................................66
NFS Control Scripts for pkg02.........................................................................................................67
The nfs.cntl Control Script.........................................................................................................67
The hanfs.sh Control Script........................................................................................................68
4 Table of Contents