How to Obtain Diagnostic Information for VMware ESXi 5.0 hosts using the vSphere Client

When you lodged a support request to VMware Technical Support, they routinely requests the diagnostic information from you. This diagnostic information contains product specific logs and configuration files from the host on which the product is run or from the host that may have issues and need further troubleshooting. This information is gathered using a specific script or tool within the product. Collecting diagnostic information is the same as collecting or gathering log files. This post will provides procedures for obtaining diagnostic information for ESXi 5.0.

VMware Official Knowledge Base

ESXi 5.0 host diagnostic information can be gathered using the vSphere Client connected to the ESXi host or to vCenter Server.

To gather diagnostic data using the VMware vSphere Client:

1.  Open the vSphere Client and connect to vCenter Server or directly to an ESXi 5.0 host.
2.  Log in using an account with administrative privileges or with the Global.Diagnostics permission.
3.  Select an ESXi host, cluster, or datacenter in the inventory.
4.  Click the File > Export > Export System Logs.
5.  If a group of ESXi hosts are available in the selected context, select the host or group of hosts from the Source list.
6.  Click Next.
7.  In the System Logs pane, select the components for which the diagnostic information must be obtained. To collect diagnostic information for all the components, click Select All.
8.  If required, select the Gather performance data option and specify a duration and interval.

VMware
9.  Click Next.
10.  In the Download Location pane, click Browse and select a location on the client’s disk where you want to to save the support bundle.
11.  Click Next.
12.  In the Ready to Complete pane, review the summary and click Finish. The Downloading System Logs Bundles dialog appears and provides progress status for the creation and downloading of the support bundle from each source. A Generate system logs bundles task is created.
13. When complete, upload the logs to the FTP site. For more information, see Uploading diagnostic information to VMware (1008525).

How to Download VMware vSphere Command-Line Interface (vSphere CLI)

The vSphere Command-Line Interface (vSphere CLI) command set allows you to run common system administration commands against ESX/ESXi systems from any machine with network access to those systems. vSphere CLI provides a set of commands that you use to manage, configure, and automate administrative activities for ESXi and your vSphere virtual environment. It’s includes the ESXCLI command set, vicfg- commands, and some other commands. This are the current version of the vSphere CLI at the time this post is written.

Version: 5.0
Release Date: 8/24/2011
Target Platform: ESXi 5.0, ESX 4.x, vCenter 4.x and later, VMware Infrastructure 3.5 u2 and later

To install vSphere CLI version 5.0 on your workstation, please follow the steps :

1. Browse to ESXi 5.0 server’s ip address. As example, http://192.168.1.50,
Under For Administrator –> vSphere Remote Command Line, Click “Download Windows Installer(exe)“. This vSphere CLI installer is for windows operating system platform such as Windows 7 and Windows XP :
vmware

2. Click Download to proceed :
vmware

3. If you have registered to vmware.com, please login, otherwise register it for free :
vmware

4. Please select download option either using Download manager or use web browser. Recommended way is to use Download manager as i may faster than usual. By the way, I have use web browser :
vmware

5. Wait for downloading.
vmware