You can uninstall NSX from all hosts in a cluster.
About this task
If you want to remove NSX from individual hosts (instead of from the entire the entire cluster), see Remove a Host from an NSX Prepared Cluster.
Disconnect VMs on the cluster from logical switches.
- Remove the cluster from its transport zone.
Go to Logical Network Preparation > Transport Zones and disconnect the cluster from the transport zone.
If the cluster is grayed out and you cannot disconnect it from the transport zone, this might be because 1) a host in the cluster is disconnected or is not powered on, or 2) the cluster might contain one or more virtual machines or appliances that are attached to the transport zone. For example, if the host is in a management cluster and has NSX controllers installed on it, first remove or move the controllers.
- Uninstall the NSX VIBs. In the vCenter Web Client, go to Networking & Security > Installation > Host Preparation. Select a cluster, and click Actions () and select Uninstall.
The Installation Status displays Not Ready. If you click Not Ready, the dialog box displays this message: Host must be put into maintenance mode to complete agent VIB installation.
- Select the cluster and click the Resolve action to complete the uninstall.
If the host has NSX 6.2.x or earlier, or ESXi version 5.5, a reboot is required to complete the uninstall. If the cluster has DRS enabled, DRS will attempt to reboot the hosts in a controlled fashion that allows the VMs to continue running. If DRS fails for any reason, the Resolve action halts. In this case, you may need to move the VMs manually and then retry the Resolve action or reboot the hosts manually.
For hosts with NSX 6.3.0 or later and ESXi 6.0 or later, the host must be put into maintenance mode to complete the uninstall. If the cluster has DRS enabled, DRS will attempt to put the hosts into maintenance mode in a controlled fashion that allows the VMs to continue running. If DRS fails for any reason, the Resolve action halts. In this case, you may need to move the VMs manually and then retry the Resolve action or put the hosts into maintenance mode manually.Important:
If you manually put hosts into maintenance mode, you must verify that the host VIB uninstall has completed before you take the host out of maintenance mode.
Check the Recent Tasks pane in the vSphere Web Client.
In the Host Preparation tab, check that the Installation Status for the cluster from which the host was removed has a green checkmark.
If the Installation Status is Installing, the uninstall is still in progress.