Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


VMware vSphere

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.

[image]

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.

Common issues

1) Cloud unavailable when adding a vSphere

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.

[image]

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.

content/en_us/cg_adding-vsphere.txt · Last modified: 2018/03/12 22:41 by cjones

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Acg_adding-vsphere&1710836246