A complete uninstall of NSX removes host VIBs, the NSX Manager, controllers, all VXLAN configuration, logical switches, logical routers, NSX firewall, Guest Introspection, and the vCenter NSX plug in. Make sure to follow the steps for all hosts in the cluster. VMware recommends that you uninstall the network virtualization components from a cluster before removing the NSX plug-in from vCenter Server.

About this task

Note:

Do not remove any appliances that were deployed by NSX (such as Controllers and Edges) from vCenter directly. Always manage and remove NSX appliances using the Networking & Security tab of the vSphere Web Client.

Prerequisites

Procedure

  1. Delete the transport zone.
  2. Delete the NSX Manager appliance and all NSX controller appliance VMs from the disk.
  3. Remove any leftover VTEP vmkernel interfaces.

    For example:

    Generally, the VTEP vmkernel interfaces are already deleted as a result of earlier uninstall operations.

  4. Remove any leftover dvPortgroups used for VTEPs.

    For example:

    Generally, the dvPortgroups used for VTEPs are already deleted as a result of earlier uninstall operations.

  5. If you removed VTEP vmkernel interfaces or dvPortgroups, reboot the hosts.
  6. For the vCenter on which you want to remove the NSX Manager plug-in, log in to the managed object browser at https://your_vc_server/mob.
  7. Click Content.

    For example:

  8. Click ExtensionManager.

  9. Click UnregisterExtension.

  10. Enter the string com.vmware.vShieldManager and click on Invoke Method.

  11. If you are running the vSphere 6 vCenter Appliance, launch the console and enable the BASH shell under Troubleshooting Mode Options.

    Another way to enable the BASH shell is to log in as root and run the shell.set --enabled true command.

  12. Delete the vSphere Web Client directories for NSX and then restart the Web Client service.

    The vSphere Web Client directories for NSX are called com.vmware.vShieldManager.** and are located as follows:

    • VMware vCenter Server for Windows – C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client\vc-packages\vsphere-client-serenity\

    • VMware vCenter Server Appliance – /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/

    Restart the vCenter Server Appliance:

    • In the vCenter Server Appliance 6.0, log into the vCenter Server shell as root and run the following commands:

      Command> shell.set --enabled True
      Command> shell
      localhost:~ # cd /bin
      localhost:~ # service-control --stop vsphere-client
      localhost:~ # service-control --start vsphere-client
      

    • In vCenter Server 6.0 on Windows, you can do this by running the following commands.

      cd C:\Program Files\VMware\vCenter Server\bin
      service-control --stop vspherewebclientsvc
      service-control --start vspherewebclientsvc
      

Results

The NSX Manager plug-in is removed from vCenter. To confirm, log out of vCenter and log back in.

The NSX Manager plug-in Networking & Security icon no longer appears on the Home screen in the vCenter Web Client.

Go to Administration > Client Plug-Ins and verify that the list of plug-ins does not include NSX User Interface plugin.