HP Serviceguard Toolkit for NFS manual NFS File Lock Migration and Monitor Scripts for pkg01

Models: Serviceguard Toolkit for NFS

1 93
Download 93 pages 19.37 Kb
Page 70
Image 70

Sample Configurations

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

NFS File Lock Migration and Monitor Scripts for pkg01

The nfs.flm Script

This section shows the NFS File Lock Migration (nfs1.flm) script 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 comments are omitted.

NFS_FLM_HOLDING_DIR="/hanfs/nfsu011/sm"

PROPAGATE_INTERVAL=5

The nfs.mon Script

This section shows the NFS Monitor (nfs1.mon) script for the pkg01 package in this sample configuration. This example includes only the file lock migration related part of the script; the remaining script is omitted.

NFS_FILE_LOCK_MIGRATION=1

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

70

Chapter 3

Page 70
Image 70
HP Serviceguard Toolkit for NFS manual NFS File Lock Migration and Monitor Scripts for pkg01, Nfs.flm Script