Thursday, March 12, 2015

vCenter Server Appliance: Troubleshooting full database partition



A customer of mine had within 6 months twice a full database partition on a VMware vCenter Server Appliance. After the first outage, the customer increased the size of the partition which is mounted to /storage/db. Some months later, some days ago, the vCSA became unresponsive again. Again because of a filled up database partition. The customer increased the size of the database partition again  (~ 200 GB!!) and today I had time to take a look at this nasty vCSA.
The situation
vcsa_overview
Within 2 days, the storage usage of the databse increased from 75% to 77%. First, I checked the size of the database:
 As you can see, the database had only 2 GB. The pg_log directory was more interesting:
 The directory was full with log files. The log files containted only one message:
The solution
This led me to VMware KB2092127 (After upgrading to vCenter Server Appliance 5.5 Update 2, pg_log file reports this error: WARNING: there is already a transaction in progress). And yes, this appliance was upgraded to U2 with high probability. The solution is described in KB2092127, and is really easy to implement. Please note that this is only a workaround. There’s currently no solution, as mentioned in the article.

No comments:

Post a Comment