You can uninstall NSX-T Data Center from a KVM host.

Procedure

  1. From a browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
  2. Select System > Fabric > Nodes > Host Transport Nodes.
  3. From the Managed by drop-down menu, select Standalone Hosts.
  4. Select the host and click Delete.
  5. On the Delete Transport Node popup window, click Delete.
  6. If the host goes into a failed state and NSX-T Data Center VIBs cannot be removed, then run the del nsx command to remove NSX-T Data Center from the host.
    1. Before running the del nsx command, power off all tenant VMs running on the KVM host.
    2. On the KVM host, log in to the console. At the CLI terminal, run nsxcli.
    3. Enter del nsx.
      Important: Do not run nsxcli -c del nsx as a single command on the KVM host.
    4. Read the warning message. Enter Yes if you want to go ahead with NSX-T Data Center uninstallation.
      Are you sure you want to remove NSX-T on this host? (yes/no)
    5. Verify NSX-T Data Center VIBs are deleted on the KVM host by running the following command.
      • (RHEL/SLES/CentOS host) Run rpm - qa | grep nsx.
      • (Ubuntu host) Run dpkg -l | grep nsx.
      If the NSX-T Data Center VIBs are deleted on the host, the CLI terminal displays success message.
    6. To debug errors after running the del nsx command, see logs at /var/log/nsxcli.log on the host.
  7. In NSX Manager, navigate to the KVM host, and click Delete.
  8. In the popup window, select Force Delete and begin uninstallation.
  9. Verify the Configuration Status of the host is Not Configured state. This state indicates that NSX-T Data Center is completely removed from the host.

Results

After running del nsx, all existing host switches are removed, and the host transport node is un-prepared. If any NSX-T Data Center VIBs remain on the host, contact VMware support.