Restarting Redis
During a cluster reboot or possible network flux in the Red Hat® OpenShift® Container Platform environment, the Redis pods experience a
deadlock and are unable to determine a leader pod. The pods appear with error
Init:CrashLoopBackOff
. IBM Security QRadar® Suite Software
provides a method to restart RedisSentinal when pods are in a crash loop. The following action
reinitializes the Redis instance.
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.
Name | Flag | Description |
---|---|---|
token | --token | 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. |