Installing Db2 on a Red Hat OpenShift cluster
You install Db2® on your Red Hat® OpenShift® cluster using a script, db2u-install. Running the script pulls the required container images from their repository and installs other necessary components.
About this task
Before you run the installation script, ensure that your Red Hat OpenShift cluster meets the following requirements:
- OpenShift version 3.11 or greater, up to and including 4.x versions
- Helm version 2
- A cluster administrator account
- An IBM Cloud account
- Minimum 5.7 CPU per worker node (2 for the Db2 engine and 3.7 for Db2 auxiliary services)
- Minimum 10.4 GiB Memory (4GiB for the Db2 engine and 6.4 GiB for Db2 auxiliary services)
- IBM Cloud File Storage (gold storage class)
- Red Hat OpenShift Container Storage 4.3 and above
- A HostPath PV that is a mounted clustered filesystem
- Log in to your Red Hat OpenShift cluster and create a new project for your Db2 installation.
- Set the required security privileges on your Red Hat OpenShift cluster.
- Set up your Red Hat OpenShift cluster for communicating with the IBM Container Registry.
- Download and configure the Helm charts for your Db2 instance.
- Locate the installation script and customize the values in the install arguments section to suit your environment.
- Run the install script from the Helm charts and install the Db2 Community Edition container
image. Note: For the most current information on performing these steps, go to the Db2 Community Edition Readme page on Git Hub.
What to do next
- Run the get pods command from the Red Hat OpenShift CLI to view all of the components of your Db2 on Red Hat OpenShift installation.
- Connect to your Db2 instance, using the OpenShift NodePort service.