Guardium® Insights provides support tools and
troubleshooting scripts that you can use as directed by the IBM Support team. Use the cpctl utility
to access the scripts.
Procedure
-
From cpctl, issue the command to display the scripts for download.
./cpctl tools GI_scripts_list --token $(oc whoami -t)
where:
The token
is the OpenShift®
administrative user token.
- When you run the command, the output includes a list of the available files and the
command that you need to download the files. For example,
----------------------------------------------------
Script files available for download
----------------------------------------------------
backupMigrationSecrets.sh
decrypt_secrets_from_file.sh
decrypt_secrets.sh
ingressCert.sh
kafka_drain_test.sh
mini_snif_support.sh
regenerateCerts.sh
restoreMigrationSecrets.sh
startorstopGuardiumInsights.sh
To download a script to your workstation run oc rsync staging-cp-serviceability-795688bf68-lb2xp:/etc/ansible/roles/GI/GI_scripts/files/<script file> ./<directory>
Example:
oc rsync staging-cp-serviceability-df44b8c97-tk9pc:/etc/ansible/roles/GI/GI_scripts_list/files/startorstopGuardiumInsights.sh ./
- Run the appropriate command that you need to download the script to your local
workstation.