SQL 2012 AlwaysOn Availability group Failover settings

We have a 4 node 2012 Sql availability cluster and are hoping someone can verify some settings for me. We have two nodes in our HQ site and two in DR. Tak a look at the attached screen shot but basically my thinking is that HQ node 1 is primary and set to manual failover HQ2 is set to automatic, DR1 is also automatic. So the question is if we have a failure on HQ1 will it fail to HQ2 then to DR1?

Cluster settings
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PadawanDBAOperational DBACommented:
So the primary replica is configured with manual failover mode.  Which means, if it crashes, it's not going to failover without you failing it over.  HQSQL02 and DRSQL01 create what's referred to as an automatic failover set.  As long as the primary replica is on one of those two nodes, it will automagically failover between the two nodes.  Only one automatic failover set per AG.

Also, you typically don't leverage synchronous commit between datacenters (this is not to say you never do it).  The reason for this is that in most cases the latency between the datacenters is an unacceptable amount of latency for a transaction to have to wait to commit and return control to the app.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FirstcomAuthor Commented:
That is what i was afraid of. So when you have 4 nodes hosting an AG you are really limited to two possible primary owners from an automatic failover standpoint.
PadawanDBAOperational DBACommented:
Yessir.  Pertaining to your setup, however, I rarely find a setup where you *want* the failover to a DR site to be automatic, as there are usually many other components that need to move together.  Regardless, to do it the way you are wanting, you would have two AlwaysOn FCIs (one in each datacenter) and then build the availability group on top of those (host the replicas on the FCIs).
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.