Which ESX log file
Quite a few customers have asked me how to look in ESX logs themselves. They know support often requests these logs to diagnose problems and want to know what’s in these logs. Here you go. A short list of the log files found in VMware ESX Server.
[We have a corresponding list for Virtual Center here]
• Vmkernel – /var/log/vmkernel – records activities related to the virtual machines and ESX server.
• Vmkernel Warnings – /var/log/vmkwarning – This log is a copy of everything marked as a warning or higher severity from vmkernel log. It is much easier to look through this for warnings and errors, instead of filtering through the full information in the vmkernel logs.
• Vmkernel Summary – /var/log/vmksummary – Used to determine uptime and availability statistics for ESX Server; human-readable summary found in /var/log/vmksummary.txt
• ESX Server host agent log – /var/log/vmware/hostd.log – Contains information on the agent that manages and configures the ESX Server host and its virtual machines (Search the file date/time stamps to find the log file it is currently outputting to).
• Service Console – /var/log/messages – This log is the log from the Linux kernel (service console), which is generally only potentially useful in the case of a host hang, crash, authentication issue, or 3rd party app acting up. This log has NOTHING to do with virtual machines. The SERVICE CONSOLE (red hat kernel) has NO awareness of the VMs (worlds) running on the VMKERNEL.
• Web Access – /var/log/vmware/webAccess – Records information on Web-based access to ESX Server.
• Authentication log – /var/log/secure – Contains records of connections that require authentication, such as VMware daemons and actions initiated by the xinetd daemon.
• VirtualCenter agent – /var/log/vmware/vpx – Contains information on the agent that communicates with VirtualCenter.
• Virtual Machines – The same directory as the affected virtual machine’s configuration files; named vmware.log – Contain information when a virtual machine crashes or ends abnormally.
Related posts:Failed to install the VirtualCenter Agent Service
Which Virtual Center Log File
How does the VMware HA work
VMotion in 3.5 DRS enabled Cluster causes Guest CPU to rise Dramatically
Network copy failed for file nvram
VMware, VMware ESX July 4th. 2007, 3:04pm
VMwarewolf
July 18th, 2007 at 1:58 pm
[...] Bron: http://www.vmwarewolf.com [...]
December 19th, 2008 at 6:19 am
[...] ESX Server Logs http://www.vmwarewolf.com/which-esx-log-file/ [...]
September 12th, 2009 at 1:09 pm
VMwarewolf:
I’d strongly recommend checking your facts, especially before posting them as a “VMware Insider”.
Some corrected information for you below:
VMKernel Warnings /var/log/vmkwarning*
This log is a copy of everything marked as a warning or higher severity from vmkernel log. It is much easier to look through this for warnings and errors, instead of filtering through the full information in the vmkernel logs. These are VMKERNEL logs, NOT virtual machine logs.
Service Console – /var/log/messages*
This log is the log from the Linux kernel (service console), which is generally only potentially useful in the case of a host hang, crash, authentication issue, or 3rd party app acting up. This log has NOTHING to do with virtual machines. The SERVICE CONSOLE (red hat kernel) has NO awareness of the VMs (worlds) running on the VMKERNEL.
Thanks and Regards,
Steve
–
September 14th, 2009 at 10:20 am
Thanks for the update Steve. I can’t remember where I got this information but it was provided to me. I have incorporated your corrections.