Solved

DB Mirroring / Auto-Failover Questions

Posted on 2010-08-16
2
459 Views
Last Modified: 2012-05-10
[SQL Server 2008]

These are goofy questions, I'm sure, but I want to be positive.

Picture SQL1 and SQL2 are my principal and mirror servers.  SQL3 is the witness.

(1)  Mirroring is database-by-database, which I love.  But just to make sure, if my witness server sees that DB1 is no longer responsive on SQLL1, it will only fail over *DB1*, right?

In other words, so if I have DB1 and DB2 on SQL1, both mirrored to SQL2...if I take DB1 offline, the failover is only scoped to DB1, right?  My applications that request DB2 are still going to use SQL1, right?  And DB2's requests are then routed to SQL2?

(2)  Now picture ANOTHER sql box.  It's SQL4, and it just has SharePoint 2010 or something on it.

Now, I also want to mirror DBs on this box to SQL2...so that if SQL4 goes south, my SQL3 witness server will still work for this relationship.

So, that witness box will need to monitor DBs between SQL1 and SQL2, but also between SQL4 and SQL2.

Will it do that?  Seems too good to be true.

Thanks.
0
Comment
Question by:bamapie
[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 Comments
 
LVL 12

Accepted Solution

by:
Máté Farkas earned 500 total points
ID: 33452762
1. Yes it is true. But if you use SQL Native Client for connecting to mirroring session this is no problem (one database from SQL1 another from SQL2). In any case you can use a trick to fail over other databases automatically: http://www.mssqltips.com/tip.asp?tip=1564
2. One Wittness server can inspect multiple servers and multiple mirroring sessions if you configured it. So yes, you can use SQL3 wittness to controls fail over between SQL4 and SQL2.
0
 

Author Closing Comment

by:bamapie
ID: 33454633
Beautiful
0

Featured Post

Webinar: Security & Encryption in the MySQL world

Join Percona’s Solutions Engineer, Dimitri Vanoverbeke as he presents “Security and Encryption in the MySQL world” on Thursday, July 6, 2017 at 7:00 am PDT / 10:00 am EDT (UTC-7).

Question has a verified solution.

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

Creating and Managing Databases with phpMyAdmin in cPanel.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 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