Monday, July 19, 2010

DFSR diagnosis

The Distributed File System Replication (DFSR) service is a new multi-master replication engine that is used to keep folders synchronized on multiple servers.

To test replication over a DFSR link, use the following commands on any node:

  • dfsrdiag backlog /RGname:dfsr_replica /rfname:data_to_replicate /sendingmember:server01 /receivingmember:server02 /verbose
  • dfsrdiag backlog /RGname:dfsr_replica /rfname:data_to_replicate /sendingmember:server02 /receivingmember:server01 /verbose

To test replication speed, use the following commands from any node:

  • dfsrdiag propagationtest /RGname:dfsr_replica /rfname:data_to_replicate /testfile:canarytest2
  • Wait a few minutes (between five and ten) !!
  • dfsrdiag propagationreport /RGname:dfsr_replica /rfname:data_to_replicate /testfile:canarytest2 /reportfile:c:\canaryproprep.xml
  • Open c:\canaryproprep.xml and retrieve <CreateTime> and <UpdateTime> for every DFSR member and convert them to human readable values with W32TM
  • W32tm /ntte 129030080938493490 => 149340 08:54:53.8493490 - 18/11/2009 09:54:53 (local time)
  • W32tm /ntte 129030084955331240 => 149340 09:01:35.5331240 - 18/11/2009 10:01:35 (local time)
  • W32tm /ntte 129030084955076620 =>149340 09:01:35.5076620 - 18/11/2009 10:01:35 (local time)
The difference between these values will give you the time in minutes for replication to occur (in this example the answer is 6)

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...