DFS-N:从元数据映射的文件夹状态

Microsoft.Windows.FileServer.DFSN.NamespaceLink.MetadataStateUnitMonitor (UnitMonitor)

此对象监视命名空间源数据中显示的 DFS 文件夹(链接)的状态,并将此状态映射到 Operations Manager 中的文件夹实体。

Knowledge Base article:

摘要

此对象监视命名空间源数据中显示的 DFS 文件夹(链接)的状态,并将此状态映射到 Operations Manager 中的文件夹实体。

原因

如果指定的文件夹已被命名空间管理员禁用,此监视器将进入“严重”状态。

解决方案

启用 DFS 文件夹

在正在运行 Windows Server 2008 的计算机中打开提升命令提示符,然后使用 Dfsutil Property State Online \\[namespace\folder] 命令。

注意:要启用 DFS 文件夹,您必须是每个命名空间服务器上本地 Administrators 组的成员。

验证文件夹及文件夹目标是否处于联机状态

若要验证文件夹(链接)和文件夹目标是否正常运行,请使用以下过程:

1. 打开命令提示符窗口,然后使用 Dfsutil link\\[namespace\folder] 命令,其中 [namespace] 是命名空间根路径,而 [folder] 是 DFS 文件夹,其文件夹目标是您要在线验证的目标(此命令在 Windows Server 2003 上不可用)。

2. 确认该文件夹的状态为 OK 且相应目标的状态为联机,然后重置 Operations Console 中的监视器。

其他

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.Library.NamespaceLink
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.Windows.FileServer.DFSN.Library.EntityStateUnitMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSN.NamespaceLink.MetadataStateUnitMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.Library.NamespaceLink" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.FileServer.DFSN.Library.EntityStateUnitMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId77347ae2919c4753bd8e970797b2b004" MonitorTypeStateID="HealthyState" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId6cea93a657a944bcab1ce7ce5e17b52d" MonitorTypeStateID="UnhealthyState" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>43200</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<ElementState>$Target/Property[Type="Microsoft.Windows.FileServer.DFSN.Library.NamespaceLink"]/State$</ElementState>
</Configuration>
</UnitMonitor>