Solved

DFS replication success notification

Posted on 2014-09-09
3
1,144 Views
Last Modified: 2014-09-17
Server 2012 R2 servers.

I have two sites.  I am replicating files/folders between the two sites using DFS.

I need notification of successful replication and/or replication status.

Does anyone know how to achieve that?

Thanks

Cliff
0
Comment
Question by:crp0499
3 Comments
 
LVL 4

Expert Comment

by:Neeraj Kumar
ID: 40313522
To monitor the replication you can use the command "dfsrdiag.exe ReplicationState

Refer below article for more information
http://blogs.technet.com/b/filecab/archive/2009/05/28/dfsrdiag-exe-replicationstate-what-s-dfsr-up-to.aspx
0
 

Author Comment

by:crp0499
ID: 40314444
That's nice.  However, I am looking for an email notification of successful replication that I can receive every 24 hours.  

I'm looking for notifications of successful replication.
0
 
LVL 27

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 40318808
Since replication is a continuous process, getting an email about successful replication (read:  replication complete) is not realistic.  Your inbox would probably flood with email alerts.

A better way of looking at this is to generate a DFS health/status report that is emailed out every X number of hours.

Here is are 2 articles about a script that accomplishes the task:

1. http://sumeetsharma84.blogspot.de/2012/06/power-shell-to-create-dfs-r-diagnostic.html
2. http://randomtechminutia.wordpress.com/2012/12/04/powershell-script-to-generate-and-email-a-dfs-health-report/

Reference for DFSR Diagnostic report:
1. http://social.technet.microsoft.com/Forums/en-US/35b92b01-261f-4997-a6a6-068b630b443e/dfsr-diagnostic-report-script?forum=winserverfiles
2. http://gallery.technet.microsoft.com/scriptcenter/PowerShell-DFS-Replication-e1c8d772

Dan
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous Experts Exchange Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most have featured Basic and Intermediate VMware Topics.  As a Virtualisation Consultant, we implement many different virtual…
My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question