Searching in the vCenter Server inventory with the ESXi hostname or the IP address doesn't show any results with the existing ESXi hostname or IP.
VMware vCenter Server
VMware vSphere ESXi
This issue happens when an ESXi host is decommissioned without first removing it from the Inventory in vCenter Server.
Follow the steps below to fix this issue:
1. Identify the disconnected ESXi host in the vCenter Server inventory following the steps:
/var/log/vmware/vpxd/vpxd.log on the vCenter:YYYY-MM-DDTHH:MM:SS.215+05:30 error vpxd[09198] [Originator@6876 sub=Default opID=######] [VpxLRO] -- ERROR task-11834127 -- -- host -- Folder.addStandaloneHost: :vim.fault.DuplicateName--> Result:--> (vim.fault.DuplicateName) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>,--> name = "<ESXi-IP>",--> object = 'vim.HostSystem:95c5726a-####-####-####-7045241fe21f:host-X'--> msg = ""--> }--> Args:-->
# less vpxd.log | grep host-XYYYY-MM-DDTHH:MM:SS.777+05:30 info vpxd[09269] [Originator@6876 sub=drmLogger item=FixNIOCViolation opID=WorkQueue-23b#####] FixNIOCViolation worker starts for host [vim.HostSystem:host-X,<Old-ESXi-hostname>]
2. Remove the old ESXi host (identified as <Old-ESXi-hostname> in the vpxd.log) from the vCenter Server inventory.
3. Once the disconnected host is removed from the vCenter Server inventory, add the new ESXi host.
If there is an issue while removing the ESXi host from vCenter Server inventory, refer to KB Manually removing an ESXi host from the vCenter Server database to further investigate.