Upgrading the cpctl utility
Upgrade the cpctl utility to the latest version.
Procedure
- To ensure that the list of available cpctl actions is
up to date, enter the following command.
cpctl load
The cpctl load command retrieves all of the available actions that can be run on QRadar® Suite Software. The actions are cached to your local environment. -
Compare the version of cpctl on your local machine with the version in your
Red Hat® OpenShift® cluster by typing the following
command.
cpctl sync_cpctl_version
- If the output of the previous command indicates that cpctl needs to be
upgraded, type one of the following commands.
- If cpctl is stored in your system PATH, type the following
command.
cpctl sync_cpctl_version --action upgrade
- If cpctl is not stored in your system PATH, type the following command
where <path_to> is the path to the
cpctl
binary.
./cpctl sync_cpctl_version --path <path_to>/cpctl --action upgrade
- If cpctl is stored in your system PATH, type the following
command.
- Verify that cpctl is upgraded by typing the following command and
verifying that the version in the output is the same as the latest version in the output of the
command from step 2.
cpctl -v
- To ensure that the list of available cpctl actions is
up to date, enter the following command.
cpctl load
The cpctl load command retrieves all of the available actions that can be run on QRadar Suite Software. The actions are cached to your local environment.