DFS-N:DFS 文件夹不可用

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

此规则通过从客户端计算机访问 DFS 文件夹来监视这些文件夹的可用性。

Knowledge Base article:

摘要

此规则通过从客户端计算机访问 DFS 文件夹来监视这些文件夹的可用性。

原因

DFS 文件夹不可用的原因有很多,其中包括以下原因:

解决方案

刷新 DFS 参照缓存并检查命名空间的运行状况

若要解决此问题,请使用以下过程:

1. 在 Operations Console 中,单击客户端警报视图以确定无法访问的路径。

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. 确认该文件夹的状态为 OK 且相应目标的状态为联机,然后重置 Operations Console 中的监视器。

如果链接(文件夹)的状态不是 OK,请将此问题的解决方案上报给能够解决 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>