This article describes how to remove invalid and duplicate vSAN and vCenter license asset entries from vCenter Server.
Duplicate vSAN and vCenter licenses may be visible in the vSphere Client by navigating to: vSphere Client > Administration > Licensing > Licenses > Assets > VCENTER SERVER SYSTEMS or VSAN CLUSTERS.
Symptom: Two or more duplicate license asset entries display the same name. However, only one active vCenter or vSAN cluster is actually in use, while the other entries are stale and invalid.
This issue typically occurs due to an error during the deployment of a VMware Cloud Foundation (VCF) environment. For example, a user deleted an initial vSAN cluster and created a new one with the same name, then re-assigned the vSAN license to the new cluster. A similar procedure may also cause duplicate vCenter license asset entries.
Determine whether the vCenter Server is standalone or configured with Enhanced Linked Mode (ELM).
Take Backups:
Standalone vCenter Server: Take a virtual machine snapshot (including memory).
vCenter Server in ELM: Take an offline (powered-off) snapshot of all vCenter Servers participating in the ELM domain.
ELM Topology Considerations:
If the duplicate entries appear on all nodes in ELM, you must break the ELM configuration, perform the cleanup on each vCenter Server sequentially, and then re-join them to ELM.
If only a single node is impacted, breaking ELM is not required.
Each asset entry has a unique vmwLicSvcAssetScopeId (which corresponds to the Local Domain Unit / LDU ID of the vCenter Server).
SSH into the vCenter Server Appliance (vCSA).
Gather the LDU IDs of the active vCenter Server nodes via CLI:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-ldu --server-name localhostNote: Comparing these LDU IDs against the asset entries allows you to identify which vCenter or vSAN assets are bound to vCenters that no longer exist.
Run the following LDAP search queries to list all existing vSAN and vCenter asset objects:
For vSAN Assets:
/opt/likewise/bin/ldapsearch -LLL -h localhost -p 389 -x -b "dc=vsphere,dc=local" -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -s sub '(&(vmwLicSvcObjectClass=AssetEntity)(vmwLicSvcAssetProductName=VMware VSAN))' -W
For vCenter Assets:
/opt/likewise/bin/ldapsearch -LLL -h localhost -p 389 -x -b "dc=vsphere,dc=local" -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -s sub '(&(vmwLicSvcObjectClass=AssetEntity)(vmwLicSvcAssetProductName=VMware VirtualCenter Server))' -WNote: Ensure that the SSO domain in the base DN (
dc=vsphere,dc=local) matches your actual environment. Update it if your domain is different.
Review the returned LDIF output to differentiate between valid and invalid entries:
Managed Object ID (MOID): Embedded within the cn attribute (e.g., cn=AssetEntity_domain-c22-...). Match this against the active cluster MOID.
Scope ID: Compare vmwLicSvcAssetScopeId with the LDU ID retrieved in Step 2. Entries containing an LDU ID that no longer exists should be removed.
vSAN Asset Entry Example:
vCenter Asset Entry Example:
Once you have identified the Distinguished Name (dn) of the stale entry, execute the ldapmodify command to delete it.
Delete a stale vSAN asset entry:
Delete a stale vCenter asset entry:
After deleting the stale LDAP objects, restart the VMware License Service to refresh the vSphere Client inventory:
service-control --restart cis-license