List of Services Registered with vCenter Single Sign-On (SSO):
To obtain a list of services that are currently registered to SSO follow the steps below:
In
vSphere 7.x
Appliance:
Open an SSH session to the vCenter Server Appliance 7.0 with embedded Platform Services Controller and run:
/usr/lib/vmware-lookupsvc/tools/lstool.py list --url http://localhost:7090/lookupservice/sdk
vSphere 6.x
Appliance:
Open an SSH session to the Platform Services Controller Appliance 6.x or vCenter Server Appliance with embedded Platform Services Controller and run:
python /usr/lib/vmidentity/tools/scripts/lstool.py list --url http://localhost:7080/lookupservice/sdk
Note:
- Lstool.py script is only available on PSC or Embedded vCenter, this script will not work on Management Node (vCenter Server with an External Platform Services Controller)
- Lstool.py script is located on path /usr/lib/vmware-lookupsvc/tools/ on VMC releases
Windows:
- Log into the Windows Platform Services Controller 6.x or vCenter Server with embedded Platform Services Controller
- Open a command prompt window
- Run the below command to list the services registered with the Platform Services Controller and save the output to c:\psc_services.txt
"%VMWARE_PYTHON_BIN%" "%VMWARE_CIS_HOME%\VMware Identity Services\lstool\scripts\lstool.py" list --url http://localhost:7080/lookupservice/sdk > c:\psc_services.txt
- Open the c:\psc_services.txt output in Notepad:
notepad c:\psc_services.txt
vSphere 5.5
Appliance:
Open an SSH session to the vCenter Server Appliance 5.5 and run:
/usr/lib/vmware-sso/bin/vi_regtool listServices http://vCenter_Single_Sign-On_FQDN:7444/lookupservice/sdkWindows:
- Log into the Windows server where the vSphere Single-Sign On service is installed.
- Open a command prompt windows to the C:\Program Files\VMware\Infrastructure\VMware\CIS\vmware-sso\ directory
- Set the Java Home by running:
set JAVA_HOME="C:\Program Files\Common Files\VMware\VMware vCenter Server - Java Components\bin"
- Run the command to list the services registered with Single Sign-On and save the output to c:\sso_services.txt
ssolscli.cmd listServices https://vCenter_Single_Sign-On_FQDN:7444/lookupservice/sdk > c:\sso_services.txt
- Open the c:\sso_services.txt output in Notepad:
notepad c:\sso_services.txt
vSphere 5.1
Appliance:
Open an SSH session to the vCenter Server Appliance 5.1 and run:
/usr/lib/vmware-sso/bin/vi_regtool listServices http://vCenter_Single_Sign-On_FQDN:7444/lookupservice/sdkWindows:
- Log into the Windows server where the vSphere Single-Sign On service is installed.
- Open a command prompt window to the C:\Program Files\VMware\Infrastructure\SSOServer\ssolscli directory
- Set the Java Home by running:
SET JAVA_HOME=C:\Program Files\VMware\Infrastructure\jre
- Run the command to list the services registered with Single Sign-On and save the output to c:\sso_services.txt
ssolscli.cmd listServices https://vCenter_Single_Sign-On_FQDN:7444/lookupservice/sdk > c:\sso_services.txt
- Open the c:\sso_services.txt output in Notepad:
notepad c:\sso_services.txt