July 8, 2011 at 1:24 pm
Trying to get a list of all the possible scenarios where there would have to be a forced failover besides a planned failover with (High Safety w/o Automatic Failover Synchronous)
Seems as if (High Safety w/o Automatic Failover Synchronous) isn't the best setup for disaster recovery or unplanned downtime.
With this in mind what could be put in place to make sure this mode of HA can be more proactive in event of an disaster.
Articles mention that if you cannot get to the principal server and manually failover to the mirrored database then you have no choice but to force the failover meaning you are going to lose some data.
Please let me know your thoughts and also scenarios.
What are the scenarios when forced failover would have to be used on a database mirroring session?
1). Principal instance has failed
2). Principal database(s) has become corrupt
Currently setup:
High Safety w/o Automatic Failover Synchronous
Also looking into combining log shipping with database mirroring.
Jonathan
July 8, 2011 at 1:48 pm
July 8, 2011 at 1:51 pm
In the setup that I have there is not a Witness server.
So if one cannot get to the Principal server to initiate the failover then I believe that the only way to make the mirror the principal is to force it correct?
If it has to be forced then there is possible data loss.
Jonathan
July 8, 2011 at 1:55 pm
http://msdn.microsoft.com/en-us/library/ms179344.aspx
Your right , without a witness server the mirror would not know what actions to perform in the event of a failure. In these cases its assumed the DBA would perform the required steps to promote the mirror to primary and then failover as required.
July 8, 2011 at 1:57 pm
July 8, 2011 at 1:58 pm
Jonathan Marshall (7/8/2011)
If it has to be forced then there is possible data loss.
You have to force it, but in synchronous mirroring (because transactions are committed on both sides before they are complete) there won't1 be data loss
(1) Unless something really wacky happened or the synchronised state had been lost prior to the principal's failure. I think.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 8, 2011 at 2:07 pm
GilaMonster (7/8/2011)
Jonathan Marshall (7/8/2011)
If it has to be forced then there is possible data loss.You have to force it, but in synchronous mirroring (because transactions are committed on both sides before they are complete) there won't1 be data loss
(1) Unless something really wacky happened or the synchronised state had been lost prior to the principal's failure. I think.
That is my understanding as well Gail.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 8, 2011 at 2:18 pm
GilaMonster (7/8/2011)
You have to force it, but in synchronous mirroring (because transactions are committed on both sides before they are complete) there won't1 be data loss
(1) Unless something really wacky happened or the synchronised state had been lost prior to the principal's failure. I think.
The only time that there would be a potential for data loss when using synchronous mirroring is if the session was not in synchronized state. For example, if the mirror was disconnected at the time of failure or if the mirror had been disconnected and had reconnected but the partners were not yet synchronized again.
Also, you should be aware that when you force server allowing data loss, the potential for data loss doesn't occur the original principal comes back online and the mirroring session is restarted. You have an opportunity to bring the principal online and recover the data from it manually.
July 8, 2011 at 2:24 pm
I see that's right. Since the mirror gets written to first then I would not have to worry about data loss.
So the only real disaster scenario with High Safety w/o Automatic Failover would be if the principal is unavailable and or disconnected.
This is when the Force service option has to be used to make the mirror into the principal??
Jonathan
July 8, 2011 at 3:15 pm
Excellent information and guidance definitely helps clarify.
I just purchased that book to gather more information about mirroring.
thanks,
Jonathan
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply