x
login about faq Site discussion (meta-askssc)

Number of Mirroring witnesses allow

Hi

Within database mirroring are you allow more than one witness..?

I have the following setup:

Primary server in Datacentre1 and Failover server in Datacentre2.

Where is the best place to install the witness? We currently have a 3rd datacentre, would the witness be better in there or with the principle?

I am thinking of user SQL Express 2008 as the witness, is this advised?

Thanks in advance.

more ▼

asked Dec 11 '09 at 08:36 AM in Default

sp_lock gravatar image

sp_lock
8.1k 20 26 29

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

Haven't implemented database mirroring, so this is just from what I've read....

One witness only seems to be the setup, as the purpose of the witness is to independently ensure that only one of the instances is serving the database, when the instances lose connection with each other. Not sure how thta would work if you had multiple witnesses, as then you would also need a witness-witness!

Obviously the witness needs to be on a physically different machine to either of the database mirror instances, and keeping it separated into another datacentre could improve your resilience.

SQL Express 2008 can be used as a witness, however Microsoft recommend

that every server instance that is used as a witness correspond to the minimum configuration that is required for the SQL Server Standard version that you are running

more ▼

answered Dec 11 '09 at 09:01 AM

Kev Riley gravatar image

Kev Riley ♦♦
46k 38 43 69

Although I have never tried to set up more than one witness, I do not think there is any realist way to do it and I am not entirely clear why you would want to either. Even if you could, it seems like it would generate more problems than benefits.

Dec 11 '09 at 05:32 PM TimothyAWiseman
(comments are locked)
10|1200 characters needed characters left

The placement of the Witness would come down to the integrity of your networks. You don't want false failovers.

That being said, I would probably locate it in the DR datacentre so that the Standby and it can form a quorum should the Primary fail and the third datacentre not be accessible for some reason.

more ▼

answered Dec 11 '09 at 10:17 AM

Blackhawk-17 gravatar image

Blackhawk-17
10.5k 23 29 34

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1601
x53
x3

asked: Dec 11 '09 at 08:36 AM

Seen: 1502 times

Last Updated: Dec 11 '09 at 09:10 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.