Solved

DB Mirroring / Auto-Failover Questions

Posted on 2010-08-16
2
457 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
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 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