No available VMware CPU licenses BUT assigned license count does not match the real used count

vmware-esxivmware-vcenter

My vSphere client 5.1.0 shows a license key for 6 CPU (6 is displayed in both Assigned and Capacity columns) but ONLY two 2-socket hosts (i.e. 4 CPU) are listed. Therefore two CPU licenses are unused.

4 from 6 CPUs

But when I try to assign that license key to a new 2-socket ESXi host, the count of CPU licenses available is ZERO (none) — two CPU licenses are missing.

No CPU license availabe

Can anybody help me?

Thanks in advance

Best Answer

I have found the VMware document 1027410, titled vCenter Server incorrectly displays the amount of licenses in use by ESX hosts. And also found a web page where that VMware procedure is applied

I have followed the steps from 1 to 10 and I have found some host IDs in the ADAM database which are duplicated IDs, according to the step 11. The next move is to remove these host IDs from the ADAM database but I am concerned about the effects on the vCenter running.

update: I carried out the VMware proceduce and it worked fine. After removing the first duplicated ID, 2 CPU licenses appeared:

enter image description here

Best Regards


P.D: Firstly, I was confused by the terminology in that VMware procedure. However I realized the ADAM database is not the SQL/Oracle database, but the LDAP instance checked in steps 2 to 8.