Erik Bussink
  • Entries
  • Comments
  • Popular
Recent Posts
  • March 2013
  • February 2013
  • December 2012
  • November 2012
  • October 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • November 2011
  • March 2011
  • February 2011
  • August 2009
  • June 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • February 2008
  • January 2008
  • June 2007
  • May 2007
  • February 2007
  • January 2007
  • December 2006
  • January 2004
  • July 2003
  • April 2003
  • September 2002
  • November 2000
  • May 2000
  • March 2000
  • June 1997
  • April 1997
  • March 1997
  • May 1996
  • April 1995
  • March 1995
  • February 1995
  • December 1994
  • November 1994
  • September 1994
  • November 1993
  • November 1992
  • October 1992
  • August 1992
  • January 1992
  • September 1991
Recent Comments
  • Erik Bussink The supported CPU are on this list... I would stick to I5 if...
  • bergie1 Thanks! I'm going to reconsider the DS61. So there are no o...
  • Erik Bussink The 3rd HX61v I got, had a newer V2 motherboard, but it did ...
  • Erik Bussink Yes, I've for vMotion support and FT support. The CPU needs...
  • Erik Bussink I have even toyed with the Delock MiniPCIe I/O PCIe full siz...
Popular Articles
  • vSphere 5.0 on HP ML110 G7 (70)
  • 2013 Homelab refresh (16)
  • Generating SSL Certificates for vCenter Operations Manager 5.0 (13)
  • Visio 2013 and Visio Stencils issue (Fixed) (10)
  • HP ML110 G7 and Power Management (iLO3 & vSphere DPM) (8)
  • Home
  • GNU/Linux
  • Microsoft
  • PKI
  • vCloud Director
  • VMware

vCenter VM Hardware Upgrade results in Hung vCenter services

Posted by erik on 23 Mar , 2012 in Microsoft, VMware | 0 comments
vCenter VM Hardware Upgrade results in Hung vCenter services

Yesterday, while upgrading a new vCenter virtual machine that was created on an ESX 3.5 host, to a new ESXi 5.0 host, we found ourself with a VM that was refusing to start any services.

The virtual machine is running

  • Windows Server 2008 R2 SP1
  • vCenter 5.0 Update 1
  • SQL Server 2008 R2 SP1 (10.50.2792)
  • and the whole suite of vCenter services (vum, syslog, dump, web service).

The virtual machine was created  on an ESX 3.5 (Build 604481) and was configured as a VM Version 4.  The target platform was a new ESXi 5.0 Update 1 host (Build 623860). So we cold migrated the vCenter to the new system, via a shared VMFS3 datastore.

At this point, the virtual machine was running fine as a VM Version 4 on the ESXi 5.0 Update 1.

I then started the upgrade process, with the installation of the VMware Tools, to ensure I had all the proper drivers in the VM. I then powered off the virtual machine, and upgraded the hardware to VM Version 8.

vCenter - VM Version 8

The system restarted but there was an issue with the various services. I could not open the network settings, I could not uninstall the VMware Tools as the Windows Installer service was not running. My data and database log disks where not visible, I could not open the disk management control panel.

After much troubleshooting, restarting the virtual machine in safe mode and various other tests, my colleague found this very interesting article Windows Server 2008 computer hang during startup while “applying computer settings” and services configured to start automatically fail to start http://support.microsoft.com/kb/2004121 

The following two paragraphs are taken from the Microsoft Support Article.

Cause

The problems described in the symptoms section occur because of a lock on the Service Control Manager (SCM) database.  As a result of the lock, none of the services can access the SCM database to initialize their service start requests. To verify that a Windows computer is affected by the problem discussed in this article, run the following command from the command Prompt:

sc querylock

The output below would indicate that the SCM database is locked:

QueryServiceLockstatus – Success

IsLocked : True

LockOwner : .\NT Service Control Manager

LockDuration : 1090 (seconds since acquired)

Let me fix it myself

you can modify the behavior of HTTP.SYS to depend on another service being started first.  To do this, perform the following steps:

  • Open Registry Editor
  • Navigate to HKLM\SYSTEM\CurrentControlSet\Services\HTTP and create the following Multi-string value: DependOnService
  • Double click the new DependOnService entry
  • Type CRYPTSVC in the Value Data field and click OK.
  • Reboot the server

NOTE: Please ensure that you make a backup of the registry / affected keys before making any changes to your system.

After having made the registry modification and a final restart, the virtual machine was working again as expect. This was a very strange and bizarre error I have never heard someone run into. So here it is resumed, and may it be usefull someday to someone else…

 

 

 

Recent Posts

  • vCenter SRM 5.1 database creation using Transact-SQL
  • SQL Server Transact-SQL Line Numbering
  • 2013 Homelab refresh
  • vCenter Infrastructure Navigator 2.0 integrated with vSphere Web Client
  • vCenter Operations Manager 5.6 integrated with vSphere Web Client
  • vCNS Edge Gateway re-sizing Compact/Large/X-Large

Categories

  • Apple
  • Cisco UCS
  • Family
  • Gaming
  • GNU/Linux
  • Hardware
  • Kaylee
  • Microsoft
  • Nexenta
  • OpenSolaris
  • OpenVMS
  • PKI
  • Public
  • Security
  • Technology
  • usenet-groups
  • VMware
  • ZFS

Archives

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Designed by Elegant Themes | Powered by Wordpress