You can use Azure Chaos Studio to run high availability (HA) drills to test database resilience against region outages. It can be used to test Azure SQL and SQL Server VMs. Here you can know more about posible targets.
How to emulate Regional disaster for SQL Server
Greetings.
I'm trying to set up regional disaster recovery solution for several Azure MS SQL databases that are assigned to Elastic Pool. I've prepared pilot solution with Auto-Failover groups according the article
All works well for me. After execution manual failover my databases are accessible by Primary listener.
But I need to check how real auto-failover is executed? How can I emulate real regional disaster?
I found some articles about such emulation for other database servers, like MySQL.
But could not find any information about MS SQL servers.
Please could You give some advice?
Thank You
Azure SQL Database
3 answers
Sort by: Most helpful
-
Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
2022-06-14T03:53:04.81+00:00 -
Sergey Lozenkov 6 Reputation points
2022-06-16T19:51:29.377+00:00 Greetings.
Briefly looked at Azure Chaos Studio. It is not obvious for me that it can work with SQL Servers.
I've read the possible targets and fault library sections and did not find any mentions about SQL at all.
Of course, there are some specific faults for CosmosDB, Redis Cache or KeyVault and these type of objects can be chosen as targets. But I even can not see any SQL based objects in the list of possible targets. Although I have a lot of such objects in the subscription where Chaos resource provider is enabled.
Probably this experiment should include more complex implementation.
Do You have some experience to make unavailable SQL Server in a region? -
Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
2022-06-17T20:06:55.593+00:00 Here you will find more ways to simulate an outage, specifically for Azure SQL Database