DFS-R: 준비 폴더 정리 상태

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

이 개체는 DFS 복제에서 복제 폴더의 준비 폴더를 정리하여 추가 공간을 확보했는지 여부를 모니터링합니다. 정리가 실패하면 이 모니터에서 경고를 만듭니다.

Knowledge Base article:

요약

이 개체는 DFS 복제에서 복제 폴더의 준비 폴더를 정리하여 추가 공간을 확보했는지 여부를 모니터링합니다. 정리가 실패하면 이 모니터에서 경고를 만듭니다. DFS 복제 이벤트 4206이 있는지 확인하면 됩니다.

원인

이 모니터의 비정상 상태는 DFS 복제에서 준비 폴더를 정리하지 못했음을 나타냅니다. 이 문제는 다음과 같은 이유로 발생할 수 있습니다.

해결 방법

준비 폴더 정리가 완료될 때까지 대기

작업이 필요하지 않습니다.

준비 폴더의 크기가 준비 폴더 할당량 제한에 도달하면 DFS 복제에서 이전 파일을 삭제하여 자동으로 준비 폴더를 정리하려고 합니다. 정리 작업이 완료되면 복제가 다시 시작됩니다.

참고: 이 모니터가 자주 비정상 상태로 전환되는 경우 또는 성능을 최적화하려면 준비 폴더 할당량을 늘리십시오.

할당량 조정

할당량(NTFS 디스크 할당량 또는 파일 서버 리소스 관리자 할당량)으로 인해 영향을 받는 폴더 또는 볼륨이 제한되는 경우 할당량 크기를 늘리는 것이 좋습니다. 파일 서버 리소스 관리자로 만든 폴더를 조정하려면 할당량 관리(http://go.microsoft.com/fwlink/?LinkId=187098)를 참조하십시오. NTFS 디스크 할당량을 조정하려면 FSutil quota(http://go.microsoft.com/fwlink/?LinkId=187104)에 설명된 대로 Fsutil quota 명령을 사용합니다.

사용 가능한 디스크 공간 증가

준비 폴더 또는 디버그 로그 파일을 호스트하는 볼륨에 디스크 공간이 부족한 경우 볼륨에서 사용 가능한 디스크 공간을 늘리거나, 볼륨의 크기를 늘리거나, 준비 폴더의 경로를 사용 가능한 디스크 공간이 더 많은 볼륨으로 변경합니다.

사용 가능한 디스크 공간의 크기를 수동으로 확인하려면 명령 프롬프트 창을 열고 다음 명령을 입력합니다. 여기서 [servername]은 영향을 받는 폴더를 호스트하는 서버의 이름이고, [domain\user]는 사용자 이름입니다.

WMIC /node: "[servername]" /user: [domain\user] volume list status.

공간을 확보한 후 DFS Replication 서비스를 다시 시작합니다.

검증

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

추가 정보

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.ReplicatedFolder
Parent MonitorMicrosoft.Windows.FileServer.DFSR.StagingAggregateMonitor
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-R: 준비 폴더 정리 실패
DFS 복제에서 준비 폴더를 정리하지 못했습니다. 그 결과, 큰 파일을 복제하지 못해 복제 폴더가 동기화되지 않을 수 있습니다. 서비스가 주기적으로 준비 공간 정리를 다시 시도합니다. 준비 파일이 잠금 해제되고 정리할 준비가 되면 서비스에서 표시된 시간보다 빨리 정리를 시작할 수도 있습니다.
추가 정보:
다음 정리 시도까지 남은 시간(분): {0}
복제 폴더: {1}
준비 폴더: {2}
구성된 크기(MB): {3}
사용 중인 공간: {4}
상위 워터마크: {5}\%
하위 워터마크: {6}\%
복제 폴더 이름: {7}
복제 폴더 ID: {8}
복제 그룹 이름: {9}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.StagingCleanupFailureMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder" ParentMonitorID="Microsoft.Windows.FileServer.DFSR.StagingAggregateMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.StagingCleanupFailureMonitor_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[1]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[3]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[3]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[4]$</AlertParameter5>
<AlertParameter6>$Data/Context/Params/Param[5]$</AlertParameter6>
<AlertParameter7>$Data/Context/Params/Param[6]$</AlertParameter7>
<AlertParameter8>$Data/Context/Params/Param[7]$</AlertParameter8>
<AlertParameter9>$Data/Context/Params/Param[8]$</AlertParameter9>
<AlertParameter10>$Data/Context/Params/Param[9]$</AlertParameter10>
</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">4206</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[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder"]/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>
<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[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4202</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4002</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4010</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4114</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4210</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">9008</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>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[3]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.FileServer.DFSR.ReplicatedFolder"]/ReplicatedFolderGUID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>