The following article(s) have been sent to you. To access an article, click on a link below.
Collecting diagnostic information for VMware ESX Server
如何收集ESX Server日志Collecting diagnostic information for VMware ESX Server Products
What information should I provide to VMware Technical Support to help diagnose a problem with VMware ESX Server?
Solution
ESX Server includes a script called vm-support, which collects information that VMware support might request and packages that information into one file. Send this file with your support request.
After you file a support request, you might receive an email request from VMware Technical Support asking for the output of the vm-support script. Reply to the email and attach your script output file to the reply. If the output is too large to include as an attachment (10MB or more), please contact VMware Technical Support with your support request number and request FTP upload instructions.
You can also update your support request and attach the file at the support Web site. Go to and log on. Click the Support Request History link and find the applicable support request number. You can update that support request and attach your vm-support script output.
To make sure you have version 1.14 or later of the script
Version 1.14 (and later) of the vm-support script produces more diagnostic information than previous versions of the script.
ESX Server 3.x includes a version of vm-support newer than 1.14. You don't need to check the version of this script or update it.
ESX Server 2.x might include a version earlier than 1.14. To see which version is installed on your system, run the command with no options. For example:
[user@esx2host]$ cd /tmp
[user@esx2host]$ /usr/bin/vm-support
VMware ESX Server Support Script 0.94
Preparing Files: |
[Ctrl+C to cancel]
If you have a version earlier than 1.14, follow the instruction at the end of this article to download and install version 1.14 of the script.
To collect diagnostic information using the script
Log on to the service console as root.
Confirm what version of VMware ESX Server you are running:
[root@esxhost]# vmware -v
Change to the directory where you want the output to appear. For example:
[root@esxhost]# cd /tmp
If you run the script in /usr/bin, the output will appear in that directory and remain there until you delete it.
Run the script:
[root@esxhost]# /usr/bin/vm-support
You don't need to power off your virtual machines before running this script.
For ESX Server performance issues, VMware Technical Support might ask you to collect performance snapshots using the the -s and -S switches. Please refer to for more information.
When the script finishes, it informs you of the output filename and location.
To copy the script output to another location
To transfer the compressed output file to another computer, you can use an SCP (Secure Copy) or FTP client to access the service console of ESX Server. If you use an FTP client, please check that it copies the file in binary mode to ensure the whole file is transferred intact.
WinSCP is an SCP client for Microsoft Windows, available at .
Before you can send the information to VMware Technical Support, make sure you have filed a support request at .
To install version 1.14 of vm-support, if you have an older version (ESX Server 2.x users only)
Log on as root at the service console.
Double-check which version of vm-support you have. For example:
[root@esxhost]# cd /tmp
[root@esxhost]# /usr/bin/vm-support
VMware ESX Server Support Script 0.94
Preparing Files: |
[Ctrl+C to cancel]
If the version is older than 1.14, continue. If not, you don't need to download the version attached to this article.
Download the attached file (found at the bottom of the article under File Attachments) and move it to the /tmp directory on the service console of the ESX Server system.
Note: the MD5 sum for the vm-support file in the attachment is: 263df274162dc21a91a37552b1f4088d
Make a backup copy of your existing script:
[root@esxhost]# cp /usr/bin/vm-support /usr/bin/vm-support.old
Extract the archive to /usr/bin/, replacing the original vm-support script:
[root@esxhost]# cd /usr/bin
[root@esxhost]# tar xvzf /tmp/653_fvm-support_114.tgz
The archive places the vm-support script in the current directory.
Note: When running on an older version of ESX Server, the updated script might report errors about missing commands. This is normal.
Product Versions: ESX 2.0.X;2.1.X;2.5.X;3.0.X;3.5.X