OpenShift Container Storage is now OpenShift Data Foundation starting with version 4.9.
Chapter 9. Enabling automatic install of OpenShift DR cluster operator
Once the DRPolicy is created successfully, the OpenShift DR Cluster operator
can be installed on the Primary managed cluster and Secondary managed cluster in the openshift-dr-system
namespace.
Procedure
Edit the ConfigMag
ramen-hub-operator-config
on the Hub cluster to adddeploymentAutomationEnabled=true
as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc edit configmap ramen-hub-operator-config -n openshift-dr-system
$ oc edit configmap ramen-hub-operator-config -n openshift-dr-system
Copy to Clipboard Copied! Toggle word wrap Toggle overflow apiVersion: v1 data: ramen_manager_config.yaml: | apiVersion: ramendr.openshift.io/v1alpha1 drClusterOperator: deploymentAutomationEnabled: true ## <-- Add to enable installation of ODR Cluster operator on managed clusters catalogSourceName: redhat-operators catalogSourceNamespaceName: openshift-marketplace channelName: stable-4.10 clusterServiceVersionName: odr-cluster-operator.v4.10.0 namespaceName: openshift-dr-system packageName: odr-cluster-operator [...]
apiVersion: v1 data: ramen_manager_config.yaml: | apiVersion: ramendr.openshift.io/v1alpha1 drClusterOperator: deploymentAutomationEnabled: true ## <-- Add to enable installation of ODR Cluster operator on managed clusters catalogSourceName: redhat-operators catalogSourceNamespaceName: openshift-marketplace channelName: stable-4.10 clusterServiceVersionName: odr-cluster-operator.v4.10.0 namespaceName: openshift-dr-system packageName: odr-cluster-operator [...]
Verify that the installation was successful in the Primary managed cluster and the Secondary managed cluster do the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc get csv,pod -n openshift-dr-system
$ oc get csv,pod -n openshift-dr-system
Example output:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NAME DISPLAY VERSION REPLACES PHASE clusterserviceversion.operators.coreos.com/odr-cluster-operator.v4.10.0 Openshift DR Cluster Operator 4.10.0 Succeeded NAME READY STATUS RESTARTS AGE pod/ramen-dr-cluster-operator-5564f9d669-f6lbc 2/2 Running 0 5m32s
NAME DISPLAY VERSION REPLACES PHASE clusterserviceversion.operators.coreos.com/odr-cluster-operator.v4.10.0 Openshift DR Cluster Operator 4.10.0 Succeeded NAME READY STATUS RESTARTS AGE pod/ramen-dr-cluster-operator-5564f9d669-f6lbc 2/2 Running 0 5m32s
You can also go to OperatorHub on each of the managed clusters and verify if the
OpenShift DR Cluster Operator
is installed.