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

Principal Disconnected, In Recovery... on both servers after restart Expand / Collapse
Author
Message
Posted Wednesday, December 8, 2010 5:21 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, September 21, 2011 8:24 AM
Points: 369, Visits: 377
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!


-----------------------
SQL Server Database Copy Tool at Codeplex
Post #1032231
Posted Thursday, December 9, 2010 9:05 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, February 25, 2014 2:26 PM
Points: 386, Visits: 626
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.


Twitter: @SQLBalls
Blog: http://www.SQLBalls.com
Post #1032512
Posted Thursday, December 9, 2010 9:20 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 12:40 AM
Points: 7,001, Visits: 8,439
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


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

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


- 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
Post #1032529
Posted Thursday, October 4, 2012 12:49 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, April 4, 2014 12:45 PM
Points: 8, Visits: 101
Thank you so much, I had stuck production server
Post #1368644
Posted Tuesday, October 30, 2012 9:45 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, October 21, 2013 7:49 AM
Points: 15, Visits: 270
I was helped by the following: DROP\CREATE Mirroring Endpoint on Mirror Serser.
Post #1378862
Posted Wednesday, October 31, 2012 4:19 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:50 AM
Points: 6,175, Visits: 13,319
normally stopping and restarting the endpoints will cure the issue

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

"Ya can't make an omelette without breaking just a few eggs"
Post #1379224
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse