Location of ESXi 5.0 log files


Purpose

This article provides the default location of log files on an ESXi 5.0 host.
For related information, see the Logging in vSphere 5.0 in Command-Line Management in vSphere 5.0 for Service Console Users.
For other products and versions, see Location of log files for VMware products (1021806).

Resolution

You can review ESXi 5.0 host log files:
  • From the Direct Console User Interface (DCUI). For more information, see About the Direct Console ESXi Interface in thevSphere 5.0 Installation and Setup Guide.
  • From the ESXi Shell. For more information, see the Log In to the ESXi Shell section in the vSphere 5.0 Installation and Setup Guide.
  • Using a web browser at https://HostnameOrIPAddress/host. For more information, see the HTTP Access to vSphere Server Files section in the vSphere Web Services SDK documentation.
  • Within an extracted vm-support log bundle. For more information, see Collecting diagnostic information for VMware ESX/ESXi using the vSphere Client (653) or Collecting diagnostic information for VMware ESX/ESXi using the vm-support command (1010705).
  • Using the vifs command line utility in the vCLI. For more information, see the vSphere Command-Line Interface documentation.

ESXi 5.0 Host Log Files

Logs for an ESXi 5.0 host are grouped according to the source component:
  • /var/log/auth.log: ESXi Shell authentication success and failure.
  • /var/log/dhclient.log: DHCP client service, including discovery, address lease requests and renewals.
  • /var/log/esxupdate.log: ESXi patch and update installation logs.
  • /var/log/hostd.log: Host management service logs, including virtual machine and host Task and Events, communication with the vSphere Client and vCenter Server vpxa agent, and SDK connections.
  • /var/log/shell.log: ESXi Shell usage logs, including enable/disable and every command entered. For more information, see the Managing vSphere with Command-Line Interfaces section of the vSphere 5 Command Line documentation andAuditing ESXi Shell logins and commands in ESXi 5.x (2004810).
  • /var/log/sysboot.log: Early VMkernel startup and module loading.
  • /var/log/boot.gz: A compressed file that contains boot log information and can be read using zcat /var/log/boot.gz|more.
  • /var/log/syslog.log: Management service initialization, watchdogs, scheduled tasks and DCUI use.
  • /var/log/usb.log: USB device arbitration events, such as discovery and pass-through to virtual machines.
  • /var/log/vob.log: VMkernel Observation events, similar to vob.component.event.
  • /var/log/vmkernel.log: Core VMkernel logs, including device discovery, storage and networking device and driver events, and virtual machine startup.
  • /var/log/vmkwarning.log: A summary of Warning and Alert log messages excerpted from the VMkernel logs.
  • /var/log/vmksummary.log: A summary of ESXi host startup and shutdown, and an hourly heartbeat with uptime, number of virtual machines running, and service resource consumption. For more information, see Format of the ESXi 5.0 vmksummary log file (2004566).
Note: For information on sending logs to another location (such as a datastore or remote syslog server), see   Configuring syslog on ESXi 5.0 (2003322).

reference
http://kb.vmware.com

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

ความแตกต่างระหว่าง ESX และ ESXi

ความสามารถครั้งใหญ่ของ Virtual Machine File System 5 (VMFS-5)

ติดตั้ง และใช้งาน VMware ESXi 4 (Free Version)