Time: 06/02/2011
One workmate told me his vCenter was broken, and he cannot login vCenter using vSphere client. Because he cannot manager his ESXi hosts, he need the fix ASAP.
[What's the issue?]After login vCenter box, we found vCenter service status is "started" and the web service is also "started".
Using vSphere client, we cannot login vCenter, it said "connection refused".
However, when we try login vCenter with "", we found we could login vCenter with web access and everything is all right.
[What's the root cause?]
We then asked workmate anything changed before this broken. He said he did change something in Administration - vCenter server setting. He want to change the port of one URL to 8443 in order to make the server query work.
I logged my vCenter and asked him for the changes, and he told me the change is about "Advanced Settings - VirtualCenter.VimApiUrl and VirtualCenter.VimWebServicesUrl", in the filed, he changes the 8443 to 443.
The most important is the change of "WebServices.Ports.https", he changed the original value "443" to "8443".
The important is to find the DB record of this setting. Finally we found the table name "VPX_Parameter" and in this table, we have such columns about "WebServices.Ports.https".
After DB change, we restarted the vCenter service and it works fine now.
Screenshot as below:
阅读(340) | 评论(0) | 转发(0) |