Today received a customer call, said VMware vsphere 6.5 vcenter can not enter, Tip: 503 Service Unavailable.
Such as:
650) this.width=650; "Src=" Https://s3.51cto.com/oss/201710/24/15b0c16f67290228b9e1bc4568102dc3.png-wh_500x0-wm_3 -wmp_4-s_1220449528.png "title=" 503.png "alt=" 15b0c16f67290228b9e1bc4568102dc3.png-wh_ "/>
Customer's environment is a 6-node Vsan, because one of the host to stop maintenance, vcenter also on this host, did not move vcenter, the vcenter virtual machine, together with the host shut down, the host maintenance after the start, landing vcenter on the tip of the error.
Connect to vcenter backend via SSH to view services, several services are not up.
650) this.width=650; "Src=" Https://s4.51cto.com/oss/201710/24/aba46a046c44b9496ba6eb980f928fec.png-wh_500x0-wm_3 -wmp_4-s_1789905157.png "title=" Service.png "alt=" Aba46a046c44b9496ba6eb980f928fec.png-wh_ "/>
The manual start will not start. Try it. Through the 9443 port can also be logged into the Vcenter Management page, found that "vcenterserver" service did not get up, try to start manually, but immediately after the start stop.
650) this.width=650; "Src=" Https://s1.51cto.com/oss/201710/24/7a685231a47e3a53df41860b582e5f01.png-wh_500x0-wm_3 -wmp_4-s_3609965827.png "title=" vcenter server.png "alt=" 7a685231a47e3a53df41860b582e5f01.png-wh_ "/>
It seems that you can only go to VMware's KB to find a similar fault post.
https://communities.vmware.com/thread/556490
It is recommended that you make a backup of the data before the operation or take a snapshot of the virtual machine.
Approximate steps:
First find the PostgreSQL logs file, find the error statement, see the error inside the key (ID, Device_key).
Then log in to the database and delete the records in the vc.vpx_vm_virtual_device table with the DELETE statement. Restarting Vcenter will
Can log in normally.
VMware vsphere 6.5 does not enter vcenter