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

確認資料夾和資料夾目標處於線上狀態

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

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

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

其他

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>