DFS-R:AD DS 配置有效性

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

此对象可监视 Active Directory 域服务 (AD DS) 中的 DFS 复制配置对象,如果它检测到配置的某个属性无效,将会创建“严重”警报。

Knowledge Base article:

摘要

此对象可监视 Active Directory 域服务 (AD DS) 中的 DFS 复制配置对象,如果它检测到配置的某个属性无效,将会创建“严重”警报。通过查找是否存在 DFS 复制事件 6002 来实现。

原因

此监视器的不正常状态表示 Active Directory 域服务 (AD DS) 中的 DFS 复制对象具有无效属性。

如果 AD DS 中的某些配置信息尚未复制到指定的域控制器,此问题可能是由于 AD DS 复制延迟导致的。

解决方案

等待使用 AD DS 复制配置更改

DFS 复制将重试此操作,通常会在通过 AD DS 进行配置更改复制后自动解决此问题。

若要立即轮询配置更改,请打开命令提示符窗口,然后为复制组中的每位成员分别键入一次以下命令,其中 [domain] 是服务器所在的域,而 [server] 是服务器名称:

Dfsrdiag PollAD /Member:[domain\server]

如果此问题仍然存在,请验证 AD DS 复制是否正常运行以及此服务是否能够访问域控制器。如果此问题持续存在 8 小时,则 DFS Replication 服务将禁用连接并记录 DFS 复制事件 5016。

如果 AD DS 复制运行正常但问题仍然存在,请与 Microsoft 客户服务和支持 (http://support.microsoft.com) 联系。

验证

此监视器将在问题解决后自动重置为正常状态。

其他

DFS 复制事件 6002 (http://go.microsoft.com/fwlink/?LinkId=187151)

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:AD DS 中的配置对象无效
Active Directory 域服务 (AD DS) 中的 DFS 复制对象具有无效属性。
其他信息:无效的对象数据:{0} 对象 DN:{1} 属性名称:{2} 域控制器:{3} 轮询周期(分钟): {4}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.InvalidConfigObjectDataMonitor" 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.InvalidConfigObjectDataMonitor_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>
<AlertParameter3>$Data/Context/Params/Param[3]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[4]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[5]$</AlertParameter5>
</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">6002</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">6014</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>