ClusterDasVmSettings

ClusterDasVmSettings
ClusterDasVmSettings

The ClusterDasVmSettings data object contains the HA configuration settings specified for a single virtual machine (identified by ClusterDasVmConfigInfo.key) or as cluster-wide defaults ClusterDasConfigInfo.defaultVmSettings

All fields are optional. If you set the modify parameter to true when you call ReconfigureComputeResource_Task, an unset property has no effect on the existing property value in the cluster configuration on the Server. If you set the modify parameter to false when you reconfigure a cluster, the cluster configuration is reverted to the default values, then the new configuration values are applied.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "restartPriority": "string",
    "restartPriorityTimeout": 0,
    "isolationResponse": "string",
    "vmToolsMonitoringSettings": {
        "_typeName": "string",
        "enabled": false,
        "vmMonitoring": "string",
        "clusterSettings": false,
        "failureInterval": 0,
        "minUpTime": 0,
        "maxFailures": 0,
        "maxFailureWindow": 0
    },
    "vmComponentProtectionSettings": {
        "_typeName": "string",
        "vmStorageProtectionForAPD": "string",
        "enableAPDTimeoutForHosts": false,
        "vmTerminateDelayForAPDSec": 0,
        "vmReactionOnAPDCleared": "string",
        "vmStorageProtectionForPDL": "string"
    }
}
string
restartPriority
Optional

Restart priority for a virtual machine.

If not specified at either the cluster level or the virtual machine level, this will default to medium.

See also ClusterDasVmSettingsRestartPriorityEnum.

integer As int32 As int32
restartPriorityTimeout
Optional

This setting is used to specify a maximum time the lower priority VMs should wait for the higher priority VMs to be ready.

If the higher priority Vms are not ready by this time, then the lower priority VMs are restarted irrespective of the VM ready state. This timeout can be used to prevent the failover of lower priority VMs to be stuck infinitely.

This timeout is not used if ready condition is none

Timeout specified in seconds. To use cluster setting for a VM override, set to -1 in per-VM. setting.

string
isolationResponse
Optional

Indicates whether or not the virtual machine should be powered off if a host determines that it is isolated from the rest of the compute resource.

If not specified at either the cluster level or the virtual machine level, this will default to powerOff.

See also ClusterDasVmSettingsIsolationResponseEnum.

vmToolsMonitoringSettings
Optional

The ClusterVmToolsMonitoringSettings data object contains virtual machine monitoring settings that are used by the Virtual Machine Health Monitoring Service.

The Service checks the VMware Tools heartbeat of a virtual machine. If heartbeats have not been received within a specified time interval, the Service declares the virtual machine as failed and resets the virtual machine.

These settings are applied to individual virtual machines during cluster reconfiguration (ClusterDasVmConfigInfo.dasSettings.vmToolsMonitoringSettings). You can also specify them as default values (ClusterDasConfigInfo.defaultVmSettings).

All fields are optional. In case of a reconfiguration, fields left unset are not changed.

vmComponentProtectionSettings
Optional

vSphere HA Virtual Machine Component Protection Service settings.

vSphere HA Virtual Machine Component Protection Service detects and reacts to storage failures that do not necessarily cause a virtual machine to go down, but may impact the health or QoS of the virtual machine.

All fields are defined as optional. In case of a reconfiguration, fields left unset are not changed.