Chapter 11. Relocating an application between managed clusters
Chapter 11. Relocating an application between managed clusters A relocation operation is very similar to failover. Relocate is application based and uses the DRPlacementControl to trigger the relocation. The main difference for relocation is that a resync is issued to make sure any new application data saved on the Secondary managed cluster is immediately, not waiting for the mirroring schedule interval, replicated to the Primary managed cluster. Procedure On the Hub cluster navigate to Installed Operators and then click Openshift DR Hub Operator . Click DRPlacementControl tab. Click DRPC busybox-drpc and then the YAML view. Modify action to Relocate DRPlacementControl modify action to Relocate Click Save . Verify if the application busybox is now running in the Primary managed cluster, failover cluster ocp4perf2 specified in the YAML file. Example output: Verify if busybox is running in the Secondary managed cluster. The busybox application should no longer be running on this managed cluster. Example output: Important Be aware of known Regional-DR issues as documented in Known Issues section of Release Notes. If you need assistance with developer preview features, reach out to the ocs-devpreview@redhat.com mailing list and a member of the Red Hat Development Team will assist you as quickly as possible based on availability and work schedules.
oc get pods,pvc -n busybox-sample NAME READY STATUS RESTARTS AGE pod/busybox 1/1 Running 0 60s NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE persistentvolumeclaim/busybox-pvc Bound pvc-79f2a74d-6e2c-48fb-9ed9-666b74cfa1bb 5Gi RWO ocs-storagecluster-ceph-rbd 61s oc get pods,pvc -n busybox-sample No resources found in busybox-sample namespace.