After upgrading vCenter Server to a newer version, the following alert may be triggered
Validation Steps :
Path to check license: vSphere --> Administration -->license -->assets-->Solutions
Path : vSphere --> Hosts and clusters --> Select host --> Configure --> Licensing
VMware vSphere 6.x
VMware vSphere 7.x
VMware vSphere 8.x
VCenters are in Enhanced linked mode
This issue can occur due to a stale license entry in the VMware Directory Services database
The expired license, although not valid, is still listed as assigned to the host, causing a conflict in the system's ability to remove it. It is also possible that the Enhanced Linked Mode setup contributes to license synchronization complexities across multiple vCenter instances
1. Make sure you take a non-memory snapshot of the vCSA VM before proceeding with the workaround (powered-down snapshots of all nodes if you have multiple vCenter Servers in Enhanced Linked Mode (ELM).
VM powered down snapshot:
Caution:
Please follow pre-requites mentioned in KB: 313886 and take an offline snapshot of both the VCenters
2. Log into JXplorer and follow below actions
1. Download and install JXplorer, available at JXplorer.
2. Open JXplorer and select File > Connect.
3.In the Open LDAP/DSML pane, make these configuration changes:
5. The Security Level will be User + Password.
6. The Security User DN will be cn=administrator,cn=users,dc=vsphere,dc=local.
7. The Security Password will be your administrator password for your vCenter Single Sign-on administrator account.
8. Expand Services > LicenseService.
9. Select the affected host id ( To take host id goto vpshere --> select the host --> from the url --> select domain=host-xx)
For host-38 vmwLicSvcAssestEvalExpiry was set to older date
Upon validation we could see one entry contains all relevant information with proper vmwLicSvcAssestEvalExpiry date for host-38.
Below diagram with proper information
10. Remove the affected AssetEntity_host-ID-UUID.
Warning: Do not attempt to remove or modify any objects that do not begin with AssetEntity_host-. Removing or modifying these objects may require a clean reinstall of vCenter and the Platform Services Controller without preserving vCenter Single Sign-on data.