Translate

Total Pageviews

My YouTube Channel

Tuesday 8 July 2014

Collecting diagnostic information for VMware vCenter Server 4.x/5.x (1011641)

Symptoms

VMware Technical Support routinely requests 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 vCenter 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.

Resolution

Diagnostic information can be collected from vCenter Server using these methods. Select the method most appropriate to your environment.

Collecting diagnostic information using VMware vSphere Client

You can use the VMware vSphere or VI Client to collect diagnostic information for VMware vCenter Server at the same time as from managed ESXi/ESX hosts.

To collect the diagnostic information using the vSphere Client:
  1. Connect to vCenter Server using the vSphere Client.
  2. Start collecting diagnostic information. For more information, see Collecting diagnostic information for VMware ESXi/ESX using the vSphere Client (653).
  3. Select the checkbox to include information from vCenter Server.
  4. The log bundle appears in the specified folder when the download is complete. The log bundle is named with the current date and time. For example:

    VMware-vCenter-support-yyyy-mm-dd@ HH-MM-SS.zip

Collecting diagnostic information from vCenter Server using the PowerCLI

You can use the VMware PowerCLI to collect diagnostic information for VMware vCenter Server at the same time as from managed ESXi/ESX hosts. For more information, see Collecting diagnostic information for VMware vCenter Server and ESXi/ESX using the vSphere PowerCLI (1027932).

Collecting diagnostic information from vCenter Server 5.1 using the vSphere Web Client

When the vSphere Web Client is connected to the vCenter Server system, you can select hosts from which to generate and download system log files and the option to include vCenter Server and vSphere Web Client logs. For more information, see Collecting diagnostic information for ESXi/ESX hosts and vCenter Server using the vSphere Web Client (2032892).

Note: You can also you use the Log Browser feature in the vSphere Web Client to view, search, and export one or more vCenter Server or ESXi host log files. For more information, see Using the Log Browser to view, search, and export Logs for troubleshooting (2032888).

Collecting diagnostic information from vCenter 5.x Server Appliance using the command line

To collect diagnostic information from the vCenter 5.x Server Appliance:
  1. Open a console session to the vCenter Server Appliance.
  2. Log in as an administrative user, such as root.
  3. Run the command:

    /usr/sbin/vc-support.sh
  4. The command lists each file being included in the support bundle, and the path and file name of the produced log bundle. The log bundle is named with the current date under the directory where the command was issued. For example:

    /root/vcsupport-yyyy-mm-dd.pid.zip

Collecting diagnostic information from vCenter 5.x Server Appliance using a web browser

To collect diagnostic information from the vCenter 5.x Server Appliance (VCSA) using a web browser:
  1. Open a web browser and navigate to:

    https://vCenter_Server_IP_address:5480
  2. Log in with your credentials or as the local administrator.
  3. Click the vCenter Server tab.
  4. Click the Status tab.
  5. Click the Download vCenter Server Support Bundle link.
  6. When complete, the support bundle is located on the VCSA at:

    /tmp/vc-support-bundle/

Collecting diagnostic information from vCenter Server 4.0 and higher for Windows using the Start Menu item

To collect the diagnostic information for VMware vCenter Server 4.x and above:
  1. Log into the Windows server where VMware vCenter Server is installed.
  2. Click Start > All Programs > VMware > Generate vCenter Server log bundle - Extended.

    Note: In Windows 2008 R2, use Run As Administrator.
  3. A command prompt window appears and shows the log collection progress.
  4. When complete, the command prompt window closes. A log bundle is placed on the desktop of the current user, named with the current date and time. For example:

    vc-support-mm-dd-yyyy-HH-MM.zip

Collecting diagnostic information from vCenter Server 2.5 and higher for Windows using the command line

To collect diagnostic information from vCenter Server 2.5 and higher using the command line:
  1. Log into the Windows server where VMware vCenter Server is installed.
  2. Open a command prompt.
  3. Change directories to the vCenter Server installation directory. For example:

    cd "C:\Program Files\VMware\Infrastructure\VirtualCenter Server\"
  4. Run the vc-support.wsf command to generate a log bundle:

    • For vCenter Server 4.x on 64-bit Windows:

      %WINDIR%\SysWOW64\cscript.exe vc-support.wsf
    • For all other versions:

      cscript scripts\vc-support.wsf
      To redirect from the default desktop location:

      cscript scripts\vc-support.wsf /z /s:<output location>
  5. The command lists each file being included in the support bundle, and the path and file name of the produced log bundle. The log bundle is named with the current date. For example:

    vcsupport-mm-dd-yyyy-HH-MM.zip


Note: vCenter Server logs do not collect Auto Deploy server log information. To obtain Auto Deploy logs, see Troubleshooting vSphere Auto Deploy (2000988).

Source:-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1011641 
 

No comments:

Post a Comment