Solved

DFS replication success notification

Posted on 2014-09-09
3
1,022 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 26

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Every now and then, Microsoft does something that totally impresses me. It doesn't happen often, but in this case I must say I am thoroughly impressed with Windows Server Backup. One of the long time issues with Windows Backup has been the ability t…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now