Note |
---|
Unnecessary with SCS Storage Setting Checker tool is unnecessary if running on SCS. It is not useful with any Swarm version above v14. |
...
For CSN sites only, use the techsupport‑bundle‑grab.sh
with the ‑s option to run the settings checker and bundle the output along with the other needed logs and support information:
Download the latest support bundle:
...
How to collect a support bundle
Info title Important Always verify the latest downloaded version is available when using this tool for settings analysis before upgrading.
Unpack the support tools.
Generate the complete tarball by running the following script with the settings option included from the support tools directory:
Code Block language bash techsupport-bundle-grab.sh -s
Note: The admin password is required if it is changed from the default of admin:caringo.
-A [admin pass]Code Block language bash techsupport-bundle-grab.sh -s -A password_of_cluster_admin
Create a new ticket for the configuration review on the Support site and note the ticket number (such as
...
210621-
...
000063), which is required later.
Upload the tarball.
Run the following command from the directory where the support tools are located if the machine has access to the internet:
Code Block source bashrcforcustomers
Then run:
Code Block language bash uploadtosupport [output-file] -u [ticket number]
Use
scp
to securely copy the file to a location with internet access and then use the Support Uploader if no internet access is available
...
.
Support is notified for the upload and works on any configuration issues that are surfaced.
Running the Checker (Non‑CSN)
...
Info |
---|
Python 3 not available Follow this process if Python 3 is not available:
|
Download the latest support bundle: swarm-support-tools.tgz on the Support site
Check whether Python 3 is installed:
Code Block python --version
Install it now if it is not.
Unpack the support tools.
Run the following Python script with the needed options:
Code Block language py python3 settings_checker.py [options]
See Script Options below.
The script outputs a text file that does not need to be compressed. Use
scp
to secure copy the file to a location with internet access.Create a new ticket for the configuration review on the Support site and note the ticket number (such as
...
210621-
...
000063).
Upload the file with the Support Uploader.
Enter the ticket number when prompted; the file is attached to the ticket.
Support is notified of the upload and works on any configuration issues
Script Options
Which options are required depend on the type of Swarm environment running:
...
Info |
---|
Typical usage, non-CSN
|
Options | Rules | Scope | Notes | ||
---|---|---|---|---|---|
| Show program help and exit. | ||||
| Show program's version number and exit. | ||||
| The pathname of the output file, which opens in append mode. Defaults to timestamped output in the current working directory: | ||||
| Disabled by default. Print to the console, as well as the output file. | ||||
| Display more output. | ||||
| Do not use with ‑u | CSN | The password of the cluster admin, used to retrieve the cluster's PSS (persisted settings stream). The password is read from the cluster.cfg file if not specified. | ||
| Do not use with ‑ | Non‑CSN | The The username is read from the node.cfg file if not specified. | ||
| Do not use with ‑ | Non‑CSN | The script defaults to legacy CSN configuration locations if not specified. | ||
| Only use with ‑ | Non‑CSN | Optionally, specifies the file type, if other than ' | ||
| Do not use with ‑ | Non‑CSN | The location of the configuration file (or files separated by a space), or the path to all configuration files. Defaults to file type ' | ||
| use ‑ | Non‑CSN | The host/UUID of the PSS for the cluster if known, in URI form: | ||
| Only provide if requested | Non‑CSN | The IP of a node in the cluster, to help obtain the PSS. | ||
| Non‑CSN | The location of a PSS file. |
Child pages (Children Display) |
---|