Логи ESX и vCenter.

Взял основу отсюда - Which ESX log file, Which Virtual Center Log File.


• Vmkernel - /var/log/vmkernel – records activities related to the virtual machines and ESX server.

• Vmkernel Warnings - /var/log/vmkwarning – records activities with the virtual machines.

• 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 - Contain all general log messages used to troubleshoot virtual machines on ESX Server.

• 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.

            Ротация настраивается /etc/opt/vmware/vpxa/vpxa.cfg

Ротация большинства логов настраивается в  /etc/logrotate.conf

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.

To specify an alternative location or file name for virtual machine logging, use the log.filename option.
To direct logs to be written to an alternate location, use log.filename.
To configure log rotation behaviors, define them in the .vmx file of the virtual machine and use log.rotateSize and log.keepOld.

Можно еще сюда попробовать заглянуть - VMware logs. Кое какакая информация, полезная при трабшутинге.

А из этой статьи в KB можно вычитать настройки логирования для логов ВМ:

  • logging = true or false
  • log.rotateSize = maximum size in bytes the file can grow to: 10000
  • log.keepOld = rotation level, amount of log files to keep: 10
  • log.fileName = change name and path of log file


Virtual Center Installation Logs

Install logs are located in the %TEMP%directory of the user that installed software

  • vmlic.log test results for served license file during install
  • redist.log MDAC/MCAD QFE rollup install results
  • vmmsde.log MSDE installation log
  • vmls.log License server installation log
  • vmosql.log Creation of database/trans logs for VCDB
  • vminst.log Log of VC server installation and subtasks
  • VCDatabaseUpgrade.log Details of upgrading from VC 1.x DB
  • vmmsi.log VI client installation logvpx’vpxd-0.log small stub from first time starting service
Virtual Center Logs
  • Location: %TEMP%\vpx (relative to the user account running vpxd)
  • Name: vpxd-#.log (# is one digit, 0-9)
  • vpxd-index contains the # of the currently active log file
  • Logs rotate each time vpxd is started, and also when it reaches 5 MB in size
Miscellaneous Logs
  • Core dump location %USERPROFILE%’Application Data’VMware
  • License Server debug log %ALLUSERSPROFILE%’Application Data’VMware’VMware License Server’lmgrd.log(reset each time the service starts; no rotation)
  • %ALLUSERSPROFILE%’Application Data’Macrovision’FLEXlm’
  • Web Access (Tomcat) LogsC:’Program Files’VMware’VMware VirtualCenter 2.0’tomcat’logs

Ротация настраивается в конфиге
%ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\vpxd.cfg

VI Client Logs
  • Intended for client-specific diagnostics
  • Location: %TEMP%\vpx (relative to the user running the client)
  • Name: viclient-#.log (# is one digit, 0-9)
  • No index file
  • Logs rotate each time VI Client is started