Archive

Posts Tagged ‘Virtualcenter’

Virtual Center Perf Chart service encountered an internal error

January 19th, 2010 No comments

On a Virtual Center 4 update 1 installation I noticed an Perf Charts service error on the performance overview tab. The advanced performance tab is functioning as normal.


There are 3 VMware KBs related to this type of error:

Unfortunately none of these solved my problem.

In virtual center U1 the configuration of the performance charts database has changed location. It’s now located in C:\Program Files\VMware\Infrastructure\tomcat\conf\Catalina\localhost\statsreport.xml.

VMware updated the KB article (KB1013877) in the mean time to reflect the changes in Update 1.

Categories: VMware Tags: , ,

virtualcenter 2.5.x stops due to a full transaction log.

December 16th, 2009 No comments

Since several weeks, one of my customers had some issues with a virtualcenter that kept crashing at random moments.

The virtualcenter itself is running 2.5U4 (ok not the latest version) and is currently managing about 20 hosts and some 150 virtual machines. The size of the database was set to 5gb and the log file was initially around 3gb. so nothing special here.

In the event viewer of the virtualcenter server, we saw that the transaction log for the database,  was full and therefore the virtualcenter received an unrecoverable error and stopped.   Since we did changed the statistics level of the performance counter to level 4 (we really needed those performance counters), we were forced to change them back to the default settings.
To free up some table space, we disabled the rollup job and stopped the virtualcenter and started purging some old data (see vmware kb 1000125) – Restarted the virtualcenter service  but unfortunately after 10 minutes the log file of 12Gb was again full.

Since we do not own the sql server, we had a long discussion with the database team if it was possible to increase the log file size.   So in the end, we changed the log file to 50gb – restarted the rollup job and saw that the job was successfully completed after 1hour.  The job used around 20gb to complete.

so bottom line
– do not size your log files to small, be sure to have a lot of free working space available so that the sql rollup jobs can complete without errors.  If not you will have a snowball.
– if you increase the statistics level, increase of reserve additional disc space for the log files.
– remember that your database size and log file size will growth depending the evolution of the number of virtual machines and hosts that your virtualcenter must manage.
– and monitor the success rate of the rollup jobs

some intresting links
– Updated sql scripts|
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1009857&sliceId=1&docTypeID=DT_KB_1_1&dialogID=52428114&stateId=0%200%2053090810
Purging old data from the database used by vCenter Server| http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1000125

Categories: VMware Tags: , ,