Job Management Partner 1/Performance Management - Agent Option for Virtual Machine Description, User's Guide and Reference

[Contents][Glossary][Index][Back][Next]


1.4.5 Monitoring disk resources

This subsection explains how to monitor the disk resources of a VMware system.

Organization of this subsection
(1) Overview
(2) Monitoring examples
(3) Other monitoring examples

(1) Overview

In a VMware system, multiple virtual machines share the physical server's physical disk. The physical disk space is logically partitioned into logical disks, which are then allocated to individual virtual machines. The OS running on a virtual machine recognizes an allocated logical disk as a normal physical disk.

The following two types of disk resources are available:

Since the physical disk is shared in a virtual environment, it is accessed by the individual virtual machines simultaneously. If multiple disk commands are issued simultaneously, the disk I/O resource is distributed according to share ratios that have been set up by the virtual environment software.

Disk commands from a virtual machine for which a large share ratio is set are executed at higher priority. Consequently, disk commands from a virtual machine with a small share ratio may be discarded without being executed. Discarded disk commands are re-executed after a time.

If the rate at which commands are discarded becomes high, disk access is delayed, adversely affecting the performance of the virtual machine. By monitoring the performance data of the disk I/O resource, you can detect such performance deterioration of the virtual machine, and you can thus take the necessary corrective action.

Furthermore, you can check whether there is a logical disk space insufficiency by monitoring the performance data of the disk space resource.

The four records described below are used to monitor the disk resource. For details about records, see 5. Records.

  1. PI_HPDI record
    This record is used to monitor the performance data of the physical disk. It shows the disk I/O resource as viewed from the physical server.
  2. PI_VPDI record
    This record is used to monitor the performance data of the physical disk being used by the virtual machine. It shows the disk I/O resource as viewed from the virtual machine.
  3. PI_HLDI record
    This record is used to monitor the performance data of the physical server's logical disk. It shows the disk space resource as viewed from the physical server.
  4. PI_VLDI record
    This record is used to monitor the performance data of the virtual machine's logical disk. It shows the disk space resource as viewed from the virtual machine.

The figure below shows the range of performance data collected in each record.

Figure 1-16 Correspondence between records and data collection ranges

[Figure]

(2) Monitoring examples

Using monitoring of disk resources for vhost1 and vhost2 running on a physical server called host1 as an example, this subsection explains the problems that might occur in the disk resources and how to solve them. The following figure shows the items monitored here, and the flow of actions to take.

Figure 1-17 Monitored items and flow of actions

[Figure]

(a) Example of monitoring the disk command discarding rate of a physical disk being used by a virtual machine

You can monitor the disk command discarding rate of a physical disk being used by a virtual machine in the Abort Commands % field of the PI_VPDI record. Note that you can monitor this item with an alarm provided in a monitoring template.

The following figure shows an example of monitoring the disk command discarding rate of a physical disk.

Figure 1-18 Example of monitoring the disk command discarding rate

[Figure]

Monitoring template report to be checked
VM Disk Abort Commands

Monitoring template alarm to be checked
VM Disk Abort Cmds

If there is a virtual machine with a high disk command discarding rate, adjust its share of the physical disk. In this example, the disk command discarding rate for the physical disk being used by vhost2 is high, and increasing vhost2's share can solve this problem. For details about how to adjust the share, see the documentation for the virtual environment software.

(b) Example of monitoring the space usage of a physical server's logical disk

You can check whether a physical server's logical disk has sufficient free space based on the space usage. Note that you can monitor this item with an alarm provided in a monitoring template.

You can check the space usage in the Used % field of the PI_HLDI record.

The following figure shows an example of monitoring the space usage of a physical server's logical disk.

Figure 1-19 Example of monitoring the space usage of a physical server's logical disk

[Figure]

Monitoring template report to be checked
Host Disk Used

Monitoring template alarm to be checked
Host Disk Usage

In this example, the space usage of Disk 2 is high. If the space usage is high, you can solve this problem by expanding the logical disk space through the addition of a physical disk. For details about how to expand the disk space, see the documentation for the virtual environment software.

(c) Example of monitoring the space usage of a virtual machine's logical disk

You can check whether a virtual machine's logical disk has sufficient free space based on the space usage. You can check the space usage in the Used % field of the PI_VLDI record. Note that you can monitor this item with an alarm provided in a monitoring template.

The following figure shows an example of monitoring the space usage of a virtual machine's logical disk.

Figure 1-20 Example of monitoring the space usage of a virtual machine's logical disk

[Figure]

Monitoring template report to be checked
VM Disk Used

Monitoring template alarm to be checked
VM Disk Usage

In this example, the space usage of Disk 2 being utilized by vhost1 is high. If the space usage is high, you can solve this problem by expanding the logical disk space allocated to the virtual machine. For details about how to expand the disk space, see the documentation for the virtual environment software.

(3) Other monitoring examples

Monitoring examples follow that use monitoring templates other than those explained in (2) Monitoring examples.

(a) Report that displays the disk I/O state of a physical server

Figure 1-21 Example of monitoring a physical server's disk I/O state

[Figure]

Monitoring template report to be checked
Host Disk I/O

(b) Report that displays the disk I/O state of a virtual machine

Figure 1-22 Example of monitoring a virtual machine's disk I/O state

[Figure]

Monitoring template report to be checked
VM Disk I/O

(c) Report that displays the usage status of a physical server's logical disk

Figure 1-23 Example of monitoring the usage status of a physical server's logical disk

[Figure]

Monitoring template report to be checked
Host Disk Used Status

(d) Report that displays the usage status of a virtual machine's logical disk

Figure 1-24 Example of monitoring the usage status of a virtual machine's logical disk

[Figure]

Monitoring template report to be checked
VM Disk Used Status

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, 2010, Hitachi, Ltd.