Automate the process of shutting down and restarting the Guardium Data Security Center pods.
Before you begin
- This task requires the use of Guardium Data Security Center support
scripts. To learn how to access these scripts, see this topic.
- Log in to your Guardium Data Security Center cluster.
- Verify that the "jq" command-line tool is installed.
- Run the commands under the "utils" folder.
About this task
Use the launch-fullStoporStartGuardiumDCSs.sh support script to
automatically shut down or restart Guardium Data Security Center.
Procedure
- Copy launch-fullStoporStartGuardiumDSCs.sh as your own script
name.
For example,
mylaunch-fullStoporStartGuardiumDCS.sh
.
- Verify that you have the execute and write
permissions for the script.
- Edit the following sections for your Guardium Data Security Center instance:
export NAMESPACE= [ namespace for cloudctl login, e.g. gi ]
export ICP_ADDR= [ Cloudpak ICP address, e.g. cp-console.apps.guardium-insights.ibm.com ]
export ICP_USER= [ Cloudpak ICP account, e.g. admin ]
export ICP_PASSWD= [ Cloudpak ICP account password ]
Important: After this script is saved, you can reuse it without logging in to your
Guardium Data Security Center system. The namespace is identified
automatically each time. However, if you're using a new instance, you must update the script.
- Run the script by using the following command. Use
stop
or
start
depending on whether you are stopping or restarting Guardium Data Security Center services.
./mylaunch-fullStoporStartGuardiumDCSs.sh [stop|start]