Author |
Topic |
anarayanamoorthy
Starting Member
15 Posts |
Posted - 2012-06-11 : 07:17:37
|
I have set up a database mirroring in a production server. When the principal server failover its not getting automatically mirrored to the mirror server. I have checked one of my user database in the properties tab and have given the TCP port perfectly. I have to do a manual failover all the time.Cheers,NM |
|
Sachin.Nand
2937 Posts |
Posted - 2012-06-11 : 17:30:52
|
An automatic failover isn't possible without a witness server.Did you set that up ?After Monday and Tuesday even the calendar says W T F .... |
|
|
anarayanamoorthy
Starting Member
15 Posts |
Posted - 2012-06-12 : 12:46:19
|
quote: Originally posted by Sachin.Nand An automatic failover isn't possible without a witness server.Did you set that up ?After Monday and Tuesday even the calendar says W T F ....
Yes I have set up a witness server too.Cheers,NM |
|
|
Sachin.Nand
2937 Posts |
Posted - 2012-06-12 : 14:31:20
|
What does this return ?select * from sys.database_mirroring where mirroring_witness_name is not nullAfter Monday and Tuesday even the calendar says W T F .... |
|
|
anarayanamoorthy
Starting Member
15 Posts |
Posted - 2012-06-13 : 07:00:21
|
quote: Originally posted by Sachin.Nand What does this return ?select * from sys.database_mirroring where mirroring_witness_name is not nullAfter Monday and Tuesday even the calendar says W T F ....
No It did not return any row when i executed this query.Cheers,NM |
|
|
Sachin.Nand
2937 Posts |
Posted - 2012-06-13 : 07:10:42
|
quote: Originally posted by anarayanamoorthy
quote: Originally posted by Sachin.Nand What does this return ?select * from sys.database_mirroring where mirroring_witness_name is not nullAfter Monday and Tuesday even the calendar says W T F ....
No It did not return any row when i executed this query.Cheers,NM
So it means your witness is not set up.After Monday and Tuesday even the calendar says W T F .... |
|
|
anarayanamoorthy
Starting Member
15 Posts |
Posted - 2012-06-13 : 12:02:32
|
quote: Originally posted by Sachin.Nand
quote: Originally posted by anarayanamoorthy
quote: Originally posted by Sachin.Nand What does this return ?select * from sys.database_mirroring where mirroring_witness_name is not nullAfter Monday and Tuesday even the calendar says W T F ....
No It did not return any row when i executed this query.Cheers,NM
So it means your witness is not set up.After Monday and Tuesday even the calendar says W T F ....
[/img]Sachin,I dont think so. I have a snapshot of image captured from server but i'm not able to attach here as am not able to find option where i can see in database properties in mirroring tab where principal, mirror and witness are hard coded with the respective port n server name.Cheers,NM |
|
|
anarayanamoorthy
Starting Member
15 Posts |
Posted - 2012-06-13 : 12:06:14
|
Sachin,I have the snapshot but am unable to attach here as am not able to find upload option of *.jpeg file here in sql team. In the database properties, under mirroring tab i can able to see the values that I have hard coded in Principal, Mirror and Witness servers. I think the mirroring is setup. Any other way to find out why witness is not able to catch up automatically when failovers.Cheers,NM |
|
|
Sachin.Nand
2937 Posts |
Posted - 2012-06-13 : 13:21:15
|
Just upload it on some image hosting website like tinypic.com and post the image URL here.After Monday and Tuesday even the calendar says W T F .... |
|
|
anarayanamoorthy
Starting Member
15 Posts |
Posted - 2012-06-19 : 05:22:24
|
Sachin,I have uploaded the image. Find the URL below. http://tinypic.com/r/if61vm/6quote: Originally posted by Sachin.Nand Just upload it on some image hosting website like tinypic.com and post the image URL here.After Monday and Tuesday even the calendar says W T F ....
Cheers,NM |
|
|
|