Hi, 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.
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.