Validating Regional-DR with applications
Regional disaster recovery (Regional-DR) supports disaster recovery of applications deployed on managed clusters regardless of whether the Red Hat® Advanced Cluster Management (RHACM) manages the applications or not. It also supports disaster recovery of virtual machines (VMs).
After successfully configuring Regional-DR on the managed clusters, you can validate the setup by replicating and recovering applications across those clusters.
- Managed applications: Workloads deployed and managed through RHACM, such as Subscription-based and ApplicationSet-based applications.
- Discovered applications: Workloads deployed directly on one of the managed clusters without using RHACM. Although these applications are appear in the RHACM console, their lifecycle (create, edit, delete) is not managed by RHACM.
ocs-storagecluster-cephfs
.To validate with VMs, if the VM is configured with a secondary VLAN in the IBM Fusion HCI site, ensure that the same secondary VLAN is configured and a corresponding Network Attachment Definition (NAD) is created on the other site. For the secondary VLAN configuration, see Provisioning additional networking.
Validate Regional-DR with the following applications:
ApplicationSet-based application
- Create a sample ApplicationSet-based application by following the instructions mentioned in Creating an ApplicationSet-based application.
- Apply the DRPolicy to the sample application by following the instructions mentioned in Applying DRpolicy to an ApplicationSet-based application.
- Do the failover operation of the sample application between the managed clusters by following the instructions mentioned in Subscription-based application failover between managed clusters.
- Do the relocate operation of the sample application between the managed clusters by following the instructions mentioned in Relocating an ApplicationSet-based application between managed clusters.
After validation, you can delete the sample application by following the instructions mentioned in Deleting a sample application.
Subscription-based application
- Create a sample Subscription-based application by following the instructions mentioned in Creating a Subscription-based application.
- Apply the disaster recovery policy (DRPolicy) to the sample application by following the instructions mentioned in Applying DRPolicy to a Subscription-based application.
- Do the failover operation of the sample application between the managed clusters by following the instructions mentioned in Subscription-based application failover between managed clusters.
- Do the relocate operation of the sample application between the managed clusters by following the instructions mentioned in Relocating a Subscription-based application between managed clusters.
After validation, you can delete the sample application by following the instructions mentioned in Deleting a sample application.
Discovered application
- Ensure that all prerequisites mentioned in Prerequisites for disaster recovery protection of discovered applications are met.
- Create a sample discovered application by following the instructions mentioned in Creating a sample discovered application.
- Enroll the DRPolicy to the sample application by following the instructions mentioned in Enrolling a sample discovered application for disaster recovery protection.
- Do the failover operation of the sample application between the managed clusters by following the instructions mentioned in Failover disaster recovery protected discovered application.
- Do the relocate operation of the sample application between the managed clusters by following the instructions mentioned in Relocate disaster recovery protected discovered application.
After validation, you can delete the sample application by following the instructions mentioned in Disable disaster recovery for protected applications.