You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/products/postgresql/crdr/crdr-overview.md
+48-63Lines changed: 48 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,13 @@ import crdrSwitchover from "@site/static/images/content/figma/crdr-switchover.pn
14
14
import crdrRevert from "@site/static/images/content/figma/crdr-revert.png";
15
15
import crdrSwitchback from "@site/static/images/content/figma/crdr-switchback.png";
16
16
17
-
The cross-region disaster recovery (CRDR) feature ensures your business continuity by
18
-
automatically recovering your workloads to a remote region in the event of a region-wide
17
+
The cross-region disaster recovery (CRDR) feature ensures your business continuity by recovering your workloads to a remote region in the event of a region-wide
19
18
failure.
20
19
21
20
## Region-wide outage
22
21
23
-
Although CRDR detects a region failure and recovers your workloads in another region
24
-
automatically, you still might want to look into the region status yourself for a variety
25
-
of reasons. To do that, you can:
22
+
CRDR allows you to cope with the primary region failure by initiating a recovery transition
23
+
to another region. To identify a region outage, look into the region status:
26
24
27
25
- Check your monitoring and alerts, and watch the following metrics:
28
26
- Instances, nodes, services failures
@@ -37,40 +35,41 @@ of reasons. To do that, you can:
37
35
## CRDR overview
38
36
39
37
The CRDR setup is a pair of integrated multi-node services, sharing credentials and a
40
-
DNS address but located in different regions. CRDR peer services may be hosted on 1-3 nodes.
41
-
42
-
- Primary region service (**PRS**) is the original service you use unless there's a region
43
-
outage, in which case it hands over to the RRS. As soon as the region is up again and
44
-
the PRS is ready, the PRS takes back control from the RRS.
45
-
- Recovery region service (**RRS**) is the service you create for disaster recovery purposes.
46
-
This service takes over from the PRS when a region is down and hands over to the PRS when
47
-
the region and the PRS are up and running again.
38
+
DNS address but located in different regions. CRDR peer services can be hosted on 1-3 nodes.
39
+
40
+
-**Primary-region service** is the original service you use on regular basis. It hands over to
41
+
the recovery-region service when you initiate
42
+
[a failover or a switchover](/docs/products/postgresql/crdr/crdr-overview#recovery-transition).
43
+
When you initiate
44
+
[a failback or a switchback](/docs/products/postgresql/crdr/crdr-overview#recovery-reversion),
45
+
the primary-region service takes back
46
+
control from the recovery-region service as soon as the infrastructure is up and running
47
+
again.
48
+
-**Recovery-region service** is the service you create for disaster recovery purposes. It
49
+
takes over from the primary-region service when you initiate
50
+
[a failover or a switchover](/docs/products/postgresql/crdr/crdr-overview#recovery-transition).
51
+
When you initiate
52
+
[a failback or a switchback](/docs/products/postgresql/crdr/crdr-overview#recovery-reversion),
53
+
the recovery-region service hands over to
54
+
the primary-region service as soon as the infrastructure is up and running again.
48
55
49
56
The CRDR cycle is a sequence of actions involving CRDR peer services aimed at enabling and
50
57
executing CRDR as well as resuming the original service operation.
51
58
52
59
Throughout the CRDR cycle, CRDR peer services or service nodes go into the following states:
53
60
54
-
- Active
55
-
56
-
A CRDR peer service is **Active** when it runs on a node that is replicating data to
61
+
-**Active**: A CRDR peer service is *active* when it runs on a node that is replicating data to
57
62
CRDR standby nodes.
58
63
- PRS is active during normal operations, when a region is up and running.
59
64
- RRS is active after taking over from PRS in the event of a region outage.
60
65
61
-
- Passive
62
-
63
-
A CRDR peer service is **Passive** when it runs on CRDR standby nodes only. Either CRDR
66
+
-**Passive**: A CRDR peer service is *passive* when it runs on CRDR standby nodes only. Either CRDR
64
67
peer service can be passive depending on a phase of the CRDR cycle.
65
68
66
-
- Failed
69
+
-**Failed**: A CRDR peer service is *failed* when it's defunct or unreachable after failing over
70
+
in the event of a region outage. Only a PRS can be failed.
67
71
68
-
A CRDR peer service is **Failed** when it's defunct or unreachable after failing over
69
-
automatically or manually in the event of a region outage. Only a PRS can be failed.
70
-
71
-
- Standby
72
-
73
-
A CRDR service node is **Standby** when it is replicating data from the CRDR service
72
+
-**Standby**: A CRDR service node is *standby* when it is replicating data from the CRDR service
74
73
node that is running the active service.
75
74
76
75
## Limitations
@@ -96,12 +95,9 @@ and the RRS is the **Passive** service replicating from the PRS.
96
95
97
96
### Recovery transition
98
97
99
-
CRDR supports three types of the recovery transition:
98
+
CRDR supports two types of the recovery transition:
0 commit comments