vCenter Server Connection Failure
The vCenter Server connection has failed.
casa
The vCenter Server connection has failed.
Symptom:
After I have added a vCenter Server connection under Administration, Configuration, the validation of the connection to the vCenter Server failed.
Solution:
The following procedures address the most common issues which can cause a connection failure:
- Verify, if the used vCenter Server connection data (server name, user, password, protocol, port) is still valid. If necessary, update the connection data.
- Verify, if the vCenter Server system is running and accessible.
- Verify, if the VMware Management Service on the vCenter Server system is running properly.
To update the vCenter Server connection data:
- Click
(Add) or
(Edit) that is associated with the failed connection.
The New or Edit vCenter Server dialog appears. - Add the valid server name, user, password, protocol, port, web client protocol, web client port (optional), web client user(optional), web client user password(optional). Enable Managed Status and click OK.The connection data is updated.
- Click
(Validate) in the upper-right corner to validate the new settings.
If the connection to the vCenter Server cannot be established, continue with the next procedure.
To verify if the vCenter Server system is running and accessible:
- Open a command prompt on theServer Automationmanager system and run the following commands:nslookup<vCenter Server Name>ping<IP Address of vCenter Server>
- Verify the output of the commands to find out whether the vCenter Server has a valid DNS entry and IP address.If the vCenter Server is not in the DNS, add the vCenter Server to the Windows hosts file on theServer Automationmanager system. Continue with Step 3.If the vCenter Server is in the DNS, continue with Step 4.
- Open the hosts file in the %windir%\system32\drivers\etc directory with an ASCII editor and add the following line:ipaddress <vCenter Server Name>Enter the correct IP address and vCenter Server name. For example:192.168.50.50 myvCenter
- Click
(Validate) in the upper-right corner.
If the vCenter Server credentials and connection data are correct and you can ping the vCenter Server, the connection can still fail. In this case, it is possible that the vCenter Server causes the problem. If the connection to the vCenter Server cannot be established, continue with the next procedure.
To verify, if the VMware Management Service on the vCenter Server system is running properly
- Contact the vSphere Administrator to access the vCenter Server system.
- Log in to the vCenter Server system and open Administrative Tools, Services from the Start menu.The Services window opens.
- Select the serviceVMware VirtualCenter Server. Start or restart the service.
- Change to theServer Automationuser interface, vCenter Server pane on the manager system and click
(Validate) in the upper-right corner.
Server Automationvalidates the vCenter Server connection.If the connection to the vCenter Server fails, verify whether the data you gathered according to the requirements for this scenario is still valid.Work with the vSphere administrator or VMware support to fix the vCenter Server connection problem.