This section describes how to remove a host from a cluster prepared for network virtualization. You might want to do this if, for example, you decide that the host is not going to participate in NSX.

Procedure

  1. Place the host into maintenance mode and wait for DRS to evacuate the host, or manually vMotion running VMs from the host.
  2. Remove host from the prepared cluster by either moving it to an unprepared cluster or making it a standalone host outside of any cluster.

    NSX uninstalls the network virtualization components and service virtual machines from the host.

  3. For the change to take effect, move or stop all the VMs, put the host into maintenance mode, and reboot the host.

    Optionally, you can defer the reboot to a maintenance window.

Results

The NSX VIBs are removed from the host. To verify, SSH to the host and run the esxcli software vib list | grep esx command. Make sure the following VIBs are not present on the host:

  • esx-vsip

  • esx-vxlan

If the VIBs remain on the host, you might want to view the logs to determine why automated VIB removal did not work.

You can remove the VIBs manually by running the following commands:

  • esxcli software vib remove --vibname=esx-vxlan

  • esxcli software vib remove --vibname=esx-vsip

Important:

After running these commands, you must reboot the host for the change to take effect.