| United States-English |
|
|
|
![]() |
Using High Availability Monitors > Chapter 2 Monitoring
Disk ResourcesHA Disk Monitor Reference |
|
The HA Disk Monitor reports information about the physical and logical volumes configured by LVM (Logical Volume Manager). Anything not configured through LVM cannot be monitored from the HA Disk Monitor. Monitored disk resources are:
Monitoring both the physical and logical volumes allows you to detect failures in volume groups (both active and inactive) and in logical volumes. With these warnings, you can correct hardware problems that put node, application, or data availability at risk. Figure 2-1 “Disk Monitor Resource Class Hierarchy” shows the class hierarchy for the HA Disk Monitor. Bold items are resource instances that can be monitored. Bold italic variables represent specific instances of volume groups, devices, and logical volumes on the system. The pv_summary is the summary status of all physical volumes in a volume group. This status is based on the compiled results of SCSI inquiries to all physical volumes in a volume group. If you have configured physical volumes as package dependencies in ServiceGuard, this resource is used to trigger package failover. Refer the manual Using the Event Monitoring Service (HP Part Number B7612-90015) for information on configuring ServiceGuard package dependencies. If you are using the disk monitor with ServiceGuard, it is important that you configure physical volume groups (PVGs) to give you the most accurate pv_summary for ServiceGuard package failover. Table 2-1 “Interpreting Physical Volume Summary” lists how conditions compare in logical operations. Specify the logical operation in the monitor request parameters portion of the monitor request. For example, to create a request that alerts you when the condition is SUSPECT or DOWN, specify greater than or equal to 3 (>=3). Table 2-1 Interpreting Physical Volume Summary
The pv_summary resource may not be available for a given volume group in the following cases:
Checks for the validity of pv_summary are logged with the name of the local node and the identifier diskmond to both /var/adm/syslog/syslog.log and /etc/opt/resmon/log/api.log. Requests to monitor physical volumes and physical volume links give you status of the individual physical volumes and PV links in a volume group. In the case of most RAID arrays, this means the HA Disk Monitor can talk to a physical link LUN (logical unit number) in the array. In the case of stand-alone disks, it means the HA Disk Monitor can talk to the disk itself. The pv_pvlink status is used to calculate pv_summary. Although it is somewhat redundant to use both, you might want to have more specific status sent by pv_summary, and only have status sent on pv_pvlinks if a device is DOWN. pv_pvlinks and pv_summary supplement lv_summary by giving status on the accessibility of volume groups (both active and inactive) and logical volumes. To pinpoint a failure of a particular disk, bus, or I/O card, you need to use the HA Disk Monitor alerts in conjunction with standard troubleshooting methods: reading log files and inspecting the actual devices. The HA Disk Monitor uses the data in /etc/lvmtab to see what is available for monitoring, and /etc/lvmtab does not distinguish between physical volumes and physical volume links, so you need to investigate to detect whether a disk, bus, or I/O card has failed. Table 2-2 “Interpreting Physical Volume and Physical Volume Link Status” lists how conditions compare in logical operations. You specify the logical operation in the monitor request parameters portion of the monitor request. For example, to create a request that alerts you when the condition is BUSY, you would specify greater than or equal to 2 (>=2). Table 2-2 Interpreting Physical Volume and Physical Volume Link Status
While configuring requests from the SAM interface, a wildcard (*) can be used in place of deviceName to monitor all physical volumes and physical volume links in a volume group. The logical volume summary describes how accessible the data is in all logical volumes in an active volume group. Sometimes the physical connection may be working, but the application cannot read or write data on the disk. The HA Disk Monitor determines I/O activity by querying LVM, and marks a logical volume as DOWN if a portion of its data is unavailable.
Table 2-3 “Interpreting Logical Volume Summary” lists how conditions compare in logical operations. You specify the logical operation in the monitor request parameters portion of the monitor request. For example, to create a request that alerts you when the condition is INACTIVE_DOWN, you would specify greater than or equal to 3 (>=3). Table 2-3 Interpreting Logical Volume Summary
Logical volume status gives you status on each logical volume in a volume group. While the lv_summary gives you information on whether data in a volume group is available, the lv/status/lvName gives you information on whether specific logical volumes have failed. Table 2-4 “Interpreting Logical Volume Status” lists how conditions compare in logical operations. You specify the logical operation in the monitor request parameters portion of the monitor request. For example, to create a request that alerts you when the condition is INACTIVE, you would specify greater than or equal to 2 (>=2). Table 2-4 Interpreting Logical Volume Status
When configuring requests from the SAM interface, use a wildcard (*) in place of lvName to monitor all logical volumes in a volume group. If you split off mirrors from your mirrored configuration, you will see new logical volume resource instances when the split mirror is created. The logical volume number of copies is most useful to monitor in a mirrored disk configuration. It tells you how many copies of the data are available. The HA Disk Monitor monitors all copies of data, and therefore counts the "original" as part of the total number of copies. MirrorDisk/UX supports up to 3-way mirroring, so the range can be from 0 to 3 copies (see Table 2-5 “Interpreting Logical Volume Copies”). In a RAID configuration that is not mirrored using LVM, the only possible number is 0 or 1; either the data is accessible or it is not. When you first configure mirroring in LVM, it lists 0 mirrors, meaning you have only the original copy of the data. Likewise, 2 mirrors mean you have one original plus 2 mirrored copies. Table 2-5 Interpreting Logical Volume Copies
When configuring requests from the SAM interface, use a wildcard (*) in place of lvName to request status for all logical volumes in a volume group. If you split off mirrors from your mirrored configuration, you will see the number of copies reduced by 1 when the split mirror is created. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||