Resizing the Backup and Restore PVC
Resize the Persistent Volume Claim (PVC) that you use for backups by moving the PVC data to a temporary PVC and then back again to the resized one.
Before you begin
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/
- Back up your QRadar® Suite Software data before you follow this procedure. For more information about backups, see Backup and restore.
- Gather the following information.
- The namespace in which QRadar Suite Software is installed.
- The storageClass used for the QRadar Suite Software deployment.
- The new size of the PVC to create. The new size must be larger than the current PVC size.
- The repository URL, if your QRadar Suite Software deployment is in an air-gapped environment.
- This procedure is for deployments where the storage class used does not support volume
expansion, such as VMware thin storage. Check whether your storage class supports volume expansion
by typing the following
command:
oc describe sc <storage_class> | grep AllowVolumeExpansion
If the value is set to True, follow the Modifying QRadar Suite Software deployment resource specifications procedure to resize the PVC.
If the value is set to False, follow this procedure to resize the PVC.