DFS-N:DFS 資料夾無法使用

Microsoft.Windows.FileServer.DFSN.DfsPathNotReachableClientAlert (Rule)

此規則會透過從用戶端電腦存取 DFS 資料夾來監視這些資料夾的可用性。

Knowledge Base article:

摘要

此規則會透過從用戶端電腦存取 DFS 資料夾來監視這些資料夾的可用性。

原因

DFS 資料夾無法使用有多種原因,包括下列原因:

解決方式

排清 DFS 轉介快取並檢查命名空間的健全狀況

若要解決此問題,請利用下列程序:

1. 在 [Operations 主控台] 中按一下 [用戶端警示] 檢視,以判斷有哪些路徑無法存取。

2. 開啟命令提示字元視窗,然後使用 Dfsutil cache referral flush 命令排清用戶端電腦上的 DFS 轉介快取。

3. 使用 dfsdiag /testreferral/dfspath:\\[namespace] 命令來檢查命名空間的健全狀況,其中 [namespace] 是命名空間根目錄。確認所有測試均報告 [成功] 或非嚴重的已知狀況。

如果有任一測試失敗,請將此問題的解決方式向上呈報給能夠疑難排解 DFS 命名空間問題的技術人員。

驗證

若要確認資料夾 (連結) 和資料夾目標正確運作,請使用以下程序:

1. 開啟命令提示字元視窗,然後使用 Dfsutil link\\[namespace\folder] 命令,其中 [namespace] 是命名空間根目錄,而 [folder] 是您想確認其資料夾目標處於線上狀態的 DFS 資料夾 (此命令不適合在 Windows Server 2003 上使用)。

2. 確認資料夾的狀態為 [良好] 且適當目標的狀態為 [線上],然後重設 [Operations 主控台] 中的監視器。

如果連結 (資料夾) 的狀態並非 [良好],請將此問題的解決方式向上呈報給能夠疑難排解 DFS 命名空間問題的技術人員。如果資料夾目標為 [離線] 狀態,請疑難排解主控資料夾目標的伺服器。

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.Client
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
DFS-N:從用戶端電腦無法存取資料夾目標 (共用資料夾)。
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.FileServer.DFSN.DfsPathNotReachableClientAlert" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.Client" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">101</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Script</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSNClientSideMonitoring.vbs</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.FileServer.DFSN.DfsPathNotReachableClientAlert.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[2]$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/EventDescription$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>