Generate SDDC Manager Support Bundle through UI and CLI

This tutorial will show you how to generate the SDDC Manager Support Bundle through the Developer Center UI and Command line.

Generate SDDC Manager Support Bundle through UI and CLI

Whenever there is an issue with the SDDC Manager, a support bundle is essential for working with VMware or Broadcom technical support. I am going to show, step-by-step, how to download the SDDC support bundle through the Developer Center UI and command line.

Generate Support Bundle through Command Line:

Step 1: SSH into the SDDC Manager through PuTTY using the 'vcf' account, then switch to the root account from the shell using the 'su' command.

Step 2: Use the command below to generate the support bundle from the SDDC manager.

/opt/vmware/sddc-support/sos --sddc-manager-logs --zip

!If want to download the support bundle for a specific workload domain use the below command.

/opt/vmware/sddc-support/sos --domain-name <YOUR WORKLOAD DOMAIN> --sddc-manager-logs --zip 

 /opt/vmware/sddc-support/sos --domain-name mgmt-domain --sddc-manager-logs --zip


Generate Support Bundle through Command Line

Step 3: Once the support bundle is created, you can verify it at the following path: /var/log/vmware/vcf/sddc-support/. Use the command below to list the directory.

ls -ltrh /var/log/vmware/vcf/sddc-support/

ls -ltrh /var/log/vmware/vcf/sddc-support/

Step 4: Download the SDDC support bundle from the SDDC Manager using the WinSCP tool. Drag the SoS file to the desired location to download it, or right-click to download the file.

Note: We can't directly log in to the SDDC manager using the root account on WinSCP; instead, we use the vcf account.


Download the SDDC support bundle from the SDDC manager using WinSCP tool.

Generate Support Bundle through the SDDC Manager Developer Center UI:

Caution: Don't run any other API unless you fully understand.


Step 1:
 Once logged into the SDDC Manager UI, navigate to the Developer Center menu on the left pane. On the right side, go to the API Explorer tab, locate the SOS API Call, and expand the arrow SOS > POST /v1/system/support-bundles to start a support bundle operation using SoS.

Generate Support Bundle through the SDDC Manager Developer Center UI:

Step 2: Once expanded, go to SOS -> Expand > POST /v1/system/support-bundles. Start a Support Bundle operation using the SoS API, then Execute the API call. Wait patiently for 10 to 15 minutes; timing may vary based on workload inventory.

03-Generate_SDDC_Support_Bundle_UI-Expand-Arrow-SOS-POST

04-Generate_SDDC_Support_Bundle_UI-Expand-Arrow-SOS-Execute-API

Step 3: Use SSH to download the SDDC manager Support bundle or Use API call to download the bundle. First, get the ID of the generated support bundle using >GET /v1/system/support-bundles Retirve a list of support bundle tasks then Execute will show the task id.


07-Generate_SDDC_Support_Bundle_UI-GET-SUPPORT_BUNDLE_ID

Step 4: Once the ID is fetched use GET /v1/system/support-bundles/{id}data  Download a support bundle tar .gz by ID, API call. Paste the ID on the ID parameter value then execute. Refer the screenshot.



Note: For me, it takes a long time to execute the API call itself due to the lab environment. Please leave a comment in the command box if you successfully download the bundle using a REST API call.


“Information is power. But like all power, there are those who want to keep it for themselves.”

― Aaron Swartz

I hope this information is useful for you. Please forgive any typos or incomplete sentences.

Thanks for Visiting vNetes.com

Post a Comment (0)
Previous Post Next Post