Adding hostAlias entries to QRadar Suite Software deployment

The procedure enables the Red Hat® OpenShift® cluster running IBM Security QRadar® Suite Software connect to the DNS. It can also be used when the DNS entry for QRadar Suite Software is invalid.

Before you begin

Install the command-line interface (CLI) utility cpctl from the cp-serviceability pod. For more information, see Installing the cpctl utility.

About this task

The following table details the parameters that are required to run the command.

Table 1. update_dns parameters
Parameter Default Required Description
--token none Yes The Red Hat OpenShift cluster admin token. The token can be generated when you are logged in as an admin user by running the oc whoami -t command.
--clusterip none Yes This is the IP address that is associated with the cluster, which is retrieved from the following command.
oc get route console -n openshift-console -o jsonpath="{.spec.host}"
--deployments all No List of deployments to update. If you are listing more than one deployment, enclose them in quotation marks. For example:
--deployment "<deployment_1> <deployment_2>"
Important: If you specify deployments but do not specify cron jobs, no cron jobs are updated.
--cronjobs all No List of cron jobs to update. If you are listing more than one cron job, enclose them in quotation marks. For example:
--cronjobs "<cronjob_1> <cronjob_2>"
Important: If you specify cron jobs but do not specify deployments, no deployments are updated.

Procedure

  1. To make sure 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. To update the DNS, type the following command.
    cpctl tools update_dns --token $(oc whoami -t) --clusterip=<IP_address>
    The following output is an example of the output from running this command.
    deployment.apps/udi-udiendpoints patched
    ...