VMware Cloud Community
gautamparkash
Contributor
Contributor

vCenter License stale entry

I install the 2 vCenter servers 6.7 in link mode with embedded PSC . i break the link mode. now both server are accessible individuals. but under license-> assets still both vcenter and hosts are visible.

vcenter server: vcenter server 6.7 appliance with embedded PSC servers, single SSO.

Reply
0 Kudos
14 Replies
KocPawel
Hot Shot
Hot Shot

You've disabled only Link-mode but PSC controllers are still in the same SSO domain and can replicate.

VMware License Service is located on PSC:

https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.psc.doc/GUID-FE4E0496-A14C-4331-A7D6-1200F7...

You can check if your PSC are replicated and check if they have any replication partner:

VMware Knowledge Base

Reply
0 Kudos
gautamparkash
Contributor
Contributor

only single server is showing in system configuration, earlier all server was showing.

Reply
0 Kudos
KocPawel
Hot Shot
Hot Shot

Can you provide screenshot of replication partners.

And second screenshot:

vCenter->Administration->System Configuration

Reply
0 Kudos
gautamparkash
Contributor
Contributor

I tried to run the below command to check replicatin partner but no success.

vdcrepadmin -f showservers -h PSC_FQDN -u administrator -w Administrator_Password

This was First vcenter which i configured to enable the link mode.

pastedImage_2.png

this is second replication partner

pastedImage_3.png

this is the third replication partner, in third VC+PSC servers showing second and third vcenter server in system configuration.

pastedImage_4.png

In license tab 1st vcenter is showing all three vcenter servers

both replication partner is showing only 2 vCenter servers(replication partners)

Reply
0 Kudos
gautamparkash
Contributor
Contributor

Hi experts,

Please help

Reply
0 Kudos
Vijay2027
Expert
Expert

How did you break the linked mode??

Any other way apart from domain-repoint is not supported and would leave lot of stale entries to manually cleanup.

Reply
0 Kudos
gautamparkash
Contributor
Contributor

i use the below link for same.

https://www.virtuallyghetto.com/2017/03/how-to-split-vcenter-servers-configured-in-an-enhanced-linke...

I tried to de-join and rejoin the domain but no effect. still stale entries are there.

what is the way to cleanup stale entries.

Reply
0 Kudos
gautamparkash
Contributor
Contributor

My, All three vCenter server are in single domain.

Reply
0 Kudos
RajeevVCP4
Expert
Expert

Try to restart licensing service on both VC

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
Reply
0 Kudos
gautamparkash
Contributor
Contributor

i have tried to all such kind of things, restart the services, restart the node. but on same page.

Please help, its urgent. Still waiting for experts advice

Reply
0 Kudos
Vijay2027
Expert
Expert

To cleanup stale entries you will have to connect to each vmdird DB via LDAP browser, for example jxplorer, identify and remove stale entries.

Make sure you take snapshots/bakcup before you remove anything.

If you haven't done this before and it's urgent recommend you to file a SR with GSS.

Reply
0 Kudos
gautamparkash
Contributor
Contributor

can you help me, which file i have to look into db, to delete these stale entries.

Reply
0 Kudos
Vijay2027
Expert
Expert

This is a complex process as this requires modifying vmdird database. Please contact VMware support.

Reply
0 Kudos
gautamparkash
Contributor
Contributor

Hi All,

Please help?????

Reply
0 Kudos