Exchange Server Forums
Forums |
Register |
Login |
My Profile |
Inbox |
RSS
|
My Subscription |
My Forums |
Address Book |
Member List |
Search |
FAQ |
Ticket List |
Log Out
log truncation in DAG scenario
Users viewing this topic:
none
|
Logged in as: Guest
|
Login | |
|
log truncation in DAG scenario - 24.May2010 8:52:35 AM
|
|
|
rijukl
Posts: 8
Joined: 23.Jul.2003
From: India
Status: offline
|
I am little confused with the log truncation in DAG. I have two 2010 servers. Each has passive database of the other. Circular logging is disabled. It's my understanding that logs will be truncated after successful log replication to the other server. It doesn't happen in my case. Logs keep piling up. Replication is healthy. Log replay and log truncation delays are 0, default. My questions are:- 1) If I run a full IS backup, logs are committed and deleted, but what will happen to the logs which are not replicated to second server? Will they be committed and deleted too? 2)What is the best backup method here? Should I backup active or pasive backup? Your replies are appreciated. thanks, Riju
|
|
|
RE: log truncation in DAG scenario - 24.May2010 1:20:30 PM
|
|
|
rijukl
Posts: 8
Joined: 23.Jul.2003
From: India
Status: offline
|
Hi flaubel, I did read this article. But I didn't quite find the answer to my question. If I backup the active database, what if it commits the log files before replicating to the passive database? I use Netbackup, so I can backup active or passive copy. -Riju
|
|
|
RE: log truncation in DAG scenario - 24.May2010 4:29:54 PM
|
|
|
flaubel
Posts: 5
Joined: 27.Aug.2009
Status: offline
|
I could never explain this as well as Scott Schnoll - Hope this helps : http://blogs.technet.com/b/scottschnoll/archive/2006/12/11/continuous-replications-and-exchange-backups.aspx With log files being copied around and required by the Replication service, it becomes a little more complicated when it comes to getting rid of them. Right now the conventional way to get rid of log files is to run a backup. Backups runs, and on successful completion, it deletes the logs you don't need any more. The challenge now is that the definition of "need" is different because now it takes into account the state of replication. If a log file has not been copied, then you still need it (even though the store might not need it). So now a log file should not be deleted until (1) it isn't needed for crash recovery, (2) it has been replayed on the passive, and (3) it has been backed up. To coordinate all of this, whenever the Replication service finishes a replay, it contacts the store and says that it replayed storage group X up to Y generation number. At that point, the store knows that log files up to that generation number are no longer needed by the Replication service. It can then analyze the state of the last backup and the state of crash recovery and work out which log files are no longer needed on the active. Fortunately, on the passive, things are a lot simpler. The passive can analyze its own log files and determine which ones are needed for recovery, and which ones are needed for backup.
_____________________________
http://laubel.wordpress.com/
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|