HP Serviceguard Toolkit for NFS manual Hanfs.sh Control Script

Models: Serviceguard Toolkit for NFS

1 93
Download 93 pages 19.37 Kb
Page 69
Image 69

Sample Configurations

Example Two - One Adoptive Node for Two Packages with File Lock Migration

If you omit the cmmodpkg -dcommand from the NFS control script, host sage can adopt both pkg01 and pkg02 if their primary nodes fail.

The hanfs.sh Control Script

This section shows the NFS control script (hanfs1.sh) for the pkg01 package in this sample configuration. This example includes only the user-configured part of the script; the executable part of the script and most of the comments are omitted. This example enables the File Lock Migration feature.

XFS[0]=/hanfs/nfsu011

NFS_SERVICE_NAME[0]="nfs1.monitor"

NFS_SERVICE_CMD[0]="/etc/cmcluster/nfs/nfs1.mon"

NFS_FILE_LOCK_MIGRATION=1

NFS_FLM_SCRIPT="${0%/*}/nfs1.flm"

Chapter 3

69

Page 69
Image 69
HP Serviceguard Toolkit for NFS manual Hanfs.sh Control Script