Conflict And Deleted Folder Cleanups Completed

Microsoft.Windows.DfsReplication.ConflictFolderCleanupsCompleted (Rule)

This rule queries the performance counter "DFS Replicated Folders\Conflict Folder Cleanups Completed" on monitored computers every 15 minutes.

Knowledge Base article:

Summary

When a file is modified on two or more members before the changes can be replicated, the most recently updated file "wins" the conflict and DFS Replication moves the "losing" file or files to the Conflict and Deleted folder. The losing file or files are stored in the ‘DfsrPrivate\ConflictandDeleted’ folder under the local path of the replicated folder on the member that resolves the conflict. The Conflict and Deleted folder is also used to store files that are deleted from replicated folders. By default, the quota size of each Conflict and Deleted folder is 660 MB. The size of each folder on a member is cumulative per volume, so if there are multiple replicated folders on a member, DFS Replication creates multiple Conflict and Deleted folders, each with its own quota.

The files in the Conflict and Deleted folder are renamed and are accessible only by members of the local Administrators group. The permissions on the conflict files are preserved to help ensure security. You can view a log of conflict files and their original file names by viewing the ConflictandDeletedManifest.xml file in the DfsrPrivate folder.

This rule queries the performance counter "DFS Replicated Folders\Conflict Folder Cleanups Completed" on monitored computers every 15 minutes. Every time the contents of the Conflicts and Deleted folder are cleared, this performance counter is updated. Monitoring the space utilization of the Conflict and Deleted area helps ensure that there is enough space to store replication conflicts and files deleted from replicated folders on the monitored computer.

Element properties:

TargetMicrosoft.Windows.DfsReplication.Service
CategoryPerformanceCollection
EnabledTrue
Instance NameDFS Replicated Folders
Counter NameConflict Folder Cleanups Completed
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider System.PrivilegedMonitoringAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.DfsReplication.ConflictFolderCleanupsCompleted" Enabled="true" Target="Microsoft.Windows.DfsReplication.Service" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Performance!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Conflict Folder Cleanups Completed</CounterName>
<ObjectName>DFS Replicated Folders</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>900</Frequency>
<Tolerance>0</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>1</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>