DFS-R: WMI 등록

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

이 개체는 WMI 등록을 모니터링하고, DFS 복제에서 자신을 WMI에 등록할 수 없으면 위험 경고를 만듭니다.

Knowledge Base article:

요약

이 개체는 WMI(Windows Management Instrumentation) 등록을 모니터링하고, DFS 복제에서 자신을 WMI에 등록할 수 없으면 위험 경고를 만듭니다. DFS 복제 이벤트 6104가 있는지 확인하면 됩니다.

원인

이 모니터의 비정상 상태는 DFS 복제에서 WMI에 자신을 등록하지 못했으므로 복제가 중지되었음을 나타냅니다. 이 문제는 WMI(Windows Management Instrumentation) 서비스가 중지된 경우에 발생할 수 있습니다.

해결 방법

WMI(Windows Management Instrumentation) 서비스 다시 시작

sc 명령을 사용하여 서비스를 원격으로 다시 시작하려면 명령 프롬프트 창을 열고 다음을 수행하십시오.

1. 서비스를 중지하려면 다음 명령을 입력합니다. 여기서 [servername]은 원격 서버의 UNC(범용 명명 규칙) 경로입니다.

sc [servername] stop winmgmt

2. 서비스가 중지됨 상태인지 확인하려면 다음 명령을 입력합니다.

sc [servername] query winmgmt

3. 서비스를 다시 시작하려면 다음 명령을 입력합니다.

sc [servername] start winmgmt

참고: 서비스를 다시 시작하려면 영향을 받는 서버에서 로컬 관리자 그룹의 구성원이어야 합니다. 서비스 스냅인, Windows PowerShell Start-ServiceStop-Service cmdlet 또는 명령줄 도구(예: net stopnet start)를 사용하여 서비스를 다시 시작할 수도 있습니다.

DFS 복제 WMI 공급자 다시 등록

다시 등록하려면 다음 절차를 따르십시오.

1. 영향을 받는 서버에 로그온한 다음 관리자 권한 명령 프롬프트 창을 엽니다.

2. Mofcomp.exe %systemroot%\system32\wbem\dfsrprovs.mof 명령을 입력합니다.

3. net stop dfsr 명령을 입력합니다.

4. net start dfsr 명령을 입력합니다.

검증

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

서비스가 중지됨 상태인지 확인하려면 다음 명령을 입력합니다.

sc [servername] query winmgmt

추가 정보

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

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.Service
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-R: WMI에 등록하지 못함
DFS 복제에서 자신을 WMI에 등록하지 못했습니다. WMI 등록에 성공할 때까지 자신을 WMI에 등록을 사용할 수 없습니다. 오류: {0}({1})
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.WmiProviderRegistrationFailureMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Service" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.WmiProviderRegistrationFailureMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[1]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[2]$</AlertParameter2>
</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>DFS Replication</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6104</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>
</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">6102</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<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>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>