照着下面提示将SQLserver与VCserver 建立依赖关系,验证成功。 VMware VirtualCenter service does not start automatically after reboot
Symptoms
VirtualCenter service does not start after reboot
VMware Infrastructure (VI) Client cannot connect to VirtualCenter
You are using Microsoft SQL Server or SQL Express
VirtualCenter Server service can be started manually with no problems
Purpose
In some cases a race condition can occur and VirtualCenter starts before the SQL database it depends on.
This article provides steps to prevent the race condition from occurring.
Resolution
Thisissue may occur if the VirtualCenter Server service starts before one of the services it depends on. The VirtualCenter Server service is dependent on the following services:
SQL Services
ADAM Services (when using linked mode in vCenter Server 4.0)
Toresolve this issue, add a dependency to the VirtualCenter service so that it only starts after the necessary services have started.
Note: This solution assumes that the database server and the SQL server reside on the same machine. If the SQL server is on a different physicalmachine, you must ensure that the SQL server is functioning before attempting to start the VirtualCenter service.
To create a service dependency:
Click Start> Run.
Type services.mscand press Enter.
Locate any services that VirtualCenter requires. For example, SQLEXP_VIM or ADAM_VCMSDS.
Open the service properties and note the Service Name. For example, MSSQL$SQLEXP_VIM.
In the Run dialog, type Regedit.exeand press Enter. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpxd.
Double-click the DependOnServicekey and add the Service name using the name identified in step 4.
Close Regedit.
Go back to the Services window and open the service properties for the service identified in step 3.
On the Dependenciestab, verify the VMware VirtualCenter service is listed as depending on the service.
Repeat steps 3 to 9 for any services that VirtualCenter requires.