DFS-R:使用中的衝突空間

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

此規則每 15 分鐘會在受監視的電腦上查詢效能計數器「DFS 複寫資料夾\使用中的衝突空間」。

Knowledge Base article:

摘要

此規則每 15 分鐘會在受監視的電腦上查詢效能計數器「DFS 複寫資料夾\使用中的衝突空間」。監視 [因衝突而刪除] 區域的空間使用率可協助確保有足夠的空間儲存從受監視電腦上的複寫資料夾中刪除的複寫衝突和檔案。透過檢視 DfsrPrivate 資料夾中的 ConflictandDeletedManifest.xml 檔案,您可以檢視衝突檔案的記錄檔及其原始的檔案名稱。

空間中有大量已使用的衝突表示複寫資料夾中的檔案在短時間內於多部伺服器上經常受到修改。當多個使用者需要在不同伺服器上同時修改相同的檔案時,請使用 Windows SharePoint Services 的檔案簽出功能,確保檔案只有一個使用者正在使用。

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.Service
CategoryPerformanceCollection
EnabledTrue
Instance NameDFS Replicated Folders
Counter NameConflict Space In Use
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.ConflictSpaceInUse" 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>Conflict Space In Use</CounterName>
<ObjectName>DFS Replicated Folders</ObjectName>
<InstanceName/>
<AllInstances>false</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>