Using High Availability Monitors (June 2003)

Monitoring Disk Resources
Creating Disk Monitoring Requests
Chapter 2 55
If one of the root volumes is unavailable, you are alerted and told which
one has failed (pv_pvlink/status). You are alerted if you lose a root
disk mirror. With the RETURN option, you are also notified when the
mirror is restored.
Excluding Volume Groups from being Monitored
This feature implements an optional config file to the HA Disk Monitor.
If the config file is not present when the HA Disk Monitor begins, the
HA Disk Monitor processes all volume groups found in /etc/lvmtab.
This is the default behavior.
If the HA Disk Monitor config file is present, the HA Disk Monitor reads
the config file. Any volume groups in the file that are found are
excluded (filtered out) from monitoring by the HA Disk Monitor. The
config file must be located in the directory /etc/opt/resmon/monitors
and be named diskmond.config. You must create this file in order to
enable the filtering-out. There is a sample config file supplied in
/etc/opt/resmon/monitors/diskmond.config.sample. The file and
format are also documented in the diskmond manpage.
The diskmond.config file contains:
exclude_vg=/dev/vgxx
where—
vgxx
is the volume group to be excluded.
Add one line for each volume group to exclude. Ownership on the config
file should be bin:bin. If the config file is present but empty, HA Disk
Monitor assumes the default behavior and monitors all the disks. If there
are typographical errors in it, HA Disk Monitor attempts to honor the
exclude_vg’s that it can find, if any.
/vg/vg00/lv/copies/lv01 when value is < 1 RETURN
Table 2-15 Root Volumes Monitoring Requests (Continued)
Resource
Monitoring Parameters
Notify Condition Option