Contoso runs an Azure SQL Managed Instance named sqlmi-prod1 in West Europe. It hosts 12 user databases. You plan to deploy a second managed instance in North Europe. You will then configure a failover group so that all 12 databases fail over together to North Europe during a regional outage of West Europe.
What should you do when you deploy the second managed instance?
A failover group for SQL Managed Instance requires the primary and secondary instances to be in the same DNS zone. This lets the same multi-domain certificate authenticate client connections to either instance. You meet this requirement by naming the primary instance as the DNS zone partner when you create the secondary, through the portal, PowerShell or Azure CLI. The instance-level failover group then protects all 12 databases together.
- Not correct: Plan active geo-replication for each database. Active geo-replication is not supported for SQL Managed Instance. It is available for Azure SQL Database only.
- Not correct: Assign the second instance a separate DNS zone. The primary and secondary managed instances must share a DNS zone to join the same failover group.
- Correct: Specify
sqlmi-prod1as the DNS zone partner. The two managed instances in a failover group must share a DNS zone so that one multi-domain certificate can authenticate client connections to either instance. You set this with the DNS zone partner setting. - Not correct: Use the failover group listener as the DNS zone partner. The listener is a client connection endpoint. The DNS zone partner is the existing managed instance whose DNS zone the secondary will share.