This tutorial will show you how to remove the NSX-V esx-nsxv vib through the command line.
As part of the NSX-V to NSX-T migration project, I am decommissioning the NSX-V infrastructure.
Components are removed in the following order:
Note: Make sure no work loads are using the NSX-V network or stateful services. Log in to NSX-V Manager and backup the configuration. if rollback is required.
VMware documentation used for NSX-V removal https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/com.vmware.nsx.install.doc/GUID-FD57B445-A0D6-4BFA-BA4A-0FA21BCD082D.html
1. NSX-V NSX Edge Services or Distributed logical router deletion.
2. NSX-V Logical Switch deletion.
3. Removal of NSX-V Host Clusters or Transport Zones.
4. Removal of NSX-V transport node VIB [esx-nsxv]
Steps 1–3 went smoothly, but I got stuck on Step 4.
Uninstall the NSX Data Center for vSphere VIBs. In the vSphere Web Client, go to . Select a cluster, and click .
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.
Error message while clicking the resolve option
The resolve doesn't work around it took an hour, then the task: failed with the error Cannot compute the operation. See the event log for details.
Login to the esxi host [dencvcrail01] using PUTTY or SecureCRT.
root@dencvxrail01:~] esxcli software vib list | grep nsxv
esx-nsxv 6.7.0.0.0.19279648 VMware VMwareCertified 2022-01-10
root@dencvxrail01:~] esxcli software vib list | grep nsxv
[LockingError]Another process is updating the ESX image. Please try again later.Please refer to the log file for more details.root@dencvxrail01:~] esxcli software vib list | grep nsxv
root@dencvxrail01:~] less /var/log/esxupdate.log
Some processes get blocked during the removal; locate the following logs: /var/log/esxupdate.log and kill the process using the below command.
root@dencvxrail01:~] kill -9 59063210
root@dencvxrail01:~] esxcli software vib remove --vibname esx-nsxv --no-live-install
Removal Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed:
VIBs Removed: VMware_bootbank_esx-nsxv_6.7.0-0.0.19279648
VIBs Skipped:
root@dencvxrail01:~]
In the vCenter->Datacenter->Cluster->dencvxrail01 go to Summary, and it will show a reboot is required once we manually initiate the reboot. Vibs will be removed during the reboot process.
dencvxrail01 -> Summary -> Reboot Required
Post reboot verifies VIB's are removed using the below command.
root@dencvxrail01:~] esxcli software vib list | grep nsxv
Need further support? Open a case with VMware Tech Support.
I hope this information is useful for you. Please forgive any typos or incomplete sentences.