@@ -4,7 +4,7 @@ date: 2024-09-20
44tier : sandbox
55summary : This variant of the Validated Patterns framework deploys a Regional Disaster Recovery Setup across multiple different regions
66rh_products :
7- - Red Hat Openshift Container Platform
7+ - Red Hat OpenShift Container Platform
88industries :
99aliases : /agof/
1010pattern_logo : regional-dr.png
@@ -14,61 +14,51 @@ links:
1414 bugs : https://github.com/validatedpatterns/regional-resiliency-pattern/issues
1515---
1616
17- # Openshift Regional DR
17+ # OpenShift Regional DR
18+
19+ The _ Regional DR Validated Pattern for [ Red Hat OpenShift] [ ocp ] _ can increase the resiliency
20+ of your applications by connecting multiple clusters across various regions. This pattern
21+ uses [ Red Hat Advanced Cluster Management] [ acm ] to offer a
22+ [ Red Hat OpenShift Data Foundation] [ odf ] -based multi-region disaster recovery plan if an
23+ entire region fails.
1824
1925## Background
2026
21- Regional DR architecture is designed for configuring an infrastructure
22- architecture with multiple Openshift Container Platform cluster connected
23- between them for offering a disaster recovery setup between regions. Currently,
24- only active-passive mode is supported. This architecture increases the
25- resiliency and maintains the applications running in the supposed case of an
26- entire region fails.
27+ [ Red Hat OpenShift Data Foundation] [ odf ] offers two solutions for disaster recovery:
28+ [ Metro DR] [ mdr ] and [ Regional DR] [ rdr ] . As their name suggests, _ Metro DR_ refers to
29+ a metropolitan area disasters, which occur when the disaster covers only a single area
30+ in a region (availability zone), and _ Regional DR_ refers to when the entire region fails.
2731
28- There are two kinds of disaster recovery depending on their scope: Metro DR and
29- RegionalDR. As their own name suggests, MetroDR refers about Metropolitan Areas
30- disasters, in other words, when the disaster covers only a single area of a
31- region (Availability Zone), and Regional DR refers to when the entire region
32- fails.
33-
34- The synchronization between Availability Zones is faster and can be performed
35- synchronous. However, in order don't include a lot of latency on the data
36- synchronization process, when data is replicated across regions, it necessary
37- includes latencies based on the distance between both regions (e.g. The latency
38- between two regions on Europe, will always be less than between Europe and Asia,
39- so consider this when designing your infrastructure deployment on the values
40- files of the pattern). This is the main reason because this RegionalDR is
41- configured in an Active-Passive mode.
42-
43- It requires an already existing Openshift cluster, which will be used for installing the
44- pattern, deploying active and passive clusters manage the application
45- scheduling.
32+ A word on synchronization. A metropolitan network is generally much faster and offers less
33+ latency; data can be written to multiple targets simultaneously, a feature required for
34+ active-active DR designs. On the other hand, writing to multiple targets in a cross-regional
35+ network might introduce unbearable latency to our applications. Therefore, _ Regional DR_
36+ can only work with active-passive DR designs, where the targets are replicated asynchronously.
4637
4738### Prerequisites
48- Before installing this pattern, ensure yourself you have the following
49- requirements already prepared before continuing:
50- * One Openshift cluster ready-to-use with internet access to become the "Manager" cluster.
51- * Connection to a Cloud Provider (AWS/Azure/GCP) configured in the Manager cluster.
39+
40+ Installing this pattern requires:
41+ * One online [ Red Hat OpenShift] [ ocp ] cluster
42+ * Cloud credentials for either [ AWS] [ aws ] , [ Azure] [ azr ] , or [ GCP] [ gcp ]
43+ * [ Red Hat OpenShift CLI] [ cli ] installed
5244
5345### Solution elements
5446
55- - Deploying a regional fail resilient architecture for testing, demoing and as an architecture reference
47+ The _ Regional DR Pattern_ leverages _ [ Red Hat OpenShift Data Foundation] [ odf ] 's
48+ [ Regional DR] [ rdr ] solution, automating applications failover between
49+ [ Red Had Advanced Cluster Management] [ acm ] managed clusters in different regions.
5650
5751### Red Hat Technologies
58-
59- - Red Hat Openshift Container Platform
60- - Red Hat Enterprise Linux
61-
52+ -
53+ - [ Red Hat Openshift Container Platform] [ ocp ]
54+ - [ Red Hat Openshift Data Foundation] [ odf ]
55+ - [ Red Hat Openshift GitOps] [ ops ]
56+ - [ Red Hat Openshift Advanced Cluster Management] [ acm ]
57+ - [ Red Hat Openshift Advanced Cluster Security] [ acs ]
6258
6359## Operators and Technologies this Pattern Uses
6460
65- - Red Hat Openshift Container Platform
66- - Red Hat Openshift Data Foundation
67- - Red Hat Openshift DR Operator
68- - Red Hat Openshift GitOps
69- - Red Hat Openshift Advanced Cluster Management
70- - Red Hat Openshift Advanced Cluster Security
71- - Submariner
61+ - [ Regional DR Trigger Operator] [ opr ]
7262
7363## Tested on
7464
@@ -77,8 +67,7 @@ requirements already prepared before continuing:
7767- Red Hat Openshift Container Platform v4.15
7868
7969## Architecture
80- This section explains the architecture deployed by this Pattern and its Logical
81- and Physical perspectives.
70+
8271![ Regional-Resiliency-Pattern-Logical-Architecture] ( /images/regional-resiliency-pattern/architecture-diagram-vp-regional-dr-v6.png )
8372
8473## Logical architecture
@@ -87,20 +76,37 @@ and Physical perspectives.
8776
8877
8978## Installation
90- This patterns is designed to be installed in an Openshift cluster which will
91- work as the control plane for the rest of Openshift clusters. The controller
92- cluster will not execute the applications or store any data from them, but it
93- will work as the control panel for the interconnection of active-passive
94- clusters, coordinating their communication and orchestrating when and where an
95- application is going to be deployed.
9679
97- As part of the pattern configuration, the administrator needs to define both
98- clusters installation details as would be done using the Openshift-installer
99- binary.
80+ * Fork the _ Pattern_ .
81+ * Describe the instructions for creating the clusters and syncing data between them.
82+ * Commit and push your changes (to your fork).
83+ * Set your ** secret** cloud provider credentials.
84+ * Connect to your target _ Hub_ cluster.
85+ * Install the _ Pattern_ .
86+ * Start deploying [ resilient applications] [ rdr ] .
10087
101- For more detailed info about how to install this pattern, please follow this
102- [ link] ( https://github.com/validatedpatterns/regional-resiliency-pattern?tab=readme-ov-file#installation ) .
88+ Detailed installation instructions can be found [ here] [ rrp ] .
10389
10490### Pattern Configuration
105- For obtainning more information about how to configure and deploy the pattern,
106- please follow this [ link] ( https://github.com/validatedpatterns/regional-resiliency-pattern ) .
91+
92+ For a full example, check the _ Pattern_ 's [ values.yaml] [ yml ] . The install-config
93+ specifications are detailed [ here] [ cfg ] .
94+
95+ Detailed configuration instructions can be found [ here] [ rrp ] .
96+
97+ <!-- LINKS -->
98+ [ acm ] : https://www.redhat.com/en/technologies/management/advanced-cluster-management
99+ [ acs ] : https://www.redhat.com/en/technologies/cloud-computing/openshift/advanced-cluster-security-kubernetes
100+ [ aws ] : https://www.redhat.com/en/technologies/cloud-computing/openshift/aws
101+ [ azr ] : https://www.redhat.com/en/technologies/cloud-computing/openshift/azure
102+ [ cfg ] : https://docs.openshift.com/container-platform/4.17/installing/installing_bare_metal_ipi/ipi-install-installation-workflow.html#additional-resources_config
103+ [ cli ] : https://docs.openshift.com/container-platform/4.14/cli_reference/openshift_cli/getting-started-cli.html
104+ [ gcp ] : https://www.redhat.com/en/blog/red-hat-openshift-is-now-available-on-google-cloud-marketplace
105+ [ mdr ] : https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.16/html/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/metro-dr-solution
106+ [ ocp ] : https://www.redhat.com/en/technologies/cloud-computing/openshift
107+ [ odf ] : https://www.redhat.com/en/technologies/cloud-computing/openshift-data-foundation
108+ [ ops ] : https://www.redhat.com/en/technologies/cloud-computing/openshift/gitops
109+ [ opr ] : https://github.com/RHEcosystemAppEng/regional-dr-trigger-operator
110+ [ rdr ] : https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.16/html/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/rdr-solution
111+ [ rrp ] : https://github.com/validatedpatterns/regional-resiliency-pattern
112+ [ yml ] : https://github.com/validatedpatterns/regional-resiliency-pattern/blob/main/charts/hub/rdr/values.yaml
0 commit comments