|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, February 03, 2011 1:36 PM
Points: 4,
Visits: 16
|
|
I have 3 database mirroring from different servers.
Can I use only 1 witness SQL server with multiple tcp endpoint? if yes,How? Or What should I do to handle this situation? Separate witness sql server for each pair looks over kill for me.
I found it can use as witness for only 1 pair. If I try it on the second pair, it cut the witness out from first pair and left database as "Principle, Suspended"
Any help will be really appreciated.
Thank you in advance.
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 7:10 AM
Points: 485,
Visits: 1,568
|
|
we have 1 witness 'server', but each pair it monitors is a seperate instance.
so we have 6 database servers that are mirrored. (12 seperate servers) we have 1 witness server with 6 instances running.
everything runs great.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, February 03, 2011 1:36 PM
Points: 4,
Visits: 16
|
|
Thank Geoff Is it possible to do something like 1 SQL server instance, 6 TCP endpoints?
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 7:10 AM
Points: 485,
Visits: 1,568
|
|
no. but you might be able to do something like;
instance pair 1 mirroring on port 5023 instance pair 2 mirroring on port 5024 instance pair 3 mirroring on port 5025
the witness instance has 1 endpoint all on port 5022
on each of the principal servers, run; ALTER DATABASE <DATABASE_NAME> SET WITNESS = ' TCP :// < system-address of the witness server > : 5022' GO
however, the seperate instance on the witness will lead to a better solution imho....
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, February 03, 2011 1:36 PM
Points: 4,
Visits: 16
|
|
Thank you so much.
For the second pair, I need to do mirroring in High Performance operating mode (change port as your reply) and add Witness as your reply on Principal later, everything comes out perfect.
Thank again.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 11:25 AM
Points: 12,
Visits: 74
|
|
I am also trying to setup Mirroring with failover, the witness instance is on the same server as the mirror instance. My mirror has the default instance name, and my witness is named SQLWitness. How do I specify the following command, it will not allow me to name the instance.
ALTER DATABASE MainDB SET WITNESS = 'TCP://MirrorDB\SQLWitness:5033'; GO
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: 2 days ago @ 8:09 AM
Points: 1,558,
Visits: 1,396
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 11:25 AM
Points: 12,
Visits: 74
|
|
I'm almost certain I tried the forward slash.... but I will give it another try. Is there examples of this in the book you recommended?
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: 2 days ago @ 8:09 AM
Points: 1,558,
Visits: 1,396
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 11:25 AM
Points: 12,
Visits: 74
|
|
When trying this command,
ALTER DATABASE SharePointDB SET WITNESS = 'TCP://MirrorDB/SQLServerWitness:5033'; GO
I get the following error...
Msg 1449, Level 16, State 5, Line 1 ALTER DATABASE command failed due to an invalid server connection string.
|
|
|
|