3.4.0 MxFS for CIFS Administration Guide

Chapter 3: Configure CIFS with Virtual CIFS Servers 30
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
Script Pathnames: The Virtual File Share monitor can optionally be
configured with the following types of scripts:
Recovery script. Runs after a monitor probe failure is detected, in an
attempt to restore access to the Virtual File Share.
Start script. Runs as the Virtual File Share is becoming active on a server.
Stop script. Runs as the Virtual File Share is becoming inactive on a
server.
When a monitor is instantiated, the ClusterPulse process chooses the best
node to make the service active. The Start script is run on this node. On all
other nodes configured for the monitor, the Stop script is run to ensure
that the service is not active.
Start scripts must be robust enough to run when the service is already
started, without considering this to be an error. Similarly, Stop scripts
must be robust enough to run when the service is already stopped,
without considering this to be an error. In both of these cases, the script
should exit with a zero exit status.