SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Mirror and witness becomes disconnected, won't reconnect


Mirror and witness becomes disconnected, won't reconnect

Author
Message
scogeb
scogeb
SSC-Enthusiastic
SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)

Group: General Forum Members
Points: 196 Visits: 420
Hello all. I have several setups with principal, mirror and witness set to High safety/auto failover. On rare occaisions, the principal will become disconnected from the witness and mirror, due to network issues on the principal. This causes a failover to the mirror which works perfectly. The problem is, I can't fail back over to the principal. In SSMS, it continues to show disconnected from the witness and mirror even though pings work both from the principal to the mirror and from the mirror to the principal. The network issue has clearly been resolved. The only way I can get the mirror and witness to be able to see the principal is to restart the SQL services on the principal. Then all works good again. Has anyone else experienced this or know what would cause something like this?
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20616 Visits: 17244
Try restarting the mirror endpoint next time instead of the sql server service

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
saidapurs
saidapurs
Old Hand
Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)

Group: General Forum Members
Points: 323 Visits: 414
Hi Scogeb,
Ya i have same setup & already i faced this issue. First your restart your witness server or make it up then restart primary server automatically database will come up as primary then you restart mirror server.
Than you check with fail-over will work 100%...

Thanks & Regards
Satish
scogeb
scogeb
SSC-Enthusiastic
SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)

Group: General Forum Members
Points: 196 Visits: 420
saidapurs (9/25/2012)
Hi Scogeb,
Ya i have same setup & already i faced this issue. First your restart your witness server or make it up then restart primary server automatically database will come up as primary then you restart mirror server.
Than you check with fail-over will work 100%...

Thanks & Regards
Satish


Satish, if I'm following what you're saying, you want me to restart my witness server first? That would cause the database to go offline. Only my witness and primary(previously mirror before failover) can see each other at this point. If something happens to either of those servers, the database goes offline.

I am going to try to restart the endpoint per Perry's suggestion next time this happens. I will post back the results at that time.
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20616 Visits: 17244
scogeb (9/25/2012)
I am going to try to restart the endpoint per Perry's suggestion next time this happens. I will post back the results at that time.

This should be your first action, post back let us know how you get on

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
scogeb
scogeb
SSC-Enthusiastic
SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)SSC-Enthusiastic (196 reputation)

Group: General Forum Members
Points: 196 Visits: 420
Just a quick update. This happened again and I tried to restart the endpoint and that worked. Thanks!
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20616 Visits: 17244
you're welcome

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
saidapurs
saidapurs
Old Hand
Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)Old Hand (323 reputation)

Group: General Forum Members
Points: 323 Visits: 414
Hi Scogeb,
Database will not go off line....

Thanks
Satish
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20616 Visits: 17244
saidapurs (10/4/2012)
Hi Scogeb,
Database will not go off line....

Thanks
Satish

Incorrect, if you only have the primary and the witness and the witness goes down the principal database will go down too since quorum can no longer be established.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search