Reputation: 566
I have provisioned Cosmos DB with the following configurations
I want to prove that when the primary goes offline the secondary will become the primary and function.
I could successfully perform the manual failover however I don't know how to take the primary database offline (Note: I could delete only the secondary replica)?
Upvotes: 0
Views: 1057
Reputation: 12153
Juts a supplementary here. As @MarkBrown indicated, you can use manual failover, and this is an official document for it
Upvotes: 1
Reputation: 8763
You cannot take a region "offline" and removing the region is not possible while it is functioning at the primary write region. If you want to test failover, use the manual failover. This is sufficient for BCDR testing scenarios.
Upvotes: 1