Behavior of vSphere HA VM Component Protection APD policies
search cancel

Behavior of vSphere HA VM Component Protection APD policies

book

Article ID: 324862

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article clarifies the behavior of vSphere HA's response to All Paths Down (APD) events.

To view the APD Failure Response section events from vCenter UI, navigate to:

Hosts and Cluster > <click on a cluster of choice> > Configure tab > vSphere Availability

click Edit > Expand Datastore with APD item





Environment

VMware vSphere

Resolution

Currently, you have four options to choose:

  1. Disabled
  2. Issue Events
The Disabled and Issue Events do not alter anything for the VM itself. The former does nothing while the latter issues some events that are visible on the vCenter GUI.
  1. Power off and restart VMs - Conservative restart policy
  2. Power off and restart VMs - Aggressive restart policy

When an APD occurs for a datastore on a host, if either "Conservative" OR "Aggressive" options are selected, vSphere HA will first try to find a host where it can be powered on. If it can find one, the VM is terminated and attempted to power on at the selected host.

If a suitable host cannot be found is when there is a difference of behavior between "Conservative" and "Aggressive".
If the "Aggressive" behavior is chosen at the point where no suitable host was found to power on the VM, a further check is made to see if there is a network partition on the cluster. If partition exists, the VM is terminated (even when there was no suitable host). This is the key difference in behavior between "Conservative" and "Aggressive". "Conservative" will not try to terminate a VM even if there is a network partition.

Additional Information

The behavior itself has not changed since 7.0 when compared to previous releases like 6.5 or 6.7.