3.5.1 Matrix Server Administration Guide

Chapter 8: Configure MxFS-Linux 150
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
Monitors can optionally be configured with scripts that are run at various
points during matrix operation. The script types are as follows:
Recovery script. Runs after a monitor probe failure is detected, in an
attempt to restore the NFS service.
Start script. Runs as the NFS service is becoming active on a server.
Stop script. Runs as the NFS service is becoming inactive on a server.
When a monitor is instantiated, Matrix Server chooses the best node to
make the service active. The Start script is run on this node. The Stop
script is run on all other nodes configured for the monitor to ensure that
the service is not active on those nodes.
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.