Заметки сисадмина » Unable To Apply DRS Resource Settings On Host

Заметки сисадмина о интересных вещах из мира IT, инструкции и рецензии. Настраиваем Компьютеры/Сервера/1С/SIP-телефонию в Москве

Unable To Apply DRS Resource Settings On Host

2023-08-28 · Posted in VMWare
Error Message: Unable to apply DRS resource settings on the host. The operation is not allowed in the current state. This can significantly reduce the effectiveness of DRS.

There are two possible and tested solution available. We will go one by one.

Just restart the management agents (hostd and vpxa) on the host.

How To Restart Management agents in a host using ESXi Shell

SSH to the host with root credentials and run the following commands-

To restart all the management agents services in the host run the following commands-

To reset the management network on a specific VMkernel interface run commands-

Note: Using default VMkernel interface vmk0, you may alter it as per your requirements

How to verify the status of agents-

See if hostd is running,

Output: hostd is running.

Alternatively, run the commands

To verify that vCenter Server Agent is running:

Output: vpxa is running.

How To Restart Management agents in ESXi Using Direct Console User Interface (DCUI):

  1. Connect to the console of your ESXi host.
  2. Press F2 to customize the system.
  3. Log in as root.
  4. Use the Up/Down arrows to navigate to Troubleshooting Options > Restart Management Agents.
  5. Press Enter.
  6. Press F11 to restart the services.
  7. When the service restarts, press Enter.
  8. Press Esc to log out.

If it does not fix the DRS error message in vCenter, do the following-

  1. Place the host into maintenance mode. (Migrate VMs manually, If DRS is not fully automatically)
  2. Ensure that there are no virtual machines running on the host.
  3. Remove the ESXi/ESX host by dragging it out of the cluster.
  4. Re-add the ESXi/ESX host by dragging it into the cluster.
  5. Exit from maintenance mode.

This way you may find the resolution of issue “Unable to apply DRS resource settings on host”.

Leave a Reply