VMware Cloud Community
DanGoldy
Contributor
Contributor

SRM appliance registered twice in vCenter

This happened after attempting to resolve another issue with SRM and replication appliances in my linked mode lab environment. This is vSphere 6.7 with SRM 8.2 with replication appliances at 8.2 also. I removed both SRM appliances as well as unregistered replication appliances. I added everything back and now I am left with double entries for the SRM appliance at my DR site. I'm sure there is a way to remove one of these registrations at the command line. I just do not know how. When I tried to remove it the first time it did not remove successfully. I thought that might resolve itself after the new registration, but after a refresh both are still there. I rebooted vCenter and the SRM appliance in question. Can anyone assist?

 

DanGoldy_0-1616390123513.png

 

Labels (1)
Reply
0 Kudos
1 Reply
ashilkrishnan
VMware Employee
VMware Employee

Hi @DanGoldy 

Run this command on vCenter(If you external PSC, please run the command on PSC)

1. List SRM service registrations -->  /usr/lib/vmidentity/tools/scripts/lstool.py list --url http://localhost:7080/lookupservice/sdk --type vcDr

2. SRM html5 service registrations --> /usr/lib/vmidentity/tools/scripts/lstool.py list --url http://localhost:7080/lookupservice/sdk --type vrUi

Identify SRM(vcDr) and it's h5 registrations(vrUi) using their host names/IP addresses. Capture the service ID from the output and run following command against the service IDs to un-register:

/usr/lib/vmidentity/tools/scripts/lstool.py unregister --url http://localhost:7080/lookupservice/sdk --id xxxxxx---xxxx--xxxx---xxxxx--xxxxx --user 'administrator@vsphere.local' --password 'VMware123!' --no-check-cert

 

Note:  Replace value of '--id' with the service ID captured in step.1 & 2. Update SSO user name and password.

 

Once SRM and it's h5 service registration are un-registered, you can re-register from SRM VAMI portal.

 

Let me know if you have any questions

 

 

 

Reply
0 Kudos