x
login about faq Site discussion (meta-askssc)

Mirror - High Protection

Hello, I have a database mirroring setup (High availability option) in a production system.

Can I use the syntax:

ALTER DATABASE mydb SET PARTNER = 'TCP://new_witness'

To change the current witness server (old_witness) to another server (new_witness)?

Do I need to do anything else? Would that affect mirroring?

Thanks

more ▼

asked Nov 04 '10 at 02:37 AM in Default

elias_chatzigeorgiou gravatar image

elias_chatzigeorgiou
62 5 6 7

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

2 answers: sort voted first

As discussed here, you only have one witness, so yes ALTERing the database properties should change the existing witness.

more ▼

answered Nov 04 '10 at 02:55 AM

Kev Riley gravatar image

Kev Riley ♦♦
46.1k 39 43 69

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

To change the witness, you'll want to use SET WITNESS rather than SET PARTNER

more ▼

answered Nov 04 '10 at 01:40 PM

KenJ gravatar image

KenJ
12.4k 2 10

+1 good spot didn't even see that, just read what I wanted to read!!

Nov 04 '10 at 05:28 PM Kev Riley ♦♦

thanks for the correction, that was a typo.

Nov 05 '10 at 01:52 AM elias_chatzigeorgiou
(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:

x34

asked: Nov 04 '10 at 02:37 AM

Seen: 538 times

Last Updated: Nov 04 '10 at 02:37 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.