DFS-R:AD DS 架构版本

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

此对象可监视 Active Directory 域服务 (AD DS) 架构版本,如果它检测到与 DFS 复制不兼容的版本,将会创建“严重”警报。

Knowledge Base article:

摘要

此对象可监视 Active Directory 域服务 (AD DS) 架构版本,如果它检测到与 DFS 复制不兼容的版本,将会创建“严重”警报。通过查找是否存在 DFS 复制事件 6012 来实现。

原因

此监视器的不正常状态表示 DFS 复制需要的 AD DS 架构对象在指定的域控制器上不可用。如果架构未升级、架构分区尚未复制到域控制器或架构版本与受影响的计算机上的服务版本不兼容,则可能会出现此问题。

解决方案

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

DFS 复制将重试此操作,可能会在通过 AD DS 复制架构更新后自动解决此问题。

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

Dfsrdiag PollAD /Member:[DOMAIN\Server]

扩展 AD DS 架构

扩展(或更新)Active Directory 域服务 (AD DS) 架构以包括 Windows Server 2003 R2、Windows Server 2008 或 Windows Server 2008 R2 架构附加功能。要使用只读已复制文件夹,架构必须包括 Windows Server 2008 或更新版本的架构附加功能。

有关扩展 AD DS 架构的信息,请参阅 Microsoft 网站 (http://go.microsoft.com/fwlink/?LinkId=93051)。

验证

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

其他

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

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 架构版本
DFS 复制检测到与 DFS 复制不兼容的 Active Directory 域服务 (AD DS) 架构版本。复制已停止,直到版本更新为止。
其他信息服务器:{0} 预期版本:{1} 不兼容的服务器版本:{2} 域控制器:{3} 轮询周期(分钟): {4}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.IncompatibleDsSchemaMonitor" 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.IncompatibleDsSchemaMonitor_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">6012</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>