| vCenter Service Not Starting - Service Dependancies such as SQL Server |
|
|
|
After rebooting the server running vCenter, you find you cannot log into vCenter with vSphere client. On further inspection you find the "VMware VirtualCenter Server" service is not running (even though it is set to automatic). However you can start it manually, it just will not start automatically after a reboot.
Event ID 1000 explains in the description, it could not get the configuration from the database: Event Type: Error
Additionally you may see the following events:
This occurs if you are running the vCenter database (SQL Server) on the same server as vCenter itself. As the server starts up it starts SQL Server, but this may take sometime. While this is taking place vCenter services try and start, in doing so attempts connecting to the SQL Server database (which is not ready) hence the event ID 17187. Finally it fails to start the service.
This is what is known as a race condition. vCenter is trying to start before SQL Server which it depends on. If you have your SQL Server on another server this will not be a problem.
Checking the service properties tab will confirm the dependancy does not exist for SQL Server.
MSSQLSERVER ADAM_VMwareVCMSDS (If using vCenter Server 4)
By doing so will ensure the "VMware VirtualCenter Server" service starts after its required services have started.
Create a Service Dependancy: Click Start--> Run. Find the services (service names) required for vCenter to start (MSSQLSERVER and ADAM_VMwareVCMSDS).
Click Start--> Run.
Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpxd. Close Regedit.
From now on when you reboot the server, the VMware VirtualCenter Server service will wait until is dependancies have started before it tries to start.
|








