License replication issues in vCenter ELM deployments due to VMdir running in "standalone" state
book
Article ID: 374973
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Changes to licenses, or added license keys are not properly replicated between to vCenter Server where they were entered and its Enhanced Linked Mode replication partners.
When logging into each VC individually can see correct new license attached
However, remaining VCs not showing correct License (May show old license for 7.0 version)
Environment
vCenter Server 8.0 in Enhanced Linked Mode (ELM) deployments
Cause
This issue can occur when the replication between the Enhanced Linked Mode (ELM) partner nodes is not properly functioning, specifically when vmdir is not running in "normal" but in "standalone" mode.
Resolution
To verify that the issue is present in your environment, apply the steps below:
Open an SSH connection to the vCenter Server Appliance
Enter "shell" to open the BASH shell
Check replication agreement using the vdcrepadmin tool:
Again, verify if the output looks like in the example below:
VmDir State is - Standalone
To fix this issue, you need to change the vmdir state back to "normal, by following the steps below:
Make sure that you have taken fresh offline snapshots (in powered off state) for ALL members in the ELM replication setup. If a restore is needed, all ELM nodes need to be restored.
Run the vdcadmintool:
# /usr/lib/vmware-vmdir/bin/vdcadmintool
In vcdadmintool, select Option 5 (set vmdir state)