DFS-R:清理的暂存字节数

Microsoft.Windows.FileServer.DFSR.StagingBytesCleanedup (Rule)

此规则每 15 分钟在受监视的计算机上对性能计数器“DFS 已复制文件夹\清理的暂存字节数”进行一次查询。

Knowledge Base article:

摘要

此规则每 15 分钟在受监视的计算机上对性能计数器“DFS 已复制文件夹\清理的暂存字节数”进行一次查询。此性能计数器将跟踪由 DFS Replication 服务从每个已复制文件夹暂存区域中清除的数据大小。监视此性能计数器可以使管理员了解每个已复制文件夹的暂存区域的使用情况,并估算是否需要增加暂存配额。

如果此性能计数器经常更改,请增加暂存文件夹的配额以提高复制性能。

其他

编辑暂存文件夹以及冲突和已删除文件夹的配额大小 (http://go.microsoft.com/fwlink/?LinkId=186944)

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.Service
CategoryPerformanceCollection
EnabledTrue
Instance NameDFS Replicated Folders
Counter NameStaging Bytes Cleaned up
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.FileServer.DFSR.StagingBytesCleanedup" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Service" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="Microsoft.Windows.FileServer.DFSR.MonitoringAccount" TypeID="Performance!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Staging Bytes Cleaned up</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>