3.6.1 HP PolyServe Matrix Server Administration Guide (T5392-96018, August 2008)
Chapter 18: Configure Device Monitors 245
Custom Scripts
The Scripts tab lets you configure custom Recovery, Start, and Stop scripts
for a device monitor.
Device 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 device.
Start script. Runs as a device is becoming active on a server.
Stop script. Runs as a device is becoming inactive on a server.
When a monitor is instantiated for a device (because the ClusterPulse
process is starting or the configuration has changed), Matrix Server
chooses the best server to make the device active. The Start script is run
on this server. The Stop script is run on all other servers configured for
the monitor to ensure that the device is not active on those servers.
Start scripts must be robust enough to run when the device is already
started, without considering this to be an error. Similarly, Stop scripts