DFS-N: Active Directory ドメイン サービスの可用性

Microsoft.Windows.FileServer.DFSN.6.3.ADPerspective.ADAvailability (UnitMonitor)

このオブジェクトは、DFS 名前空間の Active Directory ドメイン サービス (AD DS) ドメイン コントローラーと通信する機能を監視します。

Knowledge Base article:

概要

このオブジェクトは、システム ログに DfsSvc イベント 14523 があるかどうかを調べることで、DFS 名前空間の Active Directory ドメイン コントローラーと通信する機能を監視します。

原因

DFS Namespace サービスがドメイン コントローラーへの接続に失敗しました。これは、以下を含むさまざまな原因で発生する場合があります。

解決方法

ネットワーク接続をテストする

影響を受けるサーバーとのネットワーク接続をテストするには、次の手順を実行します。

1. コマンド プロンプト ウィンドウを開き、ping コマンドを使用して、基本的なネットワーク接続を確認します。ping コマンドが失敗した場合は、サーバーが実行されていないか、または解決のためにローカル アクセスが必要なネットワークの問題が存在することが考えられます。お使いのネットワーク環境で Ping がブロックされている場合は、この手順をスキップしてください。

2. ping コマンドが成功した場合は、nslookup コマンドを使用してサーバーの DNS 登録をテストします。nslookup コマンドが失敗する場合は、DNS に問題があります。DNS サーバーのヘルスを確認するか、DNS サーバー管理者に問い合わせてください。

3. nslookup コマンドが成功した場合は、共有フォルダーがオフラインになっているか (メンテナンスである可能性があります)、または共有フォルダーのアクセス許可に問題がある可能性があります。

ドメイン コントローラーとの通信に失敗するか、または DFS メタデータに一貫性がない場合は、DFS Namespace サービスを再起動してください。

DFS Namespace サービスを再起動する

DFS Namespace サービスを再起動するには、サービス スナップイン、Windows PowerShell の Start-ServiceStop-Service コマンドレット、または net stopnet start などのコマンドライン ツールを使用します。sc コマンドを使用してサービスをリモートから再起動するには、コマンド プロンプト ウィンドウを開いて、次の操作を実行します。

1.サービスを停止するため、次のコマンドを入力します。[servername] はリモート サーバーへの汎用名前付け規則 (UNC) パスです。

sc [servername] stop dfs

2.サービスが停止状態であることを確認するため、次のコマンドを入力します。

sc [servername] query dfs

3.サービスを再起動するため、次のコマンドを入力します。

sc [servername] start dfs

: サービスを再開するには、影響を受けるサーバーのローカルの Administrators グループのメンバーである必要があります。

サービスを再起動しても問題が解決されない場合は、影響を受けるドメイン コントローラーを再起動する必要がある場合があります。

検証

DfsSvc イベント 14508 を検出すると、このモニターはヘルス状態にリセットされます。

追加情報

DFS 名前空間イベント 14523 (http://go.microsoft.com/fwlink/?LinkId=186543)。

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.6.3.ADPerspective
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-N: Active Directory ドメイン サービスにアクセスできない
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSN.6.3.ADPerspective.ADAvailability" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.6.3.ADPerspective" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSN.6.3.ADPerspective.ADAvailability_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>System</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14523</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>DfsSvc</Pattern>
</RegExExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>System</SecondLogName>
<SecondExpression>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14508</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>DfsSvc</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7036</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFS Namespace</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">stopped</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</SecondExpression>
</Configuration>
</UnitMonitor>