4.1.0 HP PolyServe Software command reference guide (T5392-96071, October 2010)

mx device add --type <type> --servers <server1>,<server2>,...
[arguments] <devicename>
--type specifies the type of device monitor to be created: CUSTOM, DISK,
GATEWAY, SHARED_FILESYSTEM, or NTSERVICE.
--servers specifies the server or servers that use the monitored device. The
<devicename> can include up to 32 characters.
The optional arguments are:
[--application <application>]
The application associated with this device monitor.
[--timeout <seconds>]
The maximum amount of time to wait for a probe of the device to complete. For
CUSTOM device monitors, the default is 60 seconds. For NTSERVICE device
monitors, the default is 15 seconds. For other device monitors, the default is five
seconds.
[--frequency <seconds>]
The interval at which the monitor probes the device. For GATEWAY device
monitors, the default is five seconds. For CUSTOM device monitors, the default
is 60 seconds. For other device monitors, the default is 30 seconds.
[--probeSeverity nofailover|autorecover|noautorecover]
The failover behavior for the monitor. nofailover prevents failover of virtual
hosts when the monitored device fails. autorecover fails over the virtual hosts,
and when the device is restored, fails the virtual hosts back to the original network
interfaces. noautorecover fails over the virtual hosts but does not fail them
back after the device is restored. The default is autorecover. These settings
work in combination with the virtual hosts failback policy.
[--parameters <parameters>]
The available parameters depend on the type of monitor.
DISK device monitor. The parameter is a partition on the disk. The monitor
will attempt to read the first block on this partition to determine whether the
disk is operating normally.
GATEWAY device monitor. The IP address of the gateway device (such as
a router). The IP address must be on a different subnet than the servers in the
matrix.
CUSTOM device monitor. The parameter is a probe script. The maximum
length of the pathname is 512 characters.
SHARED_FILESYSTEM device monitor. The first parameter is the device (for
example, psd1p6) containing the filesystem to be monitored. The second
HP PolyServe Software 4.1 command reference guide 81