Decommissioned the external PSCs after convergence without re-registering SRM? No problem !!

[Impact]

Re-registering SRM/VR would fail with an SSL error.

[Cause]

— Both SRM & VR save the entries of the lookupservice url in their respective DBs under various tables.
— These need to be manually updated with the correct entries of the now embedded VC node’s url & thumbprint.

[DB Tables to review]

Wile re-registering SRM :

  1. In SRM, look for certificates in the following DB tables:

a. SELECT * FROM pd_sslthumbprintstore;

b. SELECT * FROM pd_localsite;

c. SELECT * FROM pd_remotesite;

d. SELECT * FROM pds_remotesite;

e. SELECT * from pds_solutionuser;

  1. For vSphere Replication:

a. SELECT * from vmomiserverentity;

[Fix]

Manually update the thumbprint & url information as below (would be the same for both SRM & VR):

update vmomiserverentity set thumbprint = ‘C5:A1:31:FA:1F:A5:90:32:90:DX:3E:5F:49:A3:ED:51:79:4C:F4:A2‘ where dbid = ‘330‘;

where;
C5:A1:31:FA:1F:A5:90:32:90:DX:3E:5F:49:A3:ED:51:79:4C:F4:A2 is the thumbprint of the embedded VC’s machine ssl certificate.
330 is the database id of that particular entry.

I hope this helps!

Unable to SSH into the vCenter Server, fails with an error.

[Error]

/etc/profile.d/proxy.sh: line 11: Enable: command not found

Traceback (most recent call last):

File “/usr/lib/applmgmt/base/bin/vherdrunner”, line 8, in

vherdrunner.start(vherdrunner.directories)

File “/usr/lib/applmgmt/base/bin/vherdrunner.py”, line 130, in start

exec(code, childGlobals)

[Cause]

There was an extra p before the # sign wrong characters in /etc/sysconfig/proxy file.

less /etc/sysconfig/proxy

p# Enable a generation of the proxy settings to the profile.

[Resolution]

Removed the extra character p before the # sign and were able to ssh to vCenter.

less /etc/sysconfig/proxy

# Enable a generation of the proxy settings to the profile.

Note: – Review the /etc/sysconfig/proxy file for any extra or special characters & remove them (take a backup of the origina file).