4.4.3 Firewall configuration
The DB2 container installation requires the ports 50000 and 50001 to be open and OpenShift on ESXi Virtual servers require port 443.
Note that Red Hat subscription-manager uses port 443 to register the RHEL 8.0 Linux server after naming the server using the hostnamectl command and the oc client uses port 6443 for the administrator website.
firewall-cmd –zone=public –permanent –add-port 50000-50001/tcp
firewall-cmd –zone=public –permanent –add-port 443/tcp
firewall-cmd –zone=public –permanent –add-port 6443/tcp
firewall-cmd –reload
The VMware Pro 16. Workstation (version 16.2.2 build-19200509) supports vSphere ESXi 7.0 Emulation.
4.4.4 Installation downloads
Red Hat OpenShift 4.x downloads from https://access.redhat.com/downloads/content/479/ver=/rhel—8/8.0/x86_64/product-software
On logging in to Red Hat, this gives an RHEL 8.0 DVD download. For installing OpenShift 4.7, https://console.redhat.com/openshift/create/local
Log in as a Red Hat Developer or Business Partner. Select the Local option on the top right of the Web Page to select for RedHat OpenShift CodeReady Containers.
The following steps for downloading the CodeReady containers are used:
- The first step requires the Linux platform for installation to be selected from the drop-down list, which shows Windows, Linux and MacOS options.
- In the next step, we download the Red Hat OpenShift 4.x CodeReady Containers and pull-secret. (You can use the Datacenter option to Create a cluster.)
https://console.redhat.com/openshift/create/datacenter - Select the Datacenter tab to allow selection of the Bare Metal (x86_64) link and then click on the Bare Metal (x86_64) option.
- Select the User-provisioned infrastructure link:
https://console.redhat.com/openshift/install/metal/user-provisioned
And then click the Download Installer button (the first button).
Note: The pull secret can also be copied or downloaded from this web page. - Extract the installation program on the Linux operating system, run the following command:
tar -zxvf openshift-install-linux.tar.gz - From the Pull Secret link on the Red Hat OpenShift web page:
https://console.redhat.com/openshift/install/pull-secret
Download the installation pull secret as a .txt file. This pull secret allows you to authenticate with the services, including Quay.io, which is used to download the container images for OpenShift Container Platform components.
Note: The pull secret text is identical whether downloaded using the link in step 2 or using the command in the OpenShift bare metal web page described earlier.
In this section, the DB2 Version 11.5 container, managed by RedHat OpenShift is described. Red Hat OpenShift forms a front-end for container management of a Cloud cluster of load-balanced control plane and worker servers.
The link as follows covers the details for Installation of DB2 version 11.5 on Red Hat OpenShift 4.x:
https://www.ibm.com/docs/en/db2/11.5?topic=installing-db2-openshift-cluster