Question on geo-replication and Failover groups on Azure SQL database

anil kumar 1,646 Reputation points
2021-02-05T07:50:44.52+00:00

Hi,

I have configured geo-replication and Failover groups for same Azure SQL database, please see following details.

GR
Primary: serverak/testdb
Secondary: serverak3/testdb and serverak4/testdb

Failover groups
Primary: serverak/testdb
Secondary: serverak5/testdb

So my testdb database is getting replicated to three Azure SQL databases (2 for GR and 1 for FG) - question is what happens to GR databases if database is failed over from serverak/testdb ?

One option is GR databases would continue to get the changes from serverak/testdb which would be in readable state after failover. Another option is Azure can see GR and FG are set up on same database and hence GR databases would continue to get the changes from new primary after failover - chances are less still wants to be clear on this.

Appreciate your insightful response. Thank you.

Azure SQL Database
{count} votes

Accepted answer
  1. Navtej Singh Saini 4,226 Reputation points Microsoft Employee Moderator
    2021-03-04T16:11:43.783+00:00

    @anil kumar

    We have answer from the Team regarding the configuration changes during Failover. They have conveyed:

    "When failover is activated to one of the secondary databases, all other secondary Db's are automatically linked to the new primary."

    Please let us know if you have any further questions.

    Regards
    Navtej S


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.