Principal Disconnected, In Recovery... on both servers after restart

  • Hi,

    today I had the problem, that after a restart of my two mirrored database servers on both servers all databases where in the state "Principal, disconnected, in recovery". So both databases weren't available.

    We "fixed" this with "ALTER DATABASE XXX SET PARTNER OFF" to bring the database back online...

    Did you ever saw this behaviour and know a better solution than removing the mirroring session from the database?

    Thanks in advance!

  • I had this happen once, but when I tried to replicate it in a dev environment to try to trouble shoot it, I could not force it to repeat.

    I was in HSHA, mirroring is supposed to prevent split brain issues like this from happening, but that is exactally what I did, recovered one set of databases and re-initialized mirroring.

    What is the build version of your 2008 server, sp1, sp2, sp1 & some CU's. There was an issue with the way the transactions were passed along in mirroring that could cause mirroring to enter a suspended state, that was fixed in CU 5 for sp1 that we applied, but this is completely seperate from the issue you are posting about.

    If your running SP 2 it would have been fixed in there as well.

  • You should first have looked in your sqlserver errorlog.

    - what topology of mirroring were you using ?

    - did you have a look at your SQLServer ERRORLOG file ?

    - did you find related messages ?

    - are you capturing dbmirroring events you all your instances ?

    Please post your @@version info.

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • Thank you so much, I had stuck production server

  • I was helped by the following: DROP\CREATE Mirroring Endpoint on Mirror Serser.

  • normally stopping and restarting the endpoints will cure the issue

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

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

Viewing 6 posts - 1 through 5 (of 5 total)

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