このオブジェクトは、レプリケート フォルダーに対応するステージング フォルダーのアクセス可能性を監視し、ステージング フォルダーにアクセスできない場合に、警告アラートを作成します。ステージング フォルダーにアクセスできない場合、DFS レプリケーションは影響を受けるレプリケート フォルダーを複製できません。
このオブジェクトは、レプリケート フォルダーに対応するステージング フォルダーのアクセス可能性を監視し、ステージング フォルダーにアクセスできない場合に、警告アラートを作成します。この処理のため、オブジェクトは、DFS レプリケーション イベント 4212 があるかを調べます。ステージング フォルダーにアクセスできない場合、DFS レプリケーションは影響を受けるレプリケート フォルダーを複製できません。
このモニターの状態が異常な場合、DFS レプリケーションが 1 つまたは複数のレプリケート フォルダーに対応するステージング フォルダーにアクセスできなかったことを示しています。ステージング フォルダーは、次のような理由でアクセスできなくなる可能性があります。
ステージング フォルダーのパスが存在しないか、NTFS ファイル システムでフォーマットされたローカル ボリューム上に存在しない。
DFS レプリケーションがステージング フォルダーに対するフル コントロールのアクセス許可を持っていない。
ウイルス対策アプリケーションまたはその他のアプリケーションによって、DFS レプリケーションのファイル アクセス操作が妨げられている。
ステージング フォルダーを再作成する
この問題を解決するには、次の手順を使用します。
1. Operations Console でモニターのアラートの説明を参照して、ステージング フォルダーのパスを特定します。または、次のコマンドを使用してステージング フォルダーのパスを取得します。[ReplicationGroup] は、レプリケート フォルダーをホストするレプリケーション グループの名前です。dfsradmin membership list /rgname:"[ReplicationGroup]"
2. Windows エクスプローラーまたはコマンド プロンプトを使用して、ステージング フォルダーが NTFS でフォーマットされたローカル ボリューム上に存在することを確認します。
注: 既定では、ステージング フォルダーは非表示の \dfsrprivate フォルダーに配置されます。このフォルダーはレプリケート フォルダーのサブディレクトリです。このフォルダーを表示するには、名前を指定してこのフォルダーに移動します。
3. ステージング フォルダーにアクセスできない場合は、新しいステージング フォルダーを必要な場所に作成するか、ステージング フォルダーの場所を変更します。ステージング フォルダーの場所を変更する場合は、「 ステージング フォルダーおよび競合して削除されたフォルダーのクォータ サイズを編集する」(http://go.microsoft.com/fwlink/?LinkId=186944) を参照してください。
レプリケート フォルダーのアクセス許可を修正する
DFS Replication サービスにレプリケート フォルダーおよびステージング フォルダーに対するフル コントロールのアクセス許可がない場合、レプリケーションは失敗します。この問題を解決するには、ローカル システム アカウントに、レプリケートされるフォルダーとサブフォルダーおよびステージング フォルダー (レプリケート フォルダー外にある場合) に対するフル コントロールのアクセス許可を割り当てます。
検証
レプリケーション フォルダーが正常に初期化されると、このモニターは正常な状態に自動的にリセットされます。
DFS レプリケーションの診断レポートを作成する (http://go.microsoft.com/fwlink/?LinkId=187099)
DFS レプリケーション イベント 4212 (http://go.microsoft.com/fwlink/?LinkId=187140)
Microsoft サポート技術情報の 記事 822158「現在サポートされているバージョンの Windows を搭載しているエンタープライズ コンピューターでウイルス スキャンを行う場合の推奨事項」(http://go.microsoft.com/fwlink/?LinkId=187091)
Target | Microsoft.Windows.FileServer.DFSR.ReplicatedFolder | ||
Parent Monitor | Microsoft.Windows.FileServer.DFSR.StagingAggregateMonitor | ||
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.InvalidStagingPathMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder" ParentMonitorID="Microsoft.Windows.FileServer.DFSR.StagingAggregateMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.InvalidStagingPathMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[2]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[3]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[4]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[1]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[5]$</AlertParameter5>
<AlertParameter6>$Data/Context/Params/Param[6]$</AlertParameter6>
<AlertParameter7>$Data/Context/Params/Param[7]$</AlertParameter7>
</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">4212</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.ReplicatedFolder"]/ReplicatedFolderGUID$</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.ReplicatedFolder"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4010</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4114</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[3]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>