DFS-N:从元数据映射的命名空间状态

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

此对象监视命名空间源数据中显示的命名空间的状态,并将此状态映射到 Operations Manager 中的命名空间实体。

Knowledge Base article:

摘要

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

原因

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

解决方案

启用命名空间

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

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

验证

若要验证此问题是否不再出现,请使用 dfsutil root\\[namespace] 命令(在 Windows Server 2003 中,使用 dfsutil root\\[namespace]/view 命令)来检查命名空间的状态。确认根目录的状态为 OK 且所有命名空间服务器的状态为联机

解决此问题之后,请在 Operations Console 中将此监视器的运行状况状态设置为“正常”。

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.Namespace
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.Namespace.MetadataStateUnitMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.Namespace" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.FileServer.DFSN.Library.EntityStateUnitMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId5b8594a4d653463698730670737cc111" MonitorTypeStateID="HealthyState" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId9754da3c6b0f47e38f3b0f3efa4541dc" MonitorTypeStateID="UnhealthyState" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<ElementState>$Target/Property[Type="Microsoft.Windows.FileServer.DFSN.Namespace"]/State$</ElementState>
</Configuration>
</UnitMonitor>