Solved

SQL Mirroring Issue

Posted on 2014-11-06
4
230 Views
Last Modified: 2014-11-25
We have 3 separate databases which are mirrored to a second node and there is a witness server which watches the process. These 3 databases need to access each other as part of the application that uses them. Sometimes the Mirroring Witness automatically fails over one of the databases causing errors in our application.

Is it possible to group these 3 databases together so that when a failover occurs, all will be moved to the second node?

Thanks,
James
0
Comment
Question by:V0LUME
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40425886
0
 

Author Comment

by:V0LUME
ID: 40425896
Thank you very much. I will have a read through and see if I can get this implemented.
0
 

Author Comment

by:V0LUME
ID: 40464205
Hi Phillip,

I implemented this yesterday and it appears to failover the Databases to node 2, but it doesn't work in the reverse direction.

Do I need to create the same Alert and job on node 2 also? I didn't want to get in a looping situation.

Thanks,
James
0
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40464483
Yes, but disable it on node 2 until and unless it fails over.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

617 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