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
CustomerIntent: As a cloud architect/engineer, I need general guidance reliability in Azure Cosmos DB for MongoDB vCore
13
13
---
@@ -53,16 +53,20 @@ Your Azure Cosmos DB for MongoDB vCore cluster must be created in the following
53
53
54
54
### Create a resource with availability zones enabled
55
55
56
-
To enable availability zones, you must enable High availability (HA) when [creating a cluster](quickstart-portal.md) or in the [**Scale** section of an existing cluster](how-to-scale-cluster.md) in the Azure portal.
56
+
To enable availability zones, you must enable High availability (HA) when [creating a cluster](../cosmos-db/mongodb/vcore/quickstart-portal.md) or in the [**Scale** section of an existing cluster](../cosmos-db/mongodb/vcore/how-to-scale-cluster.md) in the Azure portal.
57
57
58
58
59
59
## Cross-region disaster recovery and business continuity
60
60
61
61
[!INCLUDE [introduction to disaster recovery](includes/reliability-disaster-recovery-description-include.md)]
62
62
63
+
Azure Cosmos DB for MongoDB vCore does not provide built-in automatic failover or disaster recovery. Planning for high availability is a critical step as your solution scales.
63
64
65
+
### Disaster recovery in single-region geography
64
66
65
-
Azure Cosmos DB for MongoDB vCore does not provide built-in automatic failover or disaster recovery. Planning for high availability is a critical step as your solution scales.
67
+
To maximize your uptime, plan ahead to maintain business continuity and prepare for disaster recovery with Azure Cosmos DB for MongoDB vCore.
68
+
69
+
While Azure services are designed to maximize uptime, unplanned service outages might occur. A disaster recovery plan ensures that you have a strategy in place for handling regional service outages.
66
70
67
71
Azure Cosmos DB for MongoDB vCore automatically takes backups of your data at regular intervals. The automatic backups are taken without affecting the performance or availability of the database operations. All backups are performed automatically in the background and stored separately from the source data in a storage service. These automatic backups are useful in scenarios when you accidentally delete or modify resources and later require the original versions.
68
72
@@ -73,8 +77,17 @@ Automatic backups are retained in various intervals based on whether the cluster
73
77
|**Active clusters**|`35` days |
74
78
|**Deleted clusters**|`7` days |
75
79
80
+
## Design for high availability
81
+
82
+
High availability (HA) should be enabled for critical Azure Cosmos DB for MongoDB vCore clusters running production workloads. In an HA-enabled cluster, each shard serves as a primary along with a hot-standby shard provisioned in another availability zone. Replication between the primary and the secondary shard is synchronous by default. Any modification to the database is persisted on both the primary and the secondary (hot-standby) shards before a response from the database is received.
83
+
84
+
The service maintains health checks and heartbeats to each primary and secondary shard of the cluster. If a primary shard becomes unavailable due to a zone or regional outage, the secondary shard is automatically promoted to become the new primary and a subsequent secondary shard is built for the new primary. In addition, if a secondary shard becomes unavailable, the service auto creates a new secondary shard with a full copy of data from the primary.
85
+
86
+
If the service triggers a failover from the primary to the secondary shard, connections are seamlessly routed under the covers to the new primary shard.
87
+
88
+
Synchronous replication between the primary and secondary shards guarantees no data loss if there's a failover.
89
+
76
90
## Next steps
77
-
[Scale a cluster in Azure Cosmos DB for MongoDB vCore](how-to-scale-cluster.md)
78
91
79
92
- Read more about [feature compatibility with MongoDB](compatibility.md).
80
93
- Review options for [migrating from MongoDB to Azure Cosmos DB for MongoDB vCore](migration-options.md)
0 commit comments