This command creates a support bundle.
Usage
supportbundle create --prefix PREFIX
[--preset PRESET]
[--start-time TIME]
[--end-time TIME]
[--obfuscated]
[--cnodes-only]|[dnodes-only]
[--cnode-ids CNODE_IDs]
[--dnode-ids DNODE_IDs]
[--cnode-names CNODE_NAMEs]
[--dnode-names DNODE_NAMEs]
[--dbox-ids DBOX_IDs]
[--dbox-names DBOX_NAMEs]
[--dtray-ids DTRAY_IDs]
[--dtray-names DTRAY_NAMEs]
[--all-cnodes]
[--all-dnodes]
[--vippool-ids POOL_IDs]
[--vip-ids VIP_IDs]
[--hubble-args ARGs]
[--astron-args ARGs]
[--luna-args ARGs]
[--max-size SIZE]
[--text]
[--send-now]
[--upload-via-vms]
[--bucket-name NAME]
[--access-key KEY]
[--secret-key KEY]
[--bucket-subdir DIR]
[--delete-after-send]
[--split-time SECONDS]
Required Parameters
| Enter an identifying label to include in the bundle file name. The prefix can contain up to 64 characters. Special characters are not allowed (except _ and -). The first character must be a letter or digit. The name of the bundle will be bundle-<preset>-<cluster name>-<prefix>-<timestamp>.tar, where <prefix> is the prefix specified here. If the bundle is obfuscated ( For example, if the prefix is MyUrgentIssue, a bundle using the mini preset created at exactly 7:45 am UTC on September 3rd, 2020 on a cluster called cluster1 would be named bundle-mini-cluster1-MyUrgentIssue-2020-09-03-074500.tar. |
Options
| Specify a category (or categories) that best suits the issue for which you are creating the support bundle. Each category includes a predefined set of data objects in the support bundle. Verify with your support engineer which category is suitable for your needs. If no categories are specified, only management logs are collected. Specify one or more of the following categories as PRESET:
|
| Sets the start time from which to collect information. Specify TIME in UTC+0 in the format |
| Sets the end time for the period to collect information. Specify TIME in UTC+0 in the format It's usually advisable to consult with the support engineer on the time frame so that you can make it as short as possible and minimize the size of the bundle. |
| Converts all bundled objects to text and obfuscates them. Any data that cannot be converted to text is not included in the bundle. The following types of information are replaced with a non-reversible hash: file and directory names, IP addresses, host names, user names, passwords, MAC addresses. If this option is not specified (default), the information is not obfuscated. |
| Specify this option to collect data from CNodes only. This blocks DNode options. |
| Specify this option to collect data from DNodes only. This blocks CNode options. |
| Specify a comma-separated list of CNode IDs to collect data from. By default, all CNodes are included. This option cannot be used together with
|
| Specify a comma-separated list of DNode IDs to collect data from. By default, all DNodes are included. This option cannot be used together with |
| Specify a comma-separated list of CNode names to collect data from. |
| Specify a comma-separated list of DNode names to collect data from. |
| Specify a comma-separated list of DBox IDs to collect data from. |
| Specify a comma-separated list of DBox names to collect data from. |
| Specify a comma-separated list of DTray IDs to collect data from. |
| Specify a comma-separated list of DTray names to collect data from. |
| Specify this option to collect data from all CNodes. |
| Specify this option to collect data from all DNodes. |
| Specify a comma-separated list of virtual IP pools to collect data only from CNodes that are included in these virtual IP pools. |
| Collect support bundle from CNodes hosting specified VIPs. Specify VIPs as a comma separated list of VIP IDs. Includes historical CNodes that hosted these VIPs during the time range. |
| Enter any arguments to pass to Hubble, per instructions from the support engineer. |
| Enter any arguments to pass to Astron, per instructions from the support engineer. |
| Specify internal arguments for the luna analyzing tool tool mapping to performance dashboards or specific component failures. |
| Enter a maximum data limit to apply to the collection of binary trace files, in GB. |
| Converts all bundled objects to a text format. Any data that cannot be converted to text is not included in the bundle. This setting is enabled automatically if |
| Sends the support bundle immediately after it is created. |
| Uploads a support bundle via VMS. Otherwise, the upload is done from each node. This option is available only if |
| Specifies the S3 bucket name of the destination S3 bucket. |
| Specifies the access key of a valid key pair to access the destination S3 bucket. |
| Specifies the secret key of a valid key pair to access the destination S3 bucket. |
| Specifies the subdirectory in the destination S3 bucket to which to upload the support bundle. |
| Deletes the support bundle immediately after it has been sent successfully. |
| Time interval in seconds for splitting large bundles when uploading. Used with |
Node Selection Rules
When using explicit node identification parameters:
If CNodes or DNodes are explicitly listed on the CLI (by ID or Name), only those specified nodes will be selected.
Example: Specifying
--cnode-ids 2without selecting DNodes collects logs strictly from CNode ID 2 and omits all DNodes. To include DNodes when selecting specific CNodes, you must explicitly pass--all-dnodesor list specific DNodes by ID/Name.
Example
This example shows creating a standard support bundle on CNodes 5 and 6:
vcli: admin> supportbundle create --prefix SB --preset standard --start-time "2022-04-18 03:00:00" --end-time "2022-04-18 03:15:00" --cnode-ids 5,6