ClusterDasConfigInfoVmMonitoringState_enum
The ClusterDasConfigInfoVmMonitoringStateEnum enum defines values that indicate the state of Virtual Machine Health Monitoring.
Health Monitoring uses the vmTools (guest) and application agent heartbeat modules. You can configure HA to respond to heartbeat failures of either one or both modules. You can also disable the HA response to heartbeat failures.
- To set the cluster default for health monitoring, use the ClusterConfigSpecEx.dasConfig.vmMonitoring property.
- To set health monitoring for a virtual machine, use the ClusterConfigSpecEx.dasVmConfigSpec.info.dasSettings.vmToolsMonitoringSettings property.
- To retrieve the current state of health monitoring (cluster setting), use the ClusterConfigInfoEx.dasConfig.vmMonitoring property.
- To retrieve the current state of health monitoring for a virtual machine, use the ClusterConfigInfoEx.dasVmConfig[].dasSettings.vmToolsMonitoringSettings.vmMonitoring property.
Possible values:
vmMonitoringDisabled
: Virtual machine health monitoring is disabled.In this state, HA response to guest and application heartbeat failures are disabled.
vmMonitoringOnly
: HA response to guest heartbeat failure is enabled.To retrieve the guest heartbeat status, use the VirtualMachine.guestHeartbeatStatus property.
vmAndAppMonitoring
: HA response to both guest and application heartbeat failure is enabled.- To retrieve the guest heartbeat status, use the VirtualMachine.guestHeartbeatStatus property.
- To retrieve the application heartbeat status, use the GuestInfo.appHeartbeatStatus property.