Prerequisites for HA Application Monitoring
Before you start working with the HA Application Monitoring SDK, make sure 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. VMware’s New Cluster Wizard allows you to choose from three monitoring options:
Disabled – Neither VM Monitoring nor Application Monitoring.
VM Monitoring Only – If you choose this option, you will have the Guest OS monitoring discussed previously (the first mechanism).
VM and Application Monitoring – If you choose 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.