Instructions on collecting Support bundle for DSM via local utility when System Log Repository is not configured or SupportBundle API is not working
search cancel

Instructions on collecting Support bundle for DSM via local utility when System Log Repository is not configured or SupportBundle API is not working

book

Article ID: 420878

calendar_today

Updated On:

Products

VMware Data Services Manager

Issue/Introduction

This article outlines examples/instructions on how to use the dsm-support.sh script, shipped as part of the DSM appliance, to collect Support bundles

Some environments don't have System Log Repository configured. In order to generate Support bundles without requiring System Log Repository, this one-off dsm-support.sh script can be used.

Instructions to use the script to collect the Support bundle can be found in this document.

Environment

VCF & DSM9.0.2

Resolution

1. Log into the appliance as a root user over SSH protocol (SSH root password was specified by the user during installation) 

2. Execute the below command to collect the bundle.

/opt/vmware/tdm-provider/bin/dsm-support.sh <Full/Appliance/DataService>

Explanation of the command:
The script takes one argument which determines the scope of the Support bundle. Possible values are:

`Full` - collect Support bundle for the Control plane appliance plus Support bundle for each Data service cluster in the system.
`Appliance` - collect Support bundle for the Control plane appliance
`DataService` - collect Support bundle for a specific Data service cluster. You will be promted to select Data service kind, namespace and name.
Note: The 'Full' option is only supported for small to mid-size deployments. To create a SupportBundle with IncludedDataServices=All that includes all data services, VMware Data Services Manager must have up to 50 data services by default. Generating SupportBundle with IncludedDataServices=All might take a while and can make it harder for Broadcom Support to identify the impacted data service. Consider generating a Support Bundle for the data service where the problem occurred.


Example run:

 

/opt/vmware/tdm-provider/bin/dsm-support.sh DataService
Enter data service kind (PostgresCluster/MySQLCluster/SqlServerCluster):PostgresCluster
Enter data service namespace: new-namespace
Enter data service name: test-cluster


3. When the command completes successfully it will output the location to the Support bundle archive. For instance:

Support bundle generated at /data/support/support-bundle-2025-09-10-102812.tgz


In case issues were encountered during Support bundle creation the script will fallback and will generate logs from the Control plane components. In this case the script will output the location to the Control plane bundle archive. For instance:

Successfully generated Control plane support bundle at /data/support/control-plane-20250910-103128.tar.gz


4. The generated archive can be shared.

Additional Information

Note: Script also accepts additional configuration like:

 
./dsm-support.sh <Full/Appliance/DataService> "<retention_hours>h" "<transition_to_inprogress_mins>" "<get_ready_mins>" "<get_deleted_mins>"

e.g.

 
./dsm-support.sh Appliance "3h" "1" "5" "5"