SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL 2012 AG/FCI Failover


SQL 2012 AG/FCI Failover

Author
Message
SQLSACT
SQLSACT
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2104 Visits: 2931
SQLSACT (4/16/2013)
Perry Whittle (4/16/2013)
SQLSACT (4/16/2013)
Because Node1 has SQL installed as nonclustered, is it safe to say that it's not absolutely necessay to share DTC across all 3 nodes.

yes you could argue that. But since all 3 nodes are in the same cluster on the same site the DTC resource would be even more highly available. It depends on your requirements for DTC, also under Windows 2008 you may now have multiple DTC resources whereas you couldn't under Windows 2003.



SQLSACT (4/16/2013)
If I failover my AG to Node1, if DTC is needed when the AG is running on Node1, won't it just use the DTC service on that server?

Thanks

Yes, but what about an inflight transaction that was in process at the time, that will not be recoverable by the local DTC.


Thanks

Yes, but what about an inflight transaction that was in process at the time, that will not be recoverable by the local DTC


Makes sense - Thanks


Do inflight transactions exist if the failover of an AG - I thought it only existed when an instance of SQL Server is failed over to another node
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20078 Visits: 17244
yes but i'm assuming you'll have other databases that are not part of the AO group or even other instances that may use DTC, if you don't then don't worry. As i said its your choice.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
SQLSACT
SQLSACT
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2104 Visits: 2931
Thanks for your help
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20078 Visits: 17244
No problem, don't forget to check the pre reqs and restrictions carefully, it can save you a whole lot of time later on.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
SQLSACT
SQLSACT
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2104 Visits: 2931
  • FCIs do not support automatic failover by availability groups: FCIs do not support automatic failover by availability groups, so any availability replica that is hosted by an FCI can be configured for manual failover only.

  • [/quote]

    Hi Perry

    I know this post is a few weeks old, I just wanted to run something by you.

    So I understand that when combining FCI with AG, automatic database failover is gone, but you still have automatic instance failover. Am I correct in this?

    When you have an AG with no FCI, you have automatic database failover but no instance failover. Am I correct in this?

    Are you aware of any way to achieve automatic failover of an instance and database using 2012 AlwaysOn functionality?


    Thanks
    Perry Whittle
    Perry Whittle
    SSC-Insane
    SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

    Group: General Forum Members
    Points: 20078 Visits: 17244
    SQLSACT (5/7/2013)
    So I understand that when combining FCI with AG, automatic database failover is gone

    Yes that is correct.


    SQLSACT (5/7/2013)
    but you still have automatic instance failover. Am I correct in this?

    Yes correct.

    SQLSACT (5/7/2013)
    When you have an AG with no FCI, you have automatic database failover but no instance failover. Am I correct in this?

    Correct.



    SQLSACT (5/7/2013)[hrAre you aware of any way to achieve automatic failover of an instance and database using 2012 AlwaysOn functionality?


    Thanks

    Not immediately, no

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" ;-)
    SQLSACT
    SQLSACT
    SSCrazy
    SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

    Group: General Forum Members
    Points: 2104 Visits: 2931
    Thanks Perry
    SQLSACT
    SQLSACT
    SSCrazy
    SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

    Group: General Forum Members
    Points: 2104 Visits: 2931
    Perry Whittle (5/7/2013)
    SQLSACT (5/7/2013)
    So I understand that when combining FCI with AG, automatic database failover is gone

    Yes that is correct.


    SQLSACT (5/7/2013)
    but you still have automatic instance failover. Am I correct in this?

    Yes correct.

    SQLSACT (5/7/2013)
    When you have an AG with no FCI, you have automatic database failover but no instance failover. Am I correct in this?

    Correct.



    SQLSACT (5/7/2013)[hrAre you aware of any way to achieve automatic failover of an instance and database using 2012 AlwaysOn functionality?


    Thanks

    Not immediately, no


    Thanks Perry

    One more thing, previously I have set up an AG combined with FCI

    Now, I am setting up an AG with no FCI - Because both nodes are in the same cluster, I am assuming that I still need 2 drives presented to both servers, one for Quorum (For node and disk majority) and one for DTC. Correct?

    Thanks
    Perry Whittle
    Perry Whittle
    SSC-Insane
    SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

    Group: General Forum Members
    Points: 20078 Visits: 17244
    SQLSACT (5/8/2013)
    One more thing, previously I have set up an AG combined with FCI

    Now, I am setting up an AG with no FCI - Because both nodes are in the same cluster, I am assuming that I still need 2 drives presented to both servers, one for Quorum (For node and disk majority) and one for DTC. Correct?

    Thanks

    If you intend to use a disk for your quorum resource then yes it needs to be presented to each node in the cluster. Similarly, if you intend to make your MSDTC resource highly available across your cluster then the disk needs to be presented to each node.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" ;-)
    SQLSACT
    SQLSACT
    SSCrazy
    SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

    Group: General Forum Members
    Points: 2104 Visits: 2931
    Perry Whittle (5/8/2013)
    SQLSACT (5/8/2013)
    One more thing, previously I have set up an AG combined with FCI

    Now, I am setting up an AG with no FCI - Because both nodes are in the same cluster, I am assuming that I still need 2 drives presented to both servers, one for Quorum (For node and disk majority) and one for DTC. Correct?

    Thanks

    If you intend to use a disk for your quorum resource then yes it needs to be presented to each node in the cluster. Similarly, if you intend to make your MSDTC resource highly available across your cluster then the disk needs to be presented to each node.


    Thanks Perry

    Do you know whether you can Log Ship a database involved in an AG? This is just for interest sake..

    thanks
    Go


    Permissions

    You can't post new topics.
    You can't post topic replies.
    You can't post new polls.
    You can't post replies to polls.
    You can't edit your own topics.
    You can't delete your own topics.
    You can't edit other topics.
    You can't delete other topics.
    You can't edit your own posts.
    You can't edit other posts.
    You can't delete your own posts.
    You can't delete other posts.
    You can't post events.
    You can't edit your own events.
    You can't edit other events.
    You can't delete your own events.
    You can't delete other events.
    You can't send private messages.
    You can't send emails.
    You can read topics.
    You can't vote in polls.
    You can't upload attachments.
    You can download attachments.
    You can't post HTML code.
    You can't edit HTML code.
    You can't post IFCode.
    You can't post JavaScript.
    You can post emoticons.
    You can't post or upload images.

    Select a forum

































































































































































    SQLServerCentral


    Search