Virtual machine power-on operations may fail in a vSphere DRS-enabled cluster with the error: "The total number of virtual CPUs present or requested in the virtual machines' configuration has exceeded the limit on the host." This error is triggered by cluster-level resource admission control policies defined in vSphere DRS, which enforce maximum vCPU-to-pCPU ratios or specific advanced parameter constraints. This article provides steps to identify the active policy and adjust the configuration to allow the power-on operation.
Symptoms :
"The total number of virtual CPUs present or requested in virtual machines' configuration has exceeded the limit on the host: [XXX]"/var/log/vmware/vmware-vpxd/vpxd.log,YYYY-MM-DDTHH:MM:SSinfo vpxd[08244] [Originator@6876 sub=vpxLro opID=PowerOnResolver-applyOnMultiEntity-4254-ngc-84] [VpxLRO] -- BEGIN task-480576 -- datacenter-2 -- vim.Datacenter.powerOnVm -- 52####2e-70ec-6b64-3997-4b52####e89c(520###78-6fe3-fe7f-db7c-d301####ff84)YYYY-MM-DDTHH:MM:SS info vpxd[08244] [Originator@6876 sub=vpxLro opID=PowerOnResolver-applyOnMultiEntity-4254-ngc-84-01] [VpxLRO] -- BEGIN lro-3315 -- -- DrmClusterVmPowerOn -- YYYY-MM-DDTHH:MM:SS error vpxd[08244] [Originator@6876 sub=drmLogger opID=PowerOnResolver-applyOnMultiEntity-4254-ngc-84-01] DrmFault: reason powerOnVm, vm <VM_NAME>, host <IP_ADDRESS>, fault [class Vim::Fault::NumVirtualCpusExceedsLimit:0x000000f7b4e14860]The error is caused by a violation of cluster-level CPU allocation limits defined in the DRS settings. This can be due to:
MaxVcpusPerCore advanced parameter is configured, enforcing a strict cap on vCPUs per host core.To resolve this issue, adjust the DRS configuration settings to accommodate the required workload.
Expand Advance Options