Uninstalling QRadar Suite Software in an air-gapped environment
You can uninstall an instance of IBM Security QRadar® Suite Software by using the CLI, or uninstall all instances in a cluster.
Before you begin
Note:
Complete a backup before uninstallation.
Uninstalling QRadar Suite Software deletes all data that is associated with QRadar Suite Software. For more information about completing a backup, see Backup and restore.
The Red Hat OpenShift CLI client helps you develop, build, deploy, and run your applications on any Red Hat OpenShift or Kubernetes cluster. It also includes the administrative commands for managing a cluster under the adm subcommand.
- Download Red Hat OpenShift CLI 4.10 or later from
https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.10/
. The file to download is called openshift-client-<platform>-<version>.tar.gz.
- Extract the binary file that you downloaded by typing the following command, where <oc_cli_archive_file> is the name of the archive file that
you
downloaded.
tar -xf <oc_cli_archive_file>
- Modify the permissions of the binary file by typing the following command, where <oc_cli_binary> is the name of the Red Hat OpenShift binary that you extracted from the
archive.
chmod 755 <oc_cli_binary>
- Move the binary file to the /usr/local/bin directory by typing the
following
command.
mv <oc_cli_binary> /usr/local/bin/oc
Tip: If this command returns a No such file or directory or Not a directory error message, create the /usr/local/bin directory by typing the following command.sudo mkdir /usr/local/bin
- Ensure that the Red Hat OpenShift CLI client is
working by typing the following
command.
oc version
Tip: MacOS users might see a message that this tool cannot be opened because it is from an unidentified developer. Close this message and go to . On the General tab, click Open Anyway or Allow Anyway. Repeat the oc version command.
- Download Red Hat OpenShift CLI 4.10 or later from
https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.10/
- Download the latest version of the plug-in.
- To download the latest release version from the public GitHub repo on MacOS, type the following
command.
curl -L https://github.com/IBM/ibm-pak-plugin/releases/latest/download/oc-ibm_pak-darwin-amd64.tar.gz -o oc-ibm_pak-plugin.tar.gz
- To download the latest release version from the public GitHub repo on Linux®, type the following command.
curl -L https://github.com/IBM/ibm-pak-plugin/releases/latest/download/oc-ibm_pak-linux-amd64.tar.gz -o oc-ibm_pak-plugin.tar.gz
- To download the latest release version from the public GitHub repo on MacOS, type the following
command.
- Extract the plug-in from the archive file by typing the following
command.
tar -xvf oc-ibm_pak-plugin.tar.gz
- Move the extracted plug-in to your /usr/local/bin directory by typing the
following
command.
mv oc-ibm_pak-*-amd64 /usr/local/bin/oc-ibm_pak
- Verify that the plug-in is installed successfully by typing the following
command.
oc ibm-pak --version
- Download the latest version of the plug-in.
- If you need to download the CASE files to a new mirroring device, follow the instructions in the Setting environment variables and downloading CASE files section of Installing QRadar Suite Software in an air-gapped environment by using a bastion host or Installing QRadar Suite Software in an air-gapped environment by using a portable device.
- After you complete those steps, disconnect your mirroring device from the internet and connect it to your air-gapped environment.