Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Which replica becomes primary when availability group fails over?

$
0
0

Hi,

I have 3 synchronous AlwaysON replicas: A, B and C. A is primary, B and C are secondary and both are set to Automatic recovery. How can I understand, which of them (B or C) will become primary when A goes offline?

Well, Actually my final DB system should support following configuration:

1) Normally - A is primary B and C are sync secondary.

2) if A fails, B automatically becomes primary, C remains Sync secondary.

3) if A goes online, it becomes primary again 

4) C becomes primary only after A and B fail (and there still should be cluster quorum!)

As i understood, first of all i should configure quorum the following way: A-0, B-1, C-1, folder-witness-1.

The problem, again, is: I cannot understand how to configure which replica becomes primary when AG fails over.

Thanks in advance!


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>