Skip to main content
NetApp Solutions

Deploy and configure the Red Hat OpenShift Container platform on VMware

Contributors kevin-hoke banum-netapp acao8888

This section describes a high-level workflow of how to set up and manage OpenShift clusters and manage stateful applications on them. It shows the use of NetApp ONTAP storage arrays with the help of Astra Trident to provide persistent volumes. Details are provided about the use of Astra Control Center to perform data protection and migration activities for the stateful applications.

Note There are several ways of deploying Red Hat OpenShift Container platform clusters. This high-level description of the setup provides documentation links for the specific method that was used. You can refer to the other methods in the relevant links provided in the resources section.

Here is a diagram that depicts the clusters deployed on VMware in a data center.

rhhc on premises

The setup process can be broken down into the following steps:

Deploy and configure a CentOS VM
  • It is deployed in the VMware vSphere environment.

  • This VM is used for deploying some components such as NetApp Astra Trident and NetApp Astra Control Center for the solution.

  • A root user is configured on this VM during installation.

Deploy and configure an OpenShift Container Platform cluster on VMware vSphere (Hub Cluster)

Refer to the instructions for the Assisted deployment method to deploy an OCP cluster.

Tip Remember the following:
- Create ssh public and private key to provide to the installer. These keys will be used to login to the master and worker nodes if needed.
- Download the installer program from the assisted installer. This program is used to boot the VMs that you create in the VMware vSphere environment for the master and worker nodes.
- VMs should have the minimum CPU, memory, and hard disk requirement. (Refer to the vm create commands on this page for the master and the worker nodes which provide this information)
- The diskUUID should be enabled on all VMs.
- Create a minimum of 3 nodes for master and 3 nodes for worker.
- Once they are discovered by the installer, turn on the VMware vSphere integration toggle button.
Install Advanced Cluster Management on the Hub cluster

This is installed using the Advanced Cluster Management Operator on the Hub Cluster.
Refer to the instructions here.

Install an internal Red Hat Quay registry on the Hub Cluster.
  • An internal registry is required to push the Astra image. A Quay internal registry is installed using the Operator in the Hub cluster.

  • Refer to the instructions here

Install two additional OCP clusters (Source and Destination)
  • The additional clusters can be deployed using the ACM on the Hub Cluster.

  • Refer to the instructions here.

Configure NetApp ONTAP storage
  • Install an ONTAP cluster with connectivity to the OCP VMs in VMWare environment.

  • Create an SVM.

  • Configure NAS data lif to access the storage in SVM.

Install NetApp Trident on the OCP clusters
  • Install NetApp Trident on all three clusters: Hub, source, and destination clusters

  • Refer to the instructions here.

  • Create a storage backend for ontap-nas .

  • Create a storage class for ontap-nas.

  • Refer to instructions here.

Install NetApp Astra Control Center
  • NetApp Astra Control Center is installed using the Astra Operator on the Hub Cluster.

  • Refer to the instructions here.

Points to remember:
* Download NetApp Astra Control Center image from the support site.
* Push the image to an internal registry.
* Refer to instructions here.

Deploy an Application on Source Cluster

Use OpenShift GitOps to deploy an application. (eg. Postgres, Ghost)

Add the Source and Destination clusters into Astra Control Center.

After you add a cluster to Astra Control management, you can install apps on the cluster (outside of Astra Control) and then go to the Applications page in Astra Control to define the apps and their resources. Refer to Start managing apps section of Astra Control Center.

The next step is to use the Astra Control Center for Data protection and Data migration from the source to the destination cluster.