Sample Configurations

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

NFS File Lock Migration and Monitor Scripts for pkg02

The nfs.flm Script

This section shows the NFS File Lock Migration (nfs2.flm) script for the pkg02 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/nfsu021/sm"

PROPAGATE_INTERVAL=5

The nfs.mon Script

This section shows the NFS Monitor (nfs2.mon) script for the pkg02 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%/*}/nfs2.flm"

74

Chapter 3

Page 74
Image 74
HP Serviceguard Toolkit for NFS manual NFS File Lock Migration and Monitor Scripts for pkg02