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
Ensure that the node that will host your Db2 container meets
the following system requirements:
- 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)
Ensure that your Red Hat
OpenShift cluster uses
one of the following storage options:
- NFS
- IBM Cloud File Storage (gold storage class)
- Portworx
- Red Hat OpenShift Container Storage 4.3 and above
- A HostPath PV that is a mounted clustered filesystem
Procedure
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.