Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Failback SQL instance on right node after Failover

Posted on 2012-08-23
2
Medium Priority
?
536 Views
Last Modified: 2012-09-03
Hi,
I have a 2 node SQL server 2008 cluster.
When the failover occurs ,both instances run on same node which is OK. I have to then manually move the services from failover node to the original node. We have heavy processing over night /weekends and running everything on one node is a problem.

I have seen a way to automate it so that once node which had issues is up and running, the SQL instance can fail it back at original node.

Is this risky? Is there any way to carry a node sanity check before carrying automatic failback?

Thanks
0
Comment
Question by:crazywolf2010
2 Comments
 

Author Comment

by:crazywolf2010
ID: 38328651
Many thanks for the response.

"Please do not use it in production without thoroughly verifying that this is not going to cause any problems. Startup stored procs has to be created on the master database (master is the first one which recovers after a restart), and cannot contain any input or output variables. There are other gotchas too."
-- Have you used it before and did you see any issues. I am asking as I don't have test cluster system to test this solution.

Regards
0
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 1500 total points
ID: 38330341
You can set each instance to have a preferred node and enable automatic fail-back - you have the option of setting to to fail back immediately, or setting it to fail back after the node has been online for a certain number of hours. In either case, you right click on the application group in the cluster manager, go to Properties, and set the failback policy.

We have our instances set to prefer a particular node, and most are set to fail back automatically. We have a few sensitive database instances where keeping them up is more important than getting them back on their preferred node, so those are set to fail back manually, and both situations work fine.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Screencast - Getting to Know the Pipeline
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question