0
votes

We have our Azure Cosmos DB provisioned in East US and our hot-stand by region is West US.

I know that Cosmos DB supports Geo-Replication with multi master.

How do I configure the Azure Cosmos DB to support the disaster recovery with automatic fail over? Would it impact the connection string?

1

1 Answers

1
votes

Please see this article for the complete information: https://docs.microsoft.com/azure/cosmos-db/troubleshoot-sdk-availability

If your account has multiple regions, the Cosmos DB SDKs already apply retry mechanism when they detect regional outages. You can define the preference in order of this failover retries by creating the client specifying the regional preference. Depending on your SDK language and version, this could be:

This preference configuration also determines which regions you want to read/write from in a normal (no regional outage situation).