You may observe that the vCenter ESXi host licensing usage displays a higher number of cores than the actual physical core count in the environment. For example, the vCenter licensing usage might show 908 cores, while the physical hosts only account for 836 cores.
VMware vCenter Server
VMware ESXi
This discrepancy occurs when there are "ghost" or stale ESXi hosts in the vCenter Server database that have been decommissioned but are still erroneously consuming license capacity.
To identify and remove the decommissioned hosts consuming license capacity, follow these steps:
Verify the actual core count in your environment by running the script provided in KB 313548.
In the vSphere Client, navigate to Administration > Licensing > Licenses.
Select the Assets tab, and then click Hosts.
Click the Export button at the bottom of the table to export the total ESXi host usage report.
Compare the exported vCenter report against the results of the script from step 1 to identify the stale or "ghost" hosts.
Follow the steps outlined in Cleaning decommissioned ESXi host from vCenter Server license inventory (KB 416427) to remove the stale host information from the vCenter database.
Subscribe to this knowledge article to get updates on this issue.