DFS-N: Folder State Mapped from Metadata

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

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

Knowledge Base article:

Summary

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

Causes

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

Resolutions

Enable a DFS folder

Open an elevated command prompt on a computer running Windows Server 2008 and then use the Dfsutil Property State Online \\<namespace>\<folder> command.

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

Verify that the folder and folder targets are online

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.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>