(已弃用)在最近 30 分钟内配置服务无法从数据库读取更改(严重级别)

Microsoft.SystemCenter.ConfigurationService.DatabaseReadConsistencyCriticalLevel (UnitMonitor)

在此状态下,配置服务无法从数据库接收任何配置更改。

Knowledge Base article:

摘要

此监视器检测管理配置服务从操作数据库读取时是否出现问题。 它指明管理配置服务的确有权限访问操作数据库,但是无法计算哪些对象需要更新的配置,因为发现数据出现淹没情形,对象经过多次更新/删除。

配置

默认配置为检测数据库在最近 30 分钟内是否未处于稳定状态。

原因

如果同时来自所有 System Center 管理运行状况服务的发现数据出现淹没情形,并且数据库仍在忙于更新每个 System Center 管理运行状况服务发现的对象,则可能出现这种情况。

解决方法

检查数据库服务器的运行状况,确保其正处于最佳性能条件下。 如果数据库服务器的性能降级或未适当地设置大小,则这可能是各个收集管理服务器不断地插入发现数据,管理配置服务无法计算哪些对象需要更新的配置的原因。

另一个问题可能是 System Center 管理运行状况服务插入的发现数据太多。 如果第一次发现这些对象,则在发现所有内容之前,此情形可能是正常的。

如果在最初部署代理和/或新管理包之后仍出现此情形,请与客户支持服务 (CSS) 联系,报告此规则的名称和状态更改事件中的信息。

Element properties:

TargetMicrosoft.SystemCenter.RootManagementServer
Parent MonitorMicrosoft.SystemCenter.ConfigurationService.DatabaseReadConsistencyHealthRollup
CategorySystem
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.MissingCorrelatedEventLogSingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
(已弃用)配置服务数据库读取一致性不正常
由于数据库活动太多,配置服务无法从数据库读取一致性状态。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ConfigurationService.DatabaseReadConsistencyCriticalLevel" Accessibility="Public" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.RootManagementServer" ParentMonitorID="Microsoft.SystemCenter.ConfigurationService.DatabaseReadConsistencyHealthRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.MissingCorrelatedEventLogSingleEventLog2StateMonitorType" ConfirmDelivery="false">
<Category>System</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ConfigurationService.DatabaseReadConsistencyCriticalLevel_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="EventRaised" HealthState="Success"/>
<OperationalState ID="NotHealthy" MonitorTypeStateID="MissingCorrelatedEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29203</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Config Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29000</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Config Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
<FirstMissingCorrelatedComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstMissingCorrelatedComputerName>
<FirstMissingCorrelatedLogName>Operations Manager</FirstMissingCorrelatedLogName>
<FirstMissingCorrelatedExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29202</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Config Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstMissingCorrelatedExpression>
<SecondMissingCorrelatedComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondMissingCorrelatedComputerName>
<SecondMissingCorrelatedLogName>Operations Manager</SecondMissingCorrelatedLogName>
<SecondMissingCorrelatedExpression>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29203</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Config Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29000</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Config Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</SecondMissingCorrelatedExpression>
<Correlator>
<CorrelationExpression>
<Expression/>
</CorrelationExpression>
<Count>1</Count>
<Interval>1800</Interval>
<CorrelationOrder>InSequence</CorrelationOrder>
<CorrelationItemPolicy>Last</CorrelationItemPolicy>
</Correlator>
</Configuration>
</UnitMonitor>