Managing Serviceguard A.11.20, March 2013

[-t, --poll-interval <seconds>
<volume_path> [<volume_path> ...]
A brief description of each parameter follows:
-h or --help
Displays the usage, as listed above, and exits.
NOTE: Do not include the help or version parameters in your service command; this will result
in immediate package failure at runtime.
-v or --version
Displays the monitor version and exits.
-O or --log-file
Specifies a file for logging (log messages are printed to the console by default).
-D or --log-level
Specifies the log level. The level of detail logged is directly proportional to the numerical value of
the log level. That is, a log level of 7 will provide the greatest amount of log information. The
default log level is 0.
-t or --poll-interval
Specifies the interval between volume probes. You can specify a polling interval of as little as 1
(one second), but bear in mind that a short polling interval (less than 10 seconds) may impair
system performance if you are monitoring a large number of volumes. HP recommends a polling
interval of at least 10 seconds if 50 or more volumes are being monitored by a single service
command. The default polling interval is 60 seconds. In the event of a failed read attempt on a
storage volume, the monitor service will terminate after a single poll interval. If a read attempt
never completes, the monitor service will terminate after six such consecutive read attempts (a
duration of up to six poll intervals).
volume_path
The full path to at least one VxVM volume or LVM logical volume device file for monitoring (required).
The pathname must identify a block device file.
Examples
/usr/sbin/cmvolmond -O /log/monlog.log -D 3 /dev/vx/dsk/cvm_dg0/lvol2
This command monitors a single VxVM volume, /dev/vx/dsk/cvm_dg0/lvol2, at log level
3, with a polling interval of 60 seconds, and prints all log messages to /log/monlog.log.
/usr/sbin/cmvolmond /dev/vg01/lvol1 /dev/vg01/lvol2
This command monitors two LVM logical volumes at the default log level of 0, with a polling interval
of 60 seconds, and prints all log messages to the console.
/usr/sbin/cmvolmond -t 10 /dev/vg00/lvol1
This command monitors the LVM root logical volume at log level 0, with a polling interval of 10
seconds, and prints all log messages to the console (package log).
Scope of Monitoring
The Volume Monitor detects the following failures:
Failure of the last link to a storage device or set of devices critical to volume operation
Failure of a storage device or set of devices critical to volume operation
An unexpected detachment, disablement, or deactivation of a volume
Package Configuration Planning 135