• Sign in
 

John Baker's BritBlog

Blog - Link List
Evaluation Software Downloads
  • System Center 2012

  • Windows Server 2012

  • Microsoft Virtual Academy

Resources
  • Presentation Slides

  • TechNet Virtual Labs

  • Screencast Blog Postings

Blog - News
  Locations of visitors to this page
This is provided "AS IS" with no warranties, and confers no rights

© John Baker

SQL Server 2005 Mirroring - "I lost my witness your Honor!"

TechNet Blogs > John Baker's BritBlog > SQL Server 2005 Mirroring - "I lost my witness your Honor!"

SQL Server 2005 Mirroring - "I lost my witness your Honor!"

johnbake-msft
28 Aug 2005 9:26 AM
  • Comments 1

Question 1:

Does the Witness only monitor the SQL servers or does it handle any transactions?

Answer 1:

From the link below:

“The witness server assists the principal or mirror in forming a quorum. If a witness server is present, a loss of either the principal database or the mirror database leaves two servers to form a quorum. If the principal cannot see the mirror server, but it can form a quorum with the witness, it can keep its database in service. Similarly, if the mirror and witness servers cannot see the principal server, and the mirror server can form a quorum with the witness, the mirror can take on the role of a new principal server.”

The Witness does not perform any transaction and is used just to manage the failover if the Principal or Mirror go down.

Question 2:

What happens if the Witness goes down?

Answer 2:

In the case of simply a Witness Server loss what happens is that automatic failover is no longer possible.  This does bring up other issues that are outlined below.  Also check the Mirroring White Paper link below for more details on other Witness Server Loss Scenarios.

Scenario HASL3.1: Witness Server Loss

When the witness server fails, mirroring continues but no automatic failover is possible. Loss of just one more server will mean there is no quorum, and the principal database will no longer be able to serve the database.

When you restore the Witness Server W, the partner servers Server A and Server B keep their original roles.

 

For complete discussion on Mirroring go to http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx#EFAA

 

  • 1 Comments
Blog - Comment List
Comments
  • Rubén Ortiz
    9 Feb 2009 10:07 AM

    Hi

    I don't understand something. Each server (principal, mirror, witness) has a unique public IP. So in case of crash of principal, with automatic failover, mirror takes control, but IP is different, so we assume that we need to change all IPs of our applications website?

    Thanks!

Page 1 of 1 (1 items)
Search Blogs
  • © 2013 Microsoft Corporation.
  • Terms of Use
  • Trademarks
  • Privacy & Cookies
  • 5.6.426.415