- Confirm the following properties of the VDS presence:
# net-dvs -l | grep com.vmware.nsx.kcp
-
- A positive output for the issue similar to:
com.vmware.nsx.kcp.enable = true , propType = CONFIG
- Also check for the following properties:
- com.vmware.nsx.spf
- com.vmware.nsx.vdl2
- com.vmware.net.portset.fc.enabled
- com.vmware.net.portset.fc.mcast
- A negative output is where is no result after running the above commands.
- To find the DVS names:
- Then we need to disable the module for each DVS in use, using the following syntax below, repeating for each of the above modules that were found to be enabled:
# net-dvs -u "<property>" -p hostPropList <switchName>
-
- For example, for DVS named RegionA01-VDS7:
# net-dvs -u com.vmware.nsx.kcp.enable -p hostPropList RegionA01-VDS7
# net-dvs -u com.vmware.nsx.spf.enabled -p hostPropList RegionA01-VDS7
# net-dvs -u com.vmware.nsx.vdl2.enabled -p hostPropList RegionA01-VDS7
- Re-check the properties from step one and confirm no outputs
- Confirm that nsx-opsagent service is running:
# /etc/init.d/nsx-opsagent status
- Start nsx-opsagent service if it was found to be NOT running from above command:
# /etc/init.d/nsx-opsagent start
- Place the ESXi host in vSphere maintenance mode and on the ESXi nsxcli shell run:
# nsxcli> del nsx
- Confirm the NSX-T VIBs have been removed:
esxcli software vib list | grep -i nsx
- If the NSX VIBs still remained in the ESXi host, access the esxi host's mob page https://<esxi-ip>/mob/ and destroy the VDS or NVDS that has the above-mentioned properties. Then reboot the host and issue del nsx command again.