3.5.1 Matrix Server Administration Guide
Chapter 14: Configure Device Monitors 238
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
When you create a SHARED_FILESYSTEM device monitor, be sure to
configure the following advanced options:
• Virtual hosts. Select any virtual hosts that should fail over if the
monitor probe reports a
DOWN status for the filesystem.
• Servers. Select all servers that have mounted the filesystem and are
running the applications associated with the virtual hosts.
You might also want to create Start, Stop, or Recovery scripts to
customize the behavior of the monitor.
Disk Device Monitor
The DISK device monitor can be used to monitor a disk device. It
periodically attempts to read the first block of the specified disk partition
to determine whether the disk is operating normally.
Custom Device Monitor
A CUSTOM device monitor can be particularly useful when integrating
Matrix Server with a custom application. Custom monitors can be
configured to be either single-active or multi-active.
You must supply the probe script for the custom monitor. In the script,
probe commands should determine the health of the device as necessary.
If the device is operating normally, the probe script should exit with exit
status zero. If the device is not operating normally, the probe script
should exit with a non-zero exit status. Matrix Server will interpret the
non-zero exit status as a failure of the device, and take the appropriate
action.
See “Advanced Topics” on page 270 for information about developing
probe scripts for custom monitors and integrating monitors with custom
applications.
Device Monitors and Failover
When you create a device monitor, you specify a list of servers on which
the device monitor will operate. The servers are placed in order: primary,
backup #1, backup #2, and so on. ClusterPulse considers the status and