VM failover did not occur - vSphere HA
search cancel

VM failover did not occur - vSphere HA

book

Article ID: 419631

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

In a vSphere High Availability (HA) enabled cluster, virtual machines should migrate to healthy hosts during a host failure.

If the failover does not occur, virtual machines remain powered off. This issue typically relates to cluster configuration mismatches or the Host Monitoring setting.

Environment

VMware vSphere 8.0, 7.0

Cause

The cause is the Host Monitoring setting being disabled within the vSphere HA cluster configuration. 

Host Monitoring is Enabled by default. Disabling it requires explicit manual or programmatic action(scripts or API calls).

The FDM logs while the host unexpectedly reboots:

YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100537] [Originator@6876 sub=Cluster opID=clusterManager.cpp:<UUID>] Heartbeat still pending for slave @ host-<hostNumber>
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100537] [Originator@6876 sub=Cluster opID=clusterManager.cpp:<UUID>] Heartbeat still pending for slave @ host-<hostNumber>
YYYY-MM-DDTHH:MM:SS.sssZ In(166) Fdm[2100537] [Originator@6876 sub=Cluster opID=clusterManager.cpp:<UUID>] hostId=host-<hostNumber>state=Master master=None isolated=false host-list-version=1140 config-version=3171 vm-metadata-version=13138 slv-mst-tdiff-sec=0
YYYY-MM-DDTHH:MM:SS.sssZ Er(163) Fdm[2100537] [Originator@6876 sub=Cluster opID=clusterManager.cpp:<UUID>] Timeout for slave @ host-<hostNumber>
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100537] [Originator@6876 sub=Cluster opID=clusterManager.cpp:<UUID>] Marking slave host-hostNumber as unreachable
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100537] [Originator@6876 sub=Cluster opID=clusterManager.cpp:<UUID>] Beginning ICMP pings every 1000000 microseconds to host-<hostNumber>
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100537] [Originator@6876 sub=Cluster opID=clusterManager.cpp:<UUID>] Start polling for ipV4 socket; sock: 7, vmknic: no_bind

vSphere HA unable to restart the VMs:

YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Removed 0 of 17 vms
YYYY-MM-DDTHH:MM:SS.sssZ In(166) Fdm[2100542] [Originator@6876 sub=Policy opID=WorkQueue-<UUID>] Sending a list of 17 VMs to the placement manager for placement
YYYY-MM-DDTHH:MM:SS.sssZ In(166) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] 17 Vms added, 17 VmRecord created
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Invoking the RPE + SPE Placement Engine
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Reevaluate all to-be-placed Vms.
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Failover operation in progress on 18 Vms: 0 VMs being restarted, 18 VMs waiting for a retry, 0 VMs waiting for resources, 0 inaccessible vSAN VMs.
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Vm /vmfs/volumes/<DatastoreUUID>/<VMFolder>/<VMName>.vmx will not be restarted because Host monitoring is disabled:
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Vm /vmfs/volumes/<DatastoreUUID>/<VMFolder>/<VMName>.vmx.vmx will not be restarted because Host monitoring is disabled:
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Vm /vmfs/volumes/<DatastoreUUID>/<VMFolder>/<VMName>.vmx.vmx will not be restarted because Host monitoring is disabled:
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Vm /vmfs/volumes/<DatastoreUUID>/<VMFolder>/<VMName>.vmx.vmx will not be restarted because Host monitoring is disabled:
YYYY-MM-DDTHH:MM:SS.sssZ Db(167) Fdm[2100542] [Originator@6876 sub=Placement opID=WorkQueue-<UUID>] Vm /vmfs/volumes/<DatastoreUUID>/<VMFolder>/<VMName>.vmx.vmx will not be restarted because Host monitoring is disabled:

Resolution

  1. Check the vSphere HA settings for the cluster. Select the affected cluster in the vCenter UI.
  2. Navigate to Configure > vSphere Availability.
  3. Select Edit to open vSphere HA settings.
  4. If Host Monitoring is set to Disabled, change the setting to Enabled.



  5. To clear internal configuration mismatches, disable and re-enable HA on the cluster:
    In Edit vSphere HA Settings, uncheck Turn ON vSphere HA.
    Click OK. Wait for the task to complete.
  6. Edit settings and Turn ON vSphere HA.

Additional Information

If it is set to "Enabled", and the logs show that it is disabled, there is a mismatch between the UI and the internal HA settings on the cluster. Disable and re-enable HA in order to resolve the mismatch.