Thursday, March 4, 2021

[ TIP OF THE DAY ] Error removing a host from VMware vSphere Distributed Switch (vDS).

You tried to remove a host from a VMware vSphere Distributed Switch (vDS) and got the following error message: "The resource ’9’ is in use" In this example, 9 is the port-ID in use at that time. This could be any number. This happen if the vDS portgroup has vmkernel (vmk) ports still attached. Before removing vDS, ensured that VMkernel network adapters on the vDS are not in use. To fix it, either remove the vmkernel (vmk) NIC or migrate to a Standard Virtual Switch (vSwitch). How to do it?

(1) In the vSphere Client, go to the distributed switch.
(2) On the Configure tab, select More > Ports.
(3) Find all ports that are still in use and check which VMkernel or virtual machine network adapters on the host are still attached to the ports.
(4) Migrate or delete the VMkernel and virtual machine network adapters that are still connected to the switch.
(5) Use the Add and Manage Hosts wizard in the vSphere Client to remove the host from the switch.

No comments:

Post a Comment

What option on VMware vSphere will help you avoid morning boot storm VMs, storage related issues?

(Choose one) Comment Your Suggested Answer! A. Configure vCenter HR ad DRS B. Cluster/ESXi Storage DRS C. Enable Storage I/O Control D. VMFS...