Capturing a Support Bundle from the CLI

Troubleshooting for VMware Solutions

Audience
Public
Source Type
Documentation

  1. Log into the Master node as root via SSH or Console.
  2. Run the generateSupportBundle.py script using this command:

    Generating a Light Support Bundle:

    
    root@vrops [ ~ ]# python /usr/lib/vmware-vcopssuite/utilities/bin/generateSupportBundle.py -a create -f 1,2,3,4 -m
    

    Generating a Full Support Bundle:

    
    root@vrops [ ~ ]# python /usr/lib/vmware-vcopssuite/utilities/bin/generateSupportBundle.py -a create -f 1,2,3,4
    
  3. The support bundle will be placed in the /usr/lib/vmware-vcops/support/timestamp directory (where timestamp is the milliseconds since epoch time).
  4. Once the support bundle has been successfully generated capture the ".zip" files under the stored directory and upload them to the Pure Storage FTPS by following the FTPS for Uploading Files to Everpure KB.

    Below is an example of what the output looks like following the successful creation of a support bundle. Please see below the ".zip" files mentioned in step 4.

    Note:

    root@vrops-8 [ ~ ]# python /usr/lib/vmware-vcopssuite/utilities/bin/generateSupportBundle.py -a create -f 1,2,3,4 -m

    Default Values:

    timestamp: -t=1596155572992 (current time in milliseconds)

    Option -m=true so only most recent logs will be bundled.

    Waiting until support bundle is created

    SLF4J: Class path contains multiple SLF4J bindings.

    SLF4J: Found binding in [jar:file:/usr/lib/vmware-vcops/tomcat-enterprise/webapps/suite-api/docs/bindings/java/vcops-suiteapi-client-1.11-all.jar!/org/slf4j/impl/StaticLoggerBinder.class]

    SLF4J: Found binding in [jar:file:/usr/lib/vmware-vcops/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]

    SLF4J: Found binding in [jar:file:/usr/lib/vmware-vcops/common/lib/vcops-suiteapi-client-1.11-all.jar!/org/slf4j/impl/StaticLoggerBinder.class]

    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

    SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

    Tech support bundle is created successfully for timestamp: 1596155572992

    ------------Generated support bundles----------------

    /usr/lib/vmware-vcops/support/1596155572992/1,2,3-light-1596155572992.zip <------ Upload

    /usr/lib/vmware-vcops/support/1596155572992/4-light-1596155572992.zip <------ Upload

    /usr/lib/vmware-vcops/support/1596155572992/summary-1596155572992

    /usr/lib/vmware-vcops/support/1596155572992/log