Azure SQL MI failover group setup for migration

Santhamoorthy M 161 Reputation points
2022-05-23T10:00:18.003+00:00

We have created 2 SQL MIs in different region. I want to migrate the databases from Onpremise SQL server to SQL MI using Azure DMS. Could someone please confirm whether I need to use the primary instance for my migration and need to use primary instance for application connection? How the secondary instance will work if the primary instance is not available? Do we need to change the connection string again to use the secondary instance if primary is not available? please advise on these questions.

Azure Database Migration service
Azure SQL Database
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
495 questions
0 comments No comments
{count} vote

Accepted answer
  1. Alberto Morillo 32,891 Reputation points MVP
    2022-05-23T12:12:20.687+00:00

    Yes, please connect to primary for the DMS migration. In case the primary instance get stuck during the migration like "log shipping in progress" you can failover to the secondary and start the DMS job again, connect to the failover group using the listener endpoint.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful