VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Collecting diagnostic information for VMware Server

Details

VMware Technical Support routinely request diagnostic information from you when a support request is handled. This diagnostic information contains product specific logs and configuration files from the host on which the product is run. The information is gathered using a specific script or tool for each product.
 
This article provides procedures for obtaining diagnostic information for VMware Server.
 
The diagnostic information collected can then be uploaded to VMware Technical Support. To uniquely identify your information, use the Support Request (SR) number you received when you opened your Support Request.

Solution

Ensure you have the correct version of the script
 
Check to see that your version of vm-support is at least that listed for your version of VMware Server software. The minimum acceptable versions are as follows:
  • VMware Server 1.0 for Linux - version 0.87
  • VMware Server 1.0 for Windows - version 1.1
  • VMware Server 2.0 for Linux - version 0.88
  • VMware Server 2.0 for Windows - version 1.1
These versions provide improvements required to protect the security of your data when providing support information to VMware. For more information about these security improvements, see Data Security Best Practices - SSL keys for communicating with Virtual Center and other applications (1008166) .

To see which version is installed on your system, run the vm-support command with no options. If you have a version earlier than that listed above, follow the instruction at the end of this article to download and install the most recent version of the script.
 
To collect diagnostic information using the script on a Windows host
  1. Open a command prompt. For more information, see Opening a command or shell prompt (1003892).
  2. Change to the VMware Workstation program directory, type:

    cd "%ProgramFiles%\VMware\VMware Server"

    Note: If you did not install the program in the default directory, use the appropriate drive letter and substitute the appropriate path in the cd command above.

  3. Run the support script, type:

    cscript vm-support.vbs

  4. After the script runs, it will display the name of the folder where it wrote the output. Use a file compression utility such as WinZip or 7ZIP to compress the folder. Include this file with your support request.

 Note: If your Virtual Machines are installed in a non-standard location, the script might not pick up all data we need to examine. Please ensure *.log and *.vmx from your VM folders are included with the files you send.

To collect diagnostic information using the script on a Linux host

  1. Confirm what version of VMware Server you are running, type:

    vmware -v

  2. Change to the directory where you want the vm-support output to appear. For example:

    cd /tmp

  3. Run the script:

    /usr/bin/vm-support

  4. When the script finishes, it informs you of the output .TGZ filename and location.

Note: If your virtual machines are installed in a non-standard location, the script might not pick up all data we need to examine. Please ensure *.log and *.vmx from your VM folders are included with the files you send.

To install a new version of vm-support, if you have an older version on a Linux host

  1. Log on as root at the service console.

  2. Double-check which version of vm-support you have. For example:

    [root@esxhost]# cd /tmp
    [root@esxhost]# /usr/bin/vm-support

    VMware Server Support Script 0.94

    Preparing Files: |
    [Ctrl+C to cancel]


  3. Make a backup copy of your existing script:

    [root@esxhost]# cp /usr/bin/vm-support /usr/bin/vm-support.old

  4. Download the appropriate file for your version of VMware Server from the File Attachments section at the bottom of this KB article and move it to the /tmp directory on the service console of the VMware Server system.

    Note: Read the Acceptance of Terms Notice, below, before downloading.

    Software version Version Filename / Download md5sum
    VMware Server 1.0 (for Linux) 0.87 vm-support.zip 31de68b6bd4c5fe4ff4e133fe459f90d
    VMware Server 2.0 (for Linux) 0.88 vm-support.zip ab6eb6bc48071166d40c701f2be2c10c



  5. Extract the archive

    [root@esxhost]# unzip <filename>.zip

  6. Verify that the MD5 sum of the vm-support file in the attachment matches the value for your software version listed in table above.

  7. Copy the the vm-support script to the /usr/bin/ directory, replacing the original vm-support script.

    Note: When running on an older version of ESX Server, the updated script might report errors about missing commands. This is normal.

To install a new version of vm-support, if you have an older version on a Windows host

  1. Log on to the Windows host with administrative privileges.

     
  2. Check which version of vm-support you have. For VMware Server on Windows, all scripts without a version number are older than the current version and should be replaced.

  3. Make a backup copy of your existing script.

  4. Download the appropriate file for your version of VMware Server from the File Attachments section at the bottom of this KB article and move it to the /tmp directory on the service console of the VMware Server system.

    Software version Version Filename / Download md5sum
    VMware Server 1.0 (For Windows) 1.1 vm-support.zip 1edd585c9d7e00eec6e096b8f6b6c86f
    VMware Server 2.0 (For Windows) 1.1 vm-support.zip 42aa8580159a8c93141076c2a9357f86

  5. Extract the archive and verify that the MD5 sum of the vm-support file in the attachment matches the value for your software version listed in table above. For more information on MD5 sum verification, see http://www.vmware.com/download/md5.html.

  6. Copy the the vm-support.vbs script to the VMware server installation directory, usually C:\Program Files\VMware\VMware Server, and replace the original vm-support.vbs script.

Acceptance of Terms Notice

NOTICE: BY DOWNLOADING AND INSTALLING, COPYING OR OTHERWISE USING THESE KERNEL MODULES, INCLUDING DRIVERS, PLUG-INS, OR UPDATES, YOU UNDERSTAND AND AGREE THESE KERNEL MODULES ARE TO BE CONSIDERED RELATED COMPONENT(S) OF THE SOFTWARE UNDER THE TERMS OF YOUR VMWARE ESX END USER LICENSE AGREEMENT ("EULA") AND YOUR USE OF THESE KERNEL MODULES IS GOVERNED BY THE TERMS OF YOUR EULA. IF YOU DO NOT AGREE TO THESE TERMS, YOU MAY NOT DOWNLOAD, INSTALL, COPY OR USE THESE KERNEL MODULES. "YOU" MEANS THE NATURAL PERSON OR THE ENTITY THAT IS AGREEING TO BE BOUND THESE TERMS, THEIR EMPLOYEES AND THIRD PARTY CONTRACTORS THAT PROVIDE SERVICES TO YOU. YOU SHALL BE LIABLE FOR ANY FAILURE BY SUCH EMPLOYEES AND THIRD PARTY CONTRACTORS TO COMPLY WITH THE TERMS OF THIS AGREEMENT.

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (3 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (3 Ratings)   
Actions