vCenter not connected to a license server after 9.1
After upgrading vCenter to 9.1, licensing fails because no License Server exists yet. The fix from KB 440471, and the order that avoids it.
The vSphere Client banner One or more vCenter instances are not connected to a license server. after a 9.1 upgrade means vCenter has nothing to license against. In 9.1, licensing goes through a new License Server, and it has not been deployed yet.
One or more vCenter instances are not connected to a license server.VCF Operations reports that licenses could not be synchronized with or assigned to the vCenter systems, activating management fails because the vCenter is not eligible, and the Licensing page shows “No items found”.
Where it appears
Phase 1Where it fails
- VCF Operations to 9.1PAK file
- SDDC Manager to 9.1
- Management services and License ServerSkipped or not finished
- vCenter to 9.1, then license assignmentLicense sync fails
Cause
VCF and vSphere Foundation 9.1 add a License Server, deployed as part of the VCF management services. vCenter cannot be licensed until it exists. You see this error when vCenter was upgraded to 9.1 before the License Server was installed, which is out of the documented order (KB 440471).
Fix
- Upgrade VCF Operations to 9.1 with the PAK file from the Broadcom Support Portal, if it is not on 9.1 yet.
- Deploy the VCF Management Services and License Server.
- Register the License Server and assign the licenses.
The 9.0 to 9.1 runbook has the menu paths and the IP and DNS requirements for step 2.
Verify
The vSphere Client banner is gone, VCF Operations shows the licenses assigned with no sync error, and activating management for the vCenter adapter works.
If assignment still fails
If the License Server exists and assignment still fails with a message that vCenter cannot resolve its hostname, the cause is usually DNS, time drift or connectivity between vCenter and the License Server. KB 424533 walks through each check.
My take
This is the clearest case in 9.1 of the order mattering. The License Server step looks optional in a long checklist, and skipping it only hurts after vCenter is already upgraded.