I came back from EMCworld 2011 and found that my vCenter server had crashed while I was away. This is a fairly uncommon issue so how do you debug such things:
- Attempt to restart the vCenter server
- If that fails look at
Inside, this log if showed me the following message near the end:
“Transaction log for database ???? is full. To find out why space in the log cannot be reused….”
This was the culprit and pointed me to my MSSQL server. A quick search showed me the following site: http://www.rivnet.ro/2010/04/fix-transaction-log-for-database-vim_vcdb-is-full-errors.html, which had a possible solution, in an attempt to solve the problem using this method, I was given an error message about being out of disk space. Ah-ha! Okay, I should have looked at the disk space for the MSSQL server first. To increase the diskspace I did the following within the VMware vSphere Client directly connected to the host:
- Navigate to the MSSQL server VM
- Select the SCSI drive associated with the location of the MSSQL data (in my case the only drive)
- Increase the drive size of the SCSI driver while the VM is running
- Log into the Guest OS of the VM using RDP or remote desktop
- Launch Cmd.exe
- Inside Cmd.exe run the command ‘diskpart’
- Issue the ‘rescan’ command
- Exit Diskpart
- Enter Start->Administrative Tools ->Computer Management
- Navigate to Disk Management
- Select the C: Partition
- Right Click on the MSSQL Data Partition and Select Extend Volume
- Extend the MSSQL Data partition to include the amount newly allocated for the partition
- Go back and launch vCenter
14 Simple steps to fix a vCenter problem. These steps only work if you are using Windows 2008 however. For WIndows 2003 you may have to reboot the box and use other technology to extend the MSSQL data partition. If your data partition is a separate Windows drive, then you can make this second drive a Dynamic Disk and just expand the Drive via the Dynamic Disk mechanism. So my revised steps to debug are:
- Attempt to restart vCenter
- Review C:ProgramDataVMwareVMware VirtualCenterLogsvpxd-####, where #### is some 4 digit number in my case, for errors
- Look at Drive space on your database server VM/host, as you could be out.
Of course, is a solution but for me not a good one. You should configure your sql correctly. Follow these instructions:
http://blog.ncora.com/2012/04/vcenter-database-is-full-transaction.html