Mirror and witness becomes disconnected, won't reconnect

  • 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?

  • 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" 😉

  • 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

  • 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.

  • 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" 😉

  • Just a quick update. This happened again and I tried to restart the endpoint and that worked. Thanks!

  • you're welcome

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

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Hi Scogeb,

    Database will not go off line....

    Thanks

    Satish

  • 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" 😉

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply