"Unable to apply DRS resource settings on host" error in vCenter Server
search cancel

"Unable to apply DRS resource settings on host" error in vCenter Server

book

Article ID: 344925

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:
An ESX host in vCenter Server reports the error:

Unable to apply DRS resource settings on host. The operation is not allowed in the current state. This can significantly reduce the effectiveness of DRS.
WARNING: UserDuct: 184: Cannot allocate a new data segment, out of memory


Environment

VMware vCenter Server 6.7.x
VMware ESXi 4.0.x Installable
VMware vCenter Server 5.1.x
VMware vSphere ESXi 6.0
VMware vCenter Server 5.5.x
VMware ESX 4.0.x
VMware ESXi 4.0.x Embedded
VMware vCenter Server 4.1.x
VMware ESX 4.1.x
VMware vCenter Server 5.0.x
VMware vCenter Server 7.0.x
VMware vSphere ESXi 5.5
VMware ESXi 4.1.x Installable
VMware vSphere ESXi 6.7
VMware vSphere ESXi 5.1
VMware ESX Server 3.5.x
VMware ESXi 4.1.x Embedded
VMware vCenter Server 4.0.x
VMware vSphere ESXi 6.5
VMware vCenter Server 6.0.x
VMware vCenter Server 6.5.x
VMware vSphere ESXi 7.0.0
VMware VirtualCenter 2.5.x

Resolution

This warning does not have a direct impact on production virtual machines but can result in resource contention within the cluster if DRS is not functioning correctly.

To resolve this issue, restart the management agents (hostd and vpxa) on the host.

/etc/init.d/hostd restart
/etc/init.d/vpxa restart
 


Workaround:
Warning: The following steps should not be executed on a VSAN, NSX, or Horizon View-enabled cluster.

If the problem persists after restarting the management agents, remove the host from the cluster and then re-add it:
  1. Place the host into maintenance mode.
Note: If DRS does not migrate the virtual machines to other hosts, migrate them manually.
  1. Ensure that no virtual machines are running on the host.
  2. Remove the ESXi/ESX host by dragging it out of the cluster.
  3. Re-add the ESXi/ESX host by dragging it into the cluster.
  4. Exit from maintenance mode.


Additional Information

VMware Skyline Health Diagnostics for vSphere - FAQ
"Unable to apply DRS resource settings on host" warning in summary tab of the ESXi host
Restarting the Management agents in ESXi
El host ESX/ESXi en vCenter Server informa el error: No se puede aplicar la configuración de recursos DRS en el host. La operación no está permitida en el estado actual
vCenter Server 中出现 “无法在主机上应用 DRS 资源设置 (Unable to apply DRS resource settings on host)” 错误
vCenter Server の「DRS リソース設定をホストに適用できません (Unable to apply DRS resource settings on host)」エラー