Prerequisites for HA Application Monitoring

Before you start working with the HA Application Monitoring SDK, verify that your vSphere application is running within a VMware cluster that has both the High Availability and VM and Application Monitoring options enabled.

You must install VMware Tools on the virtual machines where your HA monitoring applications are running.

The vSphere Availability guide contains information about how to set up a high availability (HA) cluster, and how to configure VM and Application Monitoring. With VMware’s New Cluster Wizard, you can choose one of three monitoring options:

  • Disabled – Neither VM Monitoring nor Application Monitoring.
  • VM Monitoring Only – If you select this option, you will have the Guest OS monitoring discussed previously (the first mechanism).
  • VM and Application Monitoring – If you select this option, you will also have the ability to employ Application Monitoring and the HA Application Monitoring SDK (the second mechanism).

For information about Web services interfaces for HA, see the VMware vSphere API Reference Guide, especially data objects VirtualMachineRuntimeInfo and VirtualMachineRuntimeInfoDasProtectionState.