DFS-R: 클러스터 리소스 삭제

Microsoft.Windows.FileServer.DFSR.6.3.Cluster.ResourceDeleteFailed (UnitMonitor)

이 개체는 장애 조치(failover) 클러스터에서 복제 폴더 클러스터 리소스 삭제를 모니터링하고, 리소스가 삭제되지 않았으면 경고를 만듭니다.

Knowledge Base article:

요약

이 개체는 장애 조치(failover) 클러스터에서 복제 폴더 클러스터 리소스 삭제를 모니터링하고, 리소스가 삭제되지 않았으면 경고를 만듭니다. DFS 복제 이벤트 9004가 있는지 확인하면 됩니다.

원인

이 모니터의 비정상 상태는 DFS 복제에서 복제 폴더 클러스터 리소스를 삭제하지 못했음을 나타냅니다. 이 문제는 클러스터된 파일 서버 인스턴스가 온라인 상태가 아닌 경우에 발생할 수 있습니다.

해결 방법

장애 조치(failover) 클러스터 리소스가 온라인 상태인지 확인

서버가 장애 조치(failover) 클러스터의 구성원인 경우 DFS 복제 리소스가 온라인 상태인지 확인합니다.

Windows 인터페이스를 사용하여 클러스터 리소스가 온라인 상태인지 확인하려면

영향을 받는 서버에서 장애 조치(failover) 클러스터 관리자를 열고 해당 클러스터된 파일 서버 인스턴스의 상태가 온라인인지 확인합니다. 온라인 상태가 아니면 해당 리소스를 선택하고 이 서비스 또는 응용 프로그램을 온라인으로 전환을 클릭합니다.

Windows PowerShell을 사용하여 클러스터 리소스가 온라인 상태인지 확인하려면

장애 조치(failover) 클러스터에서 로컬 Administrators 그룹의 구성원인 계정으로 로그인한 상태에서 Windows PowerShell™ 명령 프롬프트 창을 열고 다음 명령을 입력합니다. 여기서 [replicatedfolder_rootpath]는 클러스터된 파일 서버 인스턴스에 호스트된 복제 폴더의 루트 경로입니다.

get-wmiobject -namespace root\mscluster -class MSCluster_Resource -Filter name=DFSR [replicatedfolder_rootpath]

리소스가 온라인 상태이면 상태 필드의 값이 2여야 합니다.

중요: 복제 폴더 루트 경로에서 백슬래시 앞에 두 번째 백슬래시를 추가합니다. 예를 들면 d:\shares\public would be written as d:\\shares\\public과 같습니다.

DFS 복제가 주기적으로 이 작업을 다시 시도합니다.

검증

문제가 해결되면 이 모니터가 자동으로 정상 상태로 다시 설정됩니다.

추가 정보

DFS 복제 이벤트 9004(http://go.microsoft.com/fwlink/?LinkId=187170)

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.6.3.ClusteredReplicatedFolder
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-R: 클러스터 리소스를 삭제할 수 없음
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.6.3.Cluster.ResourceDeleteFailed" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.6.3.ClusteredReplicatedFolder" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.6.3.Cluster.ResourceDeleteFailed_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DFS Replication</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[3]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="DFSRLib!Microsoft.Windows.FileServer.DFSR.ReplicatedFolderExtension"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DFS Replication</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[3]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="DFSRLib!Microsoft.Windows.FileServer.DFSR.ReplicatedFolderExtension"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9003</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9005</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9000</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>