DFS-N: Folder Target State Mapped from Metadata

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

This object monitors the state of a DFS folder (link) target as represented in the namespace’s metadata, and maps the state to the folder target’s entity in Operations Manager.

Knowledge Base article:

Summary

This object monitors the state of a DFS folder (link) target as represented in the namespace’s metadata, and maps the state to the folder target’s entity in Operations Manager.

Causes

This monitor enters the Critical condition if the folder target folder target has been disabled by a namespace administrator.

Resolutions

Enable a folder target

To enable a DFS folder target that has been disabled by an administrator, from an elevated command prompt on a computer running Windows Server 2008, use the Dfsutil Property State Online \\[namespace>\folder]\\[folder_target_path] command.

Note: To enable a DFS folder target, you must be a member of the Local Administrators group on each namespace server.

Verification

To verify that the folder (link) and folder targets are functioning properly, use the following procedure:

1. Open a command prompt window and then use the Dfsutil link\\[namespace\folder] command, where [namespace] is the namespace root, and [folder] is the DFS folder whose folder targets you would like to verify are online (this command is not available on Windows Server 2003).

2. Confirm that the state of the folder is OK and that the states of the appropriate targets are Online, and then reset the monitor in the Operations console.

Additional

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>