The vSphere Client lists an alert stating, "Insufficient HA failover resources" or "Insufficient resources to satisfy vSphere HA failover level on cluster <Cluster_name> in <Datacenter_name>"
search cancel

The vSphere Client lists an alert stating, "Insufficient HA failover resources" or "Insufficient resources to satisfy vSphere HA failover level on cluster <Cluster_name> in <Datacenter_name>"

book

Article ID: 399680

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

When we put the host in Maintenance Mode DRS is not migrating any Vm's. Seeing Error "Insufficient resources to satisfy Vsphere HA Failover"

From log trace it's Evident that there are no sufficient resources to migrate VM's 


From VPXD Logs 

 YYYY-MM-DD info vpxd[2237290] [Originator@6876 sub=drmLogger opID=agw-0490925-f0] MinPoweredOnCap UCRule, requiredCpu: 55674 requiredMem: 1640325
YYYY-MM-DD info vpxd[2237290] [Originator@6876 sub=drmLogger opID=agw-0490925-f0] MinPoweredOnCapacity check failed, requiredCpuCap : 55674,requiredMemCap : 1640325 neededCpuCap : -44818, neededMemCap : 154237\

 

** As soon as host is put in maintenance mode, DRS fails to migrate VMs

 YYYY-MM-DD vpxd[2235782]: Event [204996694] [1-1]  [vim.event.NoMaintenanceModeDrsRecommendationForVM] [info]  [Unable to automatically migrate VM_Name]


 YYYY-MM-DD vpxd[2235782]: Event [204996695] [1-1] [vim.event.NoMaintenanceModeDrsRecommendationForVM] [info]   [Unable to automatically migrate VM_Name]

Environment

  • vSphere 7.x
  • vSphere 8.x

Cause

 Sine the Cluster available memory capacity (1486021) is less than the total required memory required (1640308) the Enter Maintenance Mode operation is failing for the  cluster and hence we were unable to Migrate Vm's 

Resolution

In order to avoid a scenario where a cluster has insufficient resources to satisfy vSphere HA, review Utilization and reserve memory if required. 

 

Host     NUM_VMS  NUM_VCPUS  MEM_MB  CPU_ENT  MEM_ENT  CPU_MIN  MEM_MIN  CPU_MIN_CONFIG  MEM_MIN_CONFIG  MEM_DEMAND  CPU_ACTIVE_40  CPU_Util  Mem_Util  CPU_CAPACITY  MEM_CAPACITY(MB)  AVAIL_MEM(MB)  AVAIL_CPU(MHz)
=============================
host-X  19       68         364544  28770    347901   0        343121   0               342715          376230      28292          56.31%    50.64%    50246         743023            400180         50246
host-X  17       82         445440  19719    422479   20880    408037   20880           407654          449320      25777          51.30%    60.47%    50246         742998            335216         29366
host-X   16       73         470016  17996    385672   0        399897   0               399553          453000      25816          51.28%    60.94%    50346         743367            343686         50346

 

Total VMs memory reservation: 342715 + 407654 + 399553 = 1149922
Cluster available memory capacity: 743023 + 742998 = 1486021

Total required memory 1149922 + 490386 = 1640308
Cluster available memory capacity: 1486021

 

 

Additional Information

Some of the best practices are as follows to Optimize resources in the Cluster: 


1. Reserve memory less than ~67% of total memory. 
2. Reserve memory for critical workloads, for no critical workloads, better to reduce reservation or remove reservation.
3. If we cannot reduce the reservation, then increase the capacity by adding new hosts.