The VMware VirtualCenter Server service terminated unexpectedly

After rebooting the VMware VirtualCenter (VC) server, i was unable to logon using the VI-client in VC. In the Windows event log the following  Error is listed:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7031
Date:  25-9-2008
Time:  13:39:58
User:  N/A
Computer: VC1
Description:
The VMware VirtualCenter Server service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 300000 milliseconds: Restart the service.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

It seems that the VC server service is started before the SQL 2005 service is started. The solution is the delay the VirtualCenter service from starting till the Microsoft SQL 2005 service is started. Microsoft has a KB article “How to delay loading of specific services”.

I did the following:

Open the regedit.exe and browse to the HKLM\SYSTEM\CurrentControlSet\Services\MSSQLSERVER (for MS SQL 2005 standard). So you know the name of the service.

image

Browse to HKLM\SYSTEM\CurrentControlSet\Services\vpxd and open the DependOnService property

image

Add the name MSSQLSERVER to this multi-string. Ensure that the last line is empty.

image

Close the Registry Editor and restart the VirtualCenter server and test if it VMware VirtualCenter service starts.

[ad#verticaal]

Choosing between SQL 2005 Express or SQL standard/Enterprise for the VC database

VMware VirtualCenter uses standard the Micrososft SQL Express 2005 database. The statement of VMware is:

Microsoft SQL Server 2005 Express is intended to be used for small deployments of up to 5 hosts and 50 virtual machines

Microsoft SQL 2005 Expresss supports 1 CPU, 1 GB of RAM and a maximum database size of 4 GB.

There is a nice SQL Server 2005 Features Comparison page table available between Microsoft SQL Express, Workgroup, Standard and Enterprise link. Thanks ablej for pointing.

Winners VI toolkit scripting contest

The winners of the VI toolkit scripting contest are announced:

– The first prize goes to LucD for his Guest Provisioning System script.

– The Second prize goes to tzamora for his VMware Infrastructure Power Documenter script.

– The Third prize goes to Dan Baskette with his PowerVDI script.

The Healthcheck script that i created has not won 🙁

You can read the rest @ the VMware Powershell Blog

For all VI toolkit contributions check this link