For OpenShift: Installing Container Backup Support by using the OpenShift web console
You can install Container Backup Support by using the OpenShift® web console to take advantage of the benefits that are afforded by the web console, such as monitoring the deployments from the web console.
Before you begin
For the system requirements for Container Backup Support, see Container Backup Support requirements.
The instructions that are provided apply to pulling images from the IBM® Helm Charts Repository that is linked to IBM Entitled Registry. If you are operating in an airgap environment, use the command line to install Container Backup Support. For instructions, see Installing Container Backup Support in an airgap environment.
- Ensure that you are logged in to the target cluster as a user with
cluster-admin
privileges. - Ensure that internet access is available to pull containers at deployment time.
- Ensure that you complete the installation prerequisites. For instructions, see Installation prerequisites for Container Backup Support.
- Ensure that you set up the installation variables in the baas-options.sh and baas-values.yaml files. For instructions, see Setting up the installation variables.
Procedure
Adding the IBM Entitled Registry to your Helm repository
To prepare the OpenShift web console to pull Container Backup Support images from the IBM Helm Charts Repository that is linked to the IBM Entitled Registry, you must add the IBM Entitled Registry to your Helm repository.
About this task
Procedure
What to do next
helm3 repo add ibm-helm https://raw.githubusercontent.com/IBM/charts/master/repo/ibm-helm
helm3 repo list
helm3 repo update
helm3 search repo spectrum
mkdir installer
cd installer
helm3 fetch ibm-helm/ibm-spectrum-protect-plus-prod --version "chart_version"
tar -xvf ibm-spectrum-protect-plus-prod-chart_version.tgz
where chart_version specifies the version of the Helm chart. For example, specify 1.2.0 for IBM Spectrum Protect Plus V10.1.8, or 1.2.x for V10.1.8.x, where x specifies an interim fix.
Creating a project for Container Backup Support
You must create a project (namespace) for Container Backup Support called baas
in the OpenShift web console.
Before you begin
- Set up the installation variables in the baas-options.sh file as described in Setting up the installation variables.
- Copy the baas-options.sh file to the ~/installer/ibm-spectrum-protect-plus-prod/ibm_cloud_pak/pak_extensions/install directory.
- Uninstall the previous installation of Container Backup Support. For instructions, see Uninstalling Container Backup Support.
About this task
baas
project is a one-time task.Procedure
- Log on to the OpenShift web console as the cluster administrator.
- Select the Developer view and click Project.
- On the Project Details page, click the Create a project link.
- In the Create Project window, enter baas in the Name field.
- Optional: Enter a display name ad a description for the project.
- Click Create. The baas project is created.
Creating image pull secrets
Create an image pull secret in the baas
project that you created for
Container Backup Support.
About this task
The image pull secret provides the credentials that are required by OpenShift to pull images from the IBM Helm Charts Repository that is linked to the IBM Entitled Registry.
Procedure
Creating the credentials secret
To store credentials for the baas
project, you must create a secret
named baas-secret
.
Procedure
Creating custom resource definitions
Before you can install Container Backup Support in the OpenShift web console, you must create custom resource definitions (CRDs) for Container Backup Support and Kafka.
About this task
The CRDs for Container Backup Support and Kafka are provided in the installation package, but you must apply them at the command line. The Kafka cluster, which is included in the installation, handles messaging operations in Container Backup Support.
Use the provided script, baas-crd-apply.sh, to create the CRDs.
Procedure
Installing Container Backup Support from the OpenShift web console
After you set up your environment to pull images from the IBM Entitled Registry, created the baas
project, and created
image pull and credentials secrets, you can install Container Backup Support from the OpenShift web console.
Procedure
Results
What to do next
You can view the details of the Container Backup Support components on the baas project page.
After the deployment is completed, the application host for the Container Backup Support container is automatically registered upon startup of the cluster host in OpenShift. However, if no clusters are displayed in the OpenShift page in the IBM Spectrum Protect Plus user interface, automatic registration was unsuccessful. You must then manually register the cluster. For instructions, see Registering an OpenShift cluster.