June 11, 2012 at 5:17 am
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.
June 11, 2012 at 5:20 am
Is there a witness server?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 11, 2012 at 10:24 am
Yes I have a witness server, Mirror server and principal server.
June 11, 2012 at 12:02 pm
Right click on the principal database, click on properties. Select the Mirroring page and look at the Operating Mode. What is selected there?
June 12, 2012 at 6:30 am
Do you get any row in output if you execute select * from master.sys.database_mirroring_witnesses?
MJ
June 12, 2012 at 10:50 am
Lynn,
Its high safety with automatic failover(Synchronous) but its graded out.
June 12, 2012 at 10:51 am
Manu,
I did not get any output post execution of the query in Principal server.
June 12, 2012 at 10:53 am
anarayanamoorthy (6/12/2012)
Lynn,Its high safety with automatic failover(Synchronous) but its graded out.
Can you post a screen shot of the page?
June 13, 2012 at 5:07 am
Enclosed is the attachment of the snapshot Lynn.
June 25, 2012 at 8:48 am
anarayanamoorthy (6/12/2012)
Manu,I did not get any output post execution of the query in Principal server.
You should only get a result set when run on a server operating as a witness to database mirroring. If your principal and mirror servers are not also working as a witness to other mirror setups this system dmv should be empty on these servers.
June 25, 2012 at 8:49 am
What does the following return on both principal and mirror servers: select * from sys.database_mirroring.
June 26, 2012 at 5:03 am
Lynn,
Find the attached image which consists of output from the witness server.
June 26, 2012 at 6:00 am
Hi Gross,
Did u resolve this issue or not yet?
Did you check all server SP & SQL SP are same...
June 26, 2012 at 10:53 am
Please find the output from witness server.
June 26, 2012 at 10:58 am
anarayanamoorthy (6/26/2012)
Please find the output from witness server.
First, it doesn't show all the fields (columns). Second, doesn't really provide much information other than the witness is involved in several mirrored setups.
What about the the query I sent you to run on the mirror and principal servers? Also, since it looks like you have several databases mirrored, is this isolated to only one mirrored database or are the others experiencing the same problem?
Viewing 15 posts - 1 through 15 (of 19 total)
You must be logged in to reply to this topic. Login to reply