Generate Complete Log Files using Generate vCenter Server Log Bundle

By | October 11, 2010

 

I was trying to explore all the features of VMware vCenter server. vCenter is having an option to generate all the logs into one zip file.

The zip file includes all the log records of the various vCenter functions and this will truly help us to troubleshoot vCenter issue in case of problems.

Here are the steps,

1. Log in into the vCenter server.

2. Go to Windows Start –> All Programs -> VMware -> “Generate a vCenter Server log bundle”

clip_image002

By Clicking the Generate vCenter Server log bundle, it application start collects all the logs and zip into a folder.

clip_image003[4]

Move the zip file from vCenter server to the analysis desktop. Unzip the folder and examine each files.

 

Filename Purpose
vmlic.log License file test results
redist.log MDAC QFE rollup install results
vmmsde.log MSDE installation log
vmls.log License Server installation log
vmosql.log Database/transaction log initial disk allocation info
vminst.log Majority of installation logging –check date stamps
vmmsi.log VI Client installation log
VCDatabaseUpgrade.log If DB was upgraded from VC 1.x
vpxvpxd-0.log Small stub log created during brief startup; do not confuse with actual vpxd logs located elsewhere
   

Generate vCenter / ESX Logs using VMware vSphere client Access

The log generation can also done from vSphere client. Let see how we can do that,

1. Log in into vCenter server using vSphere.

2. Go to Administration -> vCenter server settings

clip_image002[4]

3. Navigate to Logging option, where we can set different level of logging for the server.

clip_image004

Once the logging option is selected, click OK.

4. Go to Administration -> Export System Logs,

clip_image006

5. We can download logs for vCenter and the selected ESX hosts

clip_image007

Select the location where we need to save the file.

6. We can see the “Generate diagnostics bundle”

clip_image009

7. The data will save to the specified location which we can mention earlier.

clip_image011

The downloaded data have all the ESX CONF files and all the logs, see the directory structure.

clip_image013

 

Logs and Its Location

ESX

ESXi

/var/log/vmware/hostd.log

ESX Service Log

YES

var/log/vmware/vpx/vpxa.log

vSphere Client Agent Logs

YES

/var/log/vmware/aam

VMware HA Logs

NIL

/var/logvmkernel

VMKernel Messages

NIL

/var/log/vmkwarning

VMKernel Warnings

NIL

/var/log/messages

Service Console Log

YES

 

                                                                                                   – Melbin Mathew

Melbin Mathew

I am Melbin Mathew, Systems Engineer from Kerala, India. I live with my parents, daughter and my wonderful wife. I graduated in 2004 with a bachelor’s degree in Electronics and Hardware from Mahatma Gandhi University, Kottayam and completed certification in MCITP, RHCE, CCNA, VCP ...Read More
Category: Virtualization

About Melbin Mathew

I am Melbin Mathew, Systems Engineer from Kerala, India. I live with my parents, daughter and my wonderful wife. I graduated in 2004 with a bachelor’s degree in Electronics and Hardware from Mahatma Gandhi University, Kottayam and completed certification in MCITP, RHCE, CCNA, VCP ...Read More