Skip to main content
NetApp virtualization solutions

Trident Protect/AppMirror prerequisites for OpenShift Virtualization Disaster Recovery

Contributors banum-netapp

This section provides information about the prerequisites for using NetApp Trident Protect and AppMirror for disaster recovery of OpenShift Virtualization workloads. This includes the necessary cluster configurations, storage requirements, and installation steps to set up Trident Protect and AppMirror for effective disaster recovery of VMs running on OpenShift Virtualization.

Prerequisites

  1. A Red Hat OpenShift cluster with OpenShift Virtualization installed and configured. For installation instructions, see the documentation here.

  2. Two NetApp ONTAP storage systems with an SVM configured on each, to provide storage for the active and the disaster recovery OpenShift clusters. Each SVM must have at least one management LIF and one data LIF configured and accessible from the corresponding OpenShift cluster.

  3. Cluster peering and SVM peering configured between the two ONTAP systems to allow replication of data from the source cluster's SVM to the target cluster's SVM. For instructions on how to set up cluster peering and SVM peering, see the ONTAP cluster peering documentation here.

  4. NetApp Trident installed and configured on the OpenShift cluster to provision persistent storage from the ONTAP SVM. For installation instructions, see the Trident documentation here.

  5. Trident backend configuration created for the ONTAP SVM and a StorageClass configured on the OpenShift cluster to use that Trident backend as the provisioner. For instructions on how to create a Trident backend configuration and StorageClass, see the Trident backend configuration documentation here.

  6. Cluster-admin access to the OpenShift cluster and admin access to the ONTAP storage system to perform the necessary configurations.

  7. An admin workstation with tridentctl and oc tools installed and added to the $PATH environment variable to interact with the OpenShift cluster and Trident.

  8. Adequate hardware resources on the OpenShift cluster to support the OpenShift Virtualization operator and the VMs that will be provisioned. For more details on resource requirements, see the documentation here.

  9. Optionally, configure node placement rules for OpenShift Virtualization to specify a subset of cluster nodes to host the OpenShift Virtualization operators, controllers, and VMs. For instructions on how to configure node placement rules, see the documentation here.

  10. For the storage backing OpenShift Virtualization, it is recommended to have a dedicated StorageClass that requests storage from a particular Trident backend, which in turn is backed by a dedicated SVM. This maintains a level of multitenancy with regard to the data being served for VM-based workloads on the OpenShift cluster.

  11. A VM must be available in OpenShift Virtualization. For details about deploying a new VM, or migrating an existing VM into OpenShift Virtualization, see the appropriate section in the documentation.

Install NetApp Trident Protect for OpenShift Virtualization

To enable disaster recovery capabilities for OpenShift Virtualization workloads using NetApp Trident Protect, you must have Trident Protect installed and configured on the OpenShift cluster. Trident Protect can be installed using a Helm chart.

Note Trident Protect installation must be done after installing Trident.

For complete installation instructions, see the Trident Protect documentation here.

Show example

Trident Protect installation

Trident Protect installation complete