When you have verified that the migration is successful, and have clicked Finish to finish the migration, you can uninstall your NSX-V environment.
The process for uninstalling NSX-V after migration to NSX-T is different from the standard uninstall for NSX-V.
Important: If you have vCenter Enhanced Linked Mode (ELM) configured, you must migrate all the
NSX-V instances associated with the vCenter ELM chain before executing steps 6, 7, and 8 in the procedure below.
Prerequisites
- Verify that the migration is successful, and all functionality is working in the NSX-T environment.
- Verify that you have clicked Finish on the Migrate Hosts page.
Procedure
- In the vSphere client, navigate to and delete all the NSX Edges.
- In the vSphere client, navigate to and delete all the logical switches.
- In the vSphere client, navigate to and delete all the transport zones.
- In the vSphere client, navigate to and delete all the NSX Controllers.
- Clear all stale VTEPs that may remain in the NSX-V Manager database:
- SSH into NSX-V Manager as root.
- Run the following command to clear the database table:
psql -U secureall -d secureall -c "delete from xvs_vmknic_info;"
- Run the following command to confirm that the output shows zero row:
psql -U secureall -d secureall -c "select * from xvs_vmknic_info;"
- Delete the ESX Agent Manager agencies that are associated with the NSX-V environment.
- In the vSphere Client, navigate to Solutions, click vCenter Server Extensions. Double-click vSphere ESX Agent Manager and click the Configure tab. . Under
- For each agency that has a name starting with
_NSX_
, select the agency, then click the three-dot menu icon ( ) and select Delete Agency.
- Remove the NSX-V plug-in from vCenter Server.
- Access the Extension Manager from the Managed Object Browser at https://<vcenter-ip>/mob/?moid=ExtensionManager.
- Click UnregisterExtension.
- In the UnregisterExtension dialog box, enter com.vmware.vShieldManager in the Value text box and click Invoke Method.
- In the UnregisterExtension dialog box, enter com.vmware.nsx.ui.h5 in the Value text box and click Invoke Method.
- You can verify that you unregistered the extensions by going to the Extension Manager page at https://<vcenter-ip>/mob/?moid=ExtensionManager and viewing the values for the extensionList property.
- Delete the vSphere Web Client directories and vSphere Client (HTML5) directories for NSX-V and then restart the client services.
- Connect to the vCenter Server system command line.
- If you are using a vCenter Server Appliance, log in as root using the console or SSH. You must log in as root and run the commands from the Bash shell. You can start the Bash shell using the following commands.
> shell.set --enabled True > shell
- If you are using vCenter Server for Windows, log in as an administrator using the console or RDP.
- If you are using a vCenter Server Appliance, log in as root using the console or SSH. You must log in as root and run the commands from the Bash shell. You can start the Bash shell using the following commands.
- Delete all NSX-V plug-in directories.
Note: A plug-in directory might not be present if you have never launched the associated client.On vCenter Server Appliance, delete the following directories:
- To remove the vSphere Web Client plug-in, delete the /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/com.vmware.vShieldManager-<version>-<build> directory.
- To remove the vSphere Client plug-in, delete the /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.nsx.ui.h5-<version>-<build> directory.
On vCenter Server for Windows, delete the following directories:- To remove the vSphere Web Client plug-in, delete the C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client\vc-packages\vsphere-client-serenity\com.vmware.vShieldManager-<version>-<build> directory.
- To remove the vSphere Client plug-in, delete the C:\ProgramData\VMware\vCenterServer\cfg\vsphere-ui\vc-packages\vsphere-client-serenity\com.vmware.nsx.ui.h5-<version>-<build> directory.
- Restart the client services on the vCenter Server Appliance or vCenter Server on Windows.
Table 1. Client Service Commands Client Service vCenter Server Appliance vCenter Server for Windows Restart vSphere Web Client On vSphere 6.0, 6.5, and 6.7
> shell.set --enabled True > shell # service-control --stop vsphere-client # service-control --start vsphere-client
> cd C:\Program Files\VMware\vCenter Server\bin > service-control --stop vspherewebclientsvc > service-control --start vspherewebclientsvc
Restart vSphere Client On vSphere 6.5, and 6.7
> shell.set --enabled True > shell # service-control --stop vsphere-ui # service-control --start vsphere-ui
> cd C:\Program Files\VMware\vCenter Server\bin > service-control --stop vsphere-ui > service-control --start vsphere-ui
Restart vSphere Client On vSphere 7.0
> shell.set --enabled True > shell # service-control --stop vsphere-ui # service-control --start vsphere-ui
vSphere 7.0 does not support vCenter Server for Windows
- Connect to the vCenter Server system command line.
- Power off and delete the NSX Manager VM.
- In vSphere client, navigate to Hosts and Clusters.
- Locate the NSX Manager VM. Right click and select Power Off then right click and select Delete from Disk.