catcal
Contributor
Contributor

vmware 7.0 shell cmd to check status of vCenter - embedded PSC SSO config

Ever since upgrading from vmware 6.7 with external PSCs to 7.0U1, problem starting one of our vCenters.  During the upgrade, the PSC was merged into the vCenter.  We actually have 2 vCenters in enhanced linked mode.  One of the vCenters (vcc) starts up fine.  For the other vCenter (vca) the services do not start unless vcc vCenter is completely up.  We suspect the vca vCenter is still pointing to the old external PSC as the primary, but unsure of the command needed to check this.  After the upgrade we did unregister the old external PSCs with the "cmsso-util unregister" command. 

Just asking this group for a shell command to check the primary PSC for each of our vCenters.

 

Thanks in advance for your help in answering this post.

Labels (3)
0 Kudos
2 Replies
pdirmann01
Enthusiast
Enthusiast

You should be able to use /usr/lib/vmware-vmafd/bin/vmafd-cli 

I believe the parameters are /usr/lib/vmware-vmafd/bin/vmafd-cli --get-ls-location --server-name [localhost|your VCSA hostname].

Tags (1)
0 Kudos
sraghavendrar
VMware Employee
VMware Employee

Hi,

You can check if the PSC is completely unregistered by ,

1. Checking the replication partners on both the VC nodes.

/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartners -h localhost -u Administrator (The PSC FQDN should not be displayed)

2. Check if any stale service registrations of the PSC still exists

/usr/lib/vmware-lookupsvc/tools/lstool.py list --url http://localhost:7090/lookupservice/sdk 2> /dev/null | grep URL | grep <psc-fqdn>

-Supreeth

0 Kudos