Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 High Availability (2005)
 Data loss during sql cluster failover
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 07/26/2013 :  13:35:07  Show Profile  Reply with Quote
We have Active/Passive cluster setup on Win 2003 server and SQL 2005 version.We manually moved all the sql cluster groups and then MSDTC to other node.After the failover,some of the databases went to Recovery_pending state with error 5173(Log file cannot associate with primary database files).Also,we lost data from sql server error and agent log.
Will there be any data loss during the cluster failover (or) how to troubleshoot this.

Posting Yak Master

212 Posts

Posted - 07/31/2013 :  00:39:40  Show Profile  Visit prett's Homepage  Reply with Quote
It looks like log is missing or corrupt. To troubleshoot this problem, restore database from valid/clean backup. If you don't have backup then try below steps:

1. Detach the database
2. Delete the log file
3. Reattach the database again
Go to Top of Page

Yak Posting Veteran

United Kingdom
84 Posts

Posted - 07/17/2014 :  11:29:31  Show Profile  Reply with Quote
Although it is very old post I will reply.
A Cluster failover which will eventually cause SQL server failover cannot have DATA LOSS as such. What can happen is when failover happens SQL server is stopped on current node and restated on new node (where it is failed over). During the failover if suppose an heavy insert is going in begin tran and commit when SQL server will come online on node 2 it will go throough crash recovery and rollback complete transaction. If insert is without begin tran commit it will work in auto commit mode and only rows which were inseretd before failover will be present not complete rows which user wanted as failover stopped the process. I cannot qualify this as data loss.

What you faced is different issue and you said you lost data from SQL server errorlog and agent log this is not possible unless the drive on which SQLAGENT.OUT file resides is unavaialble.

Hope this helps

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000