Upgrading the cpctl utility

Upgrade the cpctl utility to the latest version.

Procedure

  1. 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.
  2. 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
  3. 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
  4. 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
  5. 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.