DFS-N: 폴더 대상 가용성

Microsoft.Windows.FileServer.DFSN.LinkTarget.AccessStateUnitMonitor (UnitMonitor)

사용하도록 설정된 경우 이 개체는 DFS 폴더(링크) 대상의 가용성을 모니터링하고, 폴더 대상에 액세스할 수 없으면 경고를 만듭니다.

Knowledge Base article:

요약

사용하도록 설정된 경우 이 개체는 DFS 폴더(링크) 대상 역할을 하는 공유 폴더의 가용성을 모니터링합니다.

원인

비정상 상태는 폴더 대상이 오프라인 상태임을 나타냅니다. 다음과 같은 이유로 폴더 대상이 오프라인 상태일 수 있습니다.

해결 방법

네트워크 연결 테스트

영향을 받는 서버로 네트워크 연결을 테스트하려면 다음 절차를 따르십시오.

1. 명령 프롬프트 창을 열고 ping 명령을 사용하여 기본 네트워크 연결을 확인합니다. ping 명령이 실패하면 대체로 서버가 실행되고 있지 않거나, 문제 해결을 위해 로컬 액세스가 필요한 네트워크 문제가 있는 것입니다. 네트워크 환경에서 ping이 차단된 경우 이 단계를 건너뜁니다.

2. ping 명령이 성공하면 nslookup 명령을 사용하여 DNS에서 서버 등록을 테스트합니다. nslookup 명령이 실패하면 대체로 DNS에 문제가 있는 것입니다. DNS 서버 상태를 확인하거나 DNS 서버 관리자에게 문의하십시오.

3. nslookup 명령이 성공하면 공유 폴더가 유지 관리 등을 위해 오프라인 상태이거나, 공유 폴더의 사용 권한에 문제가 있는 것입니다.

검증

폴더(링크) 및 폴더 대상이 제대로 작동하는지 확인하려면 다음 절차를 따르십시오.

1. 명령 프롬프트 창을 열고 Dfsutil link\\[namespace\folder] 명령을 사용합니다. 여기서 [namespace]는 네임스페이스 루트이고, [folder]는 폴더 대상이 온라인 상태인지 확인하려는 DFS 폴더입니다(이 명령은 Windows Server 2003에서는 사용할 수 없음).

2. 폴더 상태가 정상이고 해당 대상의 상태가 온라인인지 확인한 다음 운영 콘솔에서 모니터를 다시 설정합니다. 운영 콘솔에서 모니터가 자동으로 정상 상태로 다시 설정되어야 합니다.

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.Library.LinkTarget
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledFalse
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.Windows.FileServer.DFSN.Library.LinTargetAvailabilityUnitMonitorType
RemotableTrue
AccessibilityPublic
RunAsMicrosoft.Windows.FileServer.DFSN.DFSTargetAccessAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSN.LinkTarget.AccessStateUnitMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.FileServer.DFSN.Library.LinkTarget" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.FileServer.DFSN.DFSTargetAccessAccount" TypeID="Microsoft.Windows.FileServer.DFSN.Library.LinTargetAvailabilityUnitMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIdd1d8fd78aaae45eba1edc3c98ef2556c" MonitorTypeStateID="Accessible" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdf83c5987637544e2a1e8d8d1ce344c00" MonitorTypeStateID="NotAccessible" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>18000</IntervalSeconds>
<SyncTime/>
<TargetPath>$Target/Property[Type="Microsoft.Windows.FileServer.DFSN.Library.LinkTarget"]/TargetPath$</TargetPath>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>