ashilkrishnan
VMware Employee
VMware Employee

Hi Stefan,

ldapdelete might be one of the options to delete invalid/duplicate service registrations. Another way to remove them is using lstool

List service registrations: /usr/lib/vmware-lookupsvc/tools/lstool.py list --url https://localhost/lookupservice/sdk > /tmp/services.txt

This will list the service name and it's ID. For example:

Service Type: vcenterserver

Service ID: 1dbc3e9f-626d-4314-8731-ca744a0d9f4b

Once you have the service ID, you can run following command to un-register(Update service ID, username and password)

/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7080/lookupservice/sdk --id 6ae3bf1a-9318-4a33-b2cb-d2eaa7a306c5 --user 'administrator@vsphere.local' --password 'VMware123!' --no-check-cert