DFS-R: 파트너 통신

Microsoft.Windows.FileServer.DFSR.CommunicationErrorWithPartnerMonitor (UnitMonitor)

이 개체는 복제 파트너 간의 통신을 모니터링하고, 통신 오류가 발생하면 경고를 만듭니다.

Knowledge Base article:

요약

이 개체는 복제 파트너 간의 통신을 모니터링하고, 통신 오류가 발생하면 경고를 만듭니다. DFS 복제 이벤트 5002가 있는지 확인하면 됩니다.

원인

이 모니터의 비정상 상태는 복제 중 통신 오류로 인해 발생합니다. 통신 오류는 다음과 같은 이유로 발생할 수 있습니다.

해결 방법

기본 네트워크 연결 테스트

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

1. 명령 프롬프트 창을 열고 ping 명령을 사용하여 기본 네트워크 연결을 확인합니다.

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

2. ping 명령이 성공하면 nslookup 명령을 사용하여 DNS에서 서버 등록을 테스트합니다.

nslookup 명령이 실패하면 DNS에 문제가 있는 것입니다. DNS 서버 상태를 확인하거나 DNS 서버 관리자에게 문의하십시오.

3. nslookup 명령이 성공하면 DNS가 제대로 작동하고 있는 것입니다.

참고: 네트워크 문제 해결에 대한 자세한 내용은 Microsoft 기술 자료 문서 325487(http://go.microsoft.com/fwlink/?linkid=46059)을 참조하십시오.

방화벽 설정 확인

복제 파트너 간에 방화벽이 구성되어 있는 경우 RPC 통신이 차단되지 않도록 합니다. DFS 복제는 통신에 RPC를 사용합니다. DFS 복제는 49152와 65535 사이(Windows Server 2008 R2 및 Windows Server 2008) 또는 1025에서 5000 사이(Windows Server 2003 R2)의 범위에서 임의로 할당된 동적 포트와 RPC 끝점 매퍼(포트 135)를 사용합니다.

Dfsrdiag 명령줄 도구를 사용하여 동적 포트 대신 정적 포트를 지정할 수 있습니다. RPC 끝점 매퍼를 지정하는 방법에 대한 자세한 내용은 Microsoft 기술 자료 문서 154596(http://go.microsoft.com/fwlink/?LinkId=73991)을 참조하십시오. Windows Server 2008의 동적 포트 사용에 대한 자세한 내용은 Microsoft 기술 자료 문서 929851(http://go.microsoft.com/fwlink/?LinkId=187092)을 참조하십시오.

최신 업데이트 설치

복제 그룹의 모든 구성원에 최신 서비스 팩과 업데이트를 설치합니다.

검증

기본 문제를 해결하면 이 모니터가 정상 상태로 돌아가야 합니다.

복제가 정상 상태인지 수동으로 확인하려면 영향을 받는 폴더에서 DFS 관리 또는 다음 명령을 사용하여 전파 테스트를 실행합니다. 여기서 [ReplicationGroup]은 복제 그룹의 이름이고, [ReplicatedFolder]는 복제 폴더의 이름입니다.

dfsrdiag propagationtest /rgname:"[ReplicationGroup]" /rfname:"[ReplicatedFolder]" /testfilename:DFS-RTestFile.xml

dfsrdiag propagationreport /rgname:"[ReplicationGroup]" /rfname:"[ReplicatedFolder]" /testfilename:DFS-RTestFile.xml /reportfilename:c:\DFS-R_Report.xml

추가 정보

자세한 내용은 http://go.microsoft.com/fwlink/?LinkId=52870을 참조하십시오.

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.ReplicationGroupMember
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-R: 복제 중 통신 오류
DFS 복제에서 복제 중 복제 파트너와 통신하는 동안 오류가 발생했습니다. DFS 복제가 복제를 다시 시도합니다.
추가 정보:
복제 파트너: {0}
복제 그룹: {1} 파트너 DNS 주소: {2}
파트너 WINS 주소: {3}
파트너 IP 주소: {4}
오류: {5} ({6})
연결 ID: {7}
복제 그룹 ID: {8}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.CommunicationErrorWithPartnerMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.CommunicationErrorWithPartnerMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[2]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[3]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[4]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[5]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[6]$</AlertParameter5>
<AlertParameter6>$Data/Context/Params/Param[7]$</AlertParameter6>
<AlertParameter7>$Data/Context/Params/Param[8]$</AlertParameter7>
<AlertParameter8>$Data/Context/Params/Param[1]$</AlertParameter8>
<AlertParameter9>$Data/Context/Params/Param[9]$</AlertParameter9>
</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="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<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[9]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1104</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[4]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5016</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[4]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5006</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[5]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[6]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember"]/ReplicationGroupGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>