To add a vSphere infrastructure you will need to provide the username, password and hostname of your vSphere server.
Log in to ClearGLASS and click on the “ Add cloud” button. Select “VMware vSphere” from the providers' list.
Enter the same username and password you use to login to your vSphere vCenter plus the hostname (ip or host) of the vSphere server. The hostname should be resolvable by ClearGLASS, if it cannot connect you will receive an error.
Click on the add button. If the credentials are correct, vSphere will be added to ClearGLASS and you will be able to see your VMs in the Machines section.
You can run actions (reboot, stop, destroy), provide an ssh key and connect through a web console to the linux server that have public ip addresses, and enable monitoring to be able to see performance diagrams and set alerts.
If you get a 'Cloud unavailable' while trying to connect a vSphere, make sure the user/password are the correct ones. Open up https://VSPHERE_URL/folder in your browser, example https://vsphere.ClearGLASS/folder, and provide with the correct user/password. If you are able to view the contents of that page, then the user/password are the ones you would provide on ClearGLASS, along with the VSPHERE_URL.
Also make sure that the vsphere_url port 443 is accessible from ClearGLASS. If the port is firewalled, then ClearGLASS won't be able to connect.
If you're using self signed certificates there are cases where ClearGLASS can connect despite the fact that certificates are not valid, but in most cases it will deny connection for security reasons.