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 資料夾,您在每部命名空間伺服器上必須是本機 Administrator 群組的成員。

驗證

若要確認此問題已不存在,請使用 dfsutil root\\[namespace] 命令 (在 Windows Server 2003 上請使用 dfsutil root\\[namespace]/view 命令) 來檢查命名空間的狀態。確認根目錄的狀態為 [良好] 且所有命名空間伺服器的狀態為 [線上]。

解決問題之後,請在 [Operations 主控台] 將此監視器的健全狀況狀態重設為狀況良好。

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>