このオブジェクトは、レプリケート フォルダーをホストしているボリュームを監視し、DFS レプリケーションのレプリケーションが停止する原因になるエラーをボリューム上で検出した場合に、警告アラートを作成します。
このオブジェクトは、レプリケート フォルダーをホストしているボリュームを監視し、DFS レプリケーションのレプリケーションが停止する原因になるエラーをボリューム上で検出した場合に、警告アラートを作成します。この処理のため、オブジェクトは、DFS レプリケーション イベント 2004 があるかを調べます。
このモニターの状態が異常な場合、レプリケート フォルダーをホストしているボリュームのエラーによりレプリケーションが停止していることを示しています。このエラーは、次の問題によって発生することがあります。
使用可能なディスク領域の不足。
レプリケート フォルダーまたはステージング フォルダーがディスクまたはフォルダーのクォータを超えている。
ディスクに障害がある。
アラートの追加情報セクションでエラーに関する情報を調べてから、次の解決策を使用します。
使用可能なディスク領域を増やす
ステージング フォルダーまたはデバッグ ログ ファイルをホストしているボリュームのディスク領域が不足している場合は、ボリュームの使用可能なディスク領域を増やすか、ステージング フォルダーのパスを使用可能なディスク領域の大きなボリュームに変更します。
使用可能なディスク領域を手動で確認するには、コマンド プロンプト ウィンドウを開いて、次のコマンドを入力します。[servername] は影響を受けるフォルダーをホストしているサーバーの名前で、[domain\user] はユーザー名です。
WMIC /node: "[servername]" /user: [domain\user] volume list status
空き領域を増やしたら、DFS Replication サービスを再開します。
クォータを調整する
クォータ (NTFS ディスク クォータまたはファイル サーバー リソース マネージャーのクォータ) によって、影響を受けるフォルダーまたはボリュームが制限されている場合は、クォータ サイズを増やすことを検討してください。
ファイル サーバー リソース マネージャーで作成したフォルダーを調整する場合は、「 クォータの管理」(http://go.microsoft.com/fwlink/?LinkId=187098) を参照してください。
NTFS ディスクのクォータを調整する場合は、Fsutil quota コマンドを使用します。「 FSutil クォータ」(http://go.microsoft.com/fwlink/?LinkId=187104) を参照してください。
ステージング フォルダーのパスを変更する
DFS の管理を使用して、ステージング フォルダーの場所を変更します。これを行う場合は、「 ステージング フォルダーおよび競合して削除されたフォルダーのクォータ サイズを編集する」(http://go.microsoft.com/fwlink/?LinkId=186944) を参照してください。
注: レプリケート フォルダーを管理するには、レプリケーション グループが構成されているドメインの Domain Admins グループのメンバーであるか、レプリケーション グループの作成者であるか、またはアクセス許可を委任されている必要があります。
ボリュームのエラーを確認する
この問題が頻繁に発生する場合は、chkdsk コマンドを実行して DFS レプリケーション データベースをホストしているボリュームを確認します。また、イベント ビューアーでシステム ログを調べて、NTFS ソースのイベントを確認します。これらのイベントから、ディスクに障害が発生しているかどうかがわかる場合があります。
検証
問題が解決されると、このモニターは正常な状態に自動的にリセットされます。
DFS レプリケーション イベント 2004 (http://go.microsoft.com/fwlink/?LinkId=187121)
Target | Microsoft.Windows.FileServer.DFSR.Volume | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.ReplForVolStoppedOnErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Volume" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.ReplForVolStoppedOnErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[3]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[4]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[2]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[1]$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DFS Replication</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.Volume"]/VolumeGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DFS Replication</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1104</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.Volume"]/VolumeGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2010</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="System!System.Entity"]/DisplayName$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>