Offline (Airgap) Cluster
You have a Kubernetes or OpenShift cluster but it is a private cluster which means it does not have the internet access. Depending upon the cluster, follow the below procedures to get the installation files.
For Kubernetes Cluster
- Get an RHEL machine which has
- Download the Helm chart by following the steps mentioned in the Online installation section.
- Extract the downloaded helm
tar -zxf <ibm-connect-direct-helm chart-name>
- Get the container image
erRepo=$(grep -w "repository:" ibm-connect-direct/values.yaml |cut -d '"' -f 2)
erTag=$(grep -w "tag:" ibm-connect-direct/values.yaml | cut -d '"' -f 2)
- This step is optional if you already have a docker registry running on this machine. Create a docker registry on this machine. Follow Setting up your registry server.
- Get the Entitled registry entitlement key by following steps a and b explained in Online Cluster under Create the entitled registry section.
- Get the container image downloaded in docker
docker login "$ENTITLED_REGISTRY" -u "$ENTITLED_REGISTRY_USER" -p "$ENTITLED_REGISTRY_KEY"
docker pull $erImgTagNote: Skip step 8, 9 and 10, if the cluster where deployment will be performed is accessible from this machine and cluster can fetch container images from registry running on this machine.
- Save the container
docker save -o <container image file name.tar> $erImgTag
- Copy/Transfer the installation files to your cluster. At this point you have both downloaded container image and helm chart for IBM Connect:Direct for UNIX. You need to transfer these two file to a machine from where you can access your cluster and its registry.
- After transferring the files, load the container image into your
docker load -i <container image file name.tar>
For Red Hat OpenShift Cluster
If your cluster is not connected to the internet, the deployment can be done in your cluster via connected or disconnected mirroring.
If you have a host that can access both the internet and your mirror registry, but not your cluster nodes, you can directly mirror the content from that machine. This process is referred to as connected mirroring. If you have no such host, you must mirror the images to a file system and then bring that host or removable media into your restricted environment. This process is referred to as disconnected mirroring.