Collect vSphere Log Files
Download the log bundle from vSphere Client connected to a vCenter Server system.
Select Administration > Export System Logs to download the log bundle.
The log bundle is generated as a .zip file. By default, the vpxd logs within the bundle are compressed as .gz files. You must use gunzip to uncompress these files.
Generate vCenter Server log bundles from a vCenter Server system
Select Start > Programs > VMware > Generate vCenter Server log bundle.
You can use this to generate vCenter Server log bundles even when you are unable to connect to the vCenter Server using the vSphere Client. The log bundle is generated as a .zip file. By default, the vpxd logs within the bundle are compressed as .gz files. You must use gunzip to uncompress these files.
You can turn off this setting to leave the vpxd logs uncompressed.
1. Log in to the vCenter Server using the vSphere Client.
2. Select Administration > vCenter Server Settings.
3. Select Advanced Settings.
4. In the Key text box, type log.compressOnRoll.
5. In the Value text box, type false.
6. Click Add, and click OK.
Collect ESXi Log Files
You can collect and package all relevant ESXi system and configuration information, a well as ESXi log files. This information can be used to analyze the problems.
Run the following script on the ESXi Shell: /usr/bin/vm-support
The resulting file has the following format: esx-date-unique-xnumber.tgz