vSphere HA initiates failover due to rapid virtual machine power cycle
search cancel

vSphere HA initiates failover due to rapid virtual machine power cycle

book

Article ID: 412673

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

A "vSphere HA initiated a failover action for a virtual machine" message is detected after power off a virtual machine. This could occur after a virtual machine is powered on and then powered off in rapid succession (less than 1 minute) from guest OS operation.

Environment

vSphere 8.0
vSphere 7.0

Cause

The primary cause of the vSphere HA failover is the rapid power-on and subsequent power-off of the virtual machine from guest OS operation.
vSphere HA detects that VMware Tools stopped responding before it registered the power-off event, leading to a failover action.

Resolution

This behavior is expected by design. And virtual machine will be migrated to source host after determined the power-off was a user-initiated operation.
To prevent unnecessary failovers, avoid power-on and power-off operations of virtual machines in short time.