SQL Server Failover Cluster – Setting preferred owner for SQL Server service

Hi Friends,

Continuing my series of blog posts on SQL Server Failover Cluster, today I want to quickly show how can set a preferred owner for the SQL Server service in a clustered environment?

Failover cluster allows automatic failback. Yes, I am talking about failing back to the original node (if it is preferred) after an automatic failover. This is how you can set it:

Connect to Failover Cluster Manager (Server Manager -> Features -> Failover Cluster Manager)

Expand Services and Applications, right click SQL Server service and select Properties. In the properties window, select the node you want to set as preferred owner. In my example below, it’s a 2 node cluster and I have set WinNode2 as the preferred owner. However, you can set preferred owner(s) in a particular order of preference (observe the up/down buttons on the right side). Once you set that, Failover Cluster service will failback to the first preferred owner. If the 1st preferred owner is down, it would try to failback to the 2nd preferred owner, so on and so forth…



But you are not yet done. After you set the preferred owner(s), click on the Failover tab and set the failback option (either immediately or between hours)


Click OK and you are done !

Note that failback only happens if the failover was automatic.




About Amit Bansal

Amit Bansal is always brainstorming around SQL Server. Despite working with SQL since 1997, he is amazed that he keeps learning new things every single day. SQL Server is AB's first love, and his wife does not mind that. He tries to share as much and spreads the SQL goodness. Internals and Performance Tuning excites him, and also gives him sleepless nights at times, simply because he is not a genius, but quite a hard worker and does not give up. It has been a long and exciting journey since 1997, you can read here: http://sqlmaestros.com/amit-bansal/ He is on Twitter: https://www.twitter.com/A_Bansal

View all posts by Amit Bansal →

Leave a Reply

Your email address will not be published.