DFS-N:對應自中繼資料的資料夾目標狀態

Microsoft.Windows.FileServer.DFSN.LinkTargetMetadataStateUnitMonitor (UnitMonitor)

此物件會監視命名空間的中繼資料中所呈現 DFS 資料夾 (連結) 目標的狀態,並將狀態對應至 Operations Manager 中的資料夾目標實體。

Knowledge Base article:

摘要

此物件會監視命名空間的中繼資料中所呈現 DFS 資料夾 (連結) 目標的狀態,並將狀態對應至 Operations Manager 中的資料夾目標實體。

原因

如果命名空間管理員停用資料夾目標,此監視器會進入「嚴重」狀況。

解決方式

啟用資料夾目標

若要啟用已被管理員停用的 DFS 資料夾目標,請在執行 Windows Server 2008 的電腦上開啟提升權限的命令提示字元,然後使用 Dfsutil Property State Online \\[namespace>\folder]\\[folder_target_path] 命令。

注意:若要啟用 DFS 資料夾目標,您在每部命名空間伺服器上必須是本機 Administrator 群組的成員。

驗證

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

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

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

其他

Element properties:

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