Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Mirror and witness becomes disconnected, won't reconnect Expand / Collapse
Author
Message
Posted Thursday, September 20, 2012 8:09 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, October 24, 2014 6:14 AM
Points: 65, Visits: 404
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?
Post #1362001
Posted Thursday, September 20, 2012 4:35 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:55 AM
Points: 6,752, Visits: 14,397
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"
Post #1362374
Posted Tuesday, September 25, 2012 12:23 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, May 29, 2013 8:06 AM
Points: 167, 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
Post #1363804
Posted Tuesday, September 25, 2012 8:39 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, October 24, 2014 6:14 AM
Points: 65, Visits: 404
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.
Post #1364089
Posted Tuesday, September 25, 2012 9:17 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:55 AM
Points: 6,752, Visits: 14,397
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"
Post #1364119
Posted Wednesday, October 3, 2012 11:32 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, October 24, 2014 6:14 AM
Points: 65, Visits: 404
Just a quick update. This happened again and I tried to restart the endpoint and that worked. Thanks!
Post #1367883
Posted Wednesday, October 3, 2012 11:50 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:55 AM
Points: 6,752, Visits: 14,397
you're welcome

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

"Ya can't make an omelette without breaking just a few eggs"
Post #1367907
Posted Thursday, October 4, 2012 12:59 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, May 29, 2013 8:06 AM
Points: 167, Visits: 414
Hi Scogeb,
Database will not go off line....

Thanks
Satish
Post #1368185
Posted Thursday, October 4, 2012 1:12 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:55 AM
Points: 6,752, Visits: 14,397
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"
Post #1368192
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse