Root Management Server 無法使用

Microsoft.SystemCenter.SDKService.PrincipleManagementServerDown.Alert (Rule)

當無法從此管理伺服器資料存取服務連線到 Root Management Server 時,此規則會產生警示。

Knowledge Base article:

摘要

Root Management Server 停機或 Root Management Servers HealthService 無法使用。

原因

這可能是由以下原因所造成:

如果在資料倉儲或報表元件安裝期間或安裝後不久便產生這些警示,可能的原因是開啟警示的流量和資料倉儲 (DW) 的狀態轉換。不過,對應的資料結構尚未存在,因為資料倉儲尚未部署其元件。部署作業將在安裝後 30 分鐘內執行。

因為部署尚未完成,所以警示和狀態同步處理工作流程將保留資料,待稍後再寫入 DW。因此,這些工作流程不會將資料放回資料來源,也從而產生了前述的警示。一旦部署完成之後,便會自動寫入資料並清除警示。

如果警示未於資料倉儲安裝後 120 分鐘內自動解決,則表示有其他問題存在。

解決方式

檢查 Root Management Server 的可用性,或是在 Root Management Server 上啟動 HeathService。

其他

下表解釋警示描述中可能會有哪些原因碼:

原因碼

描述

17

HealthService 視窗服務暫停。

25

HealthService 動作帳戶設定不當,或有無效認證。

41

HealthService 無法剖析新設定。

42

HealthService 無法載入新設定。

43

有系統規則無法載入。

49

物件狀態變更事件的收集停止。

50

監視狀態變更事件的收集停止。

51

警示的收集停止。

97

HealthService 無法向事件記錄服務註冊。HealthService 無法再記錄活動訊號與連接器事件。

98

HealthService 無法剖析設定 XML。

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
CategoryAlert
EnabledTrue
Event_ID271828
Event SourceHealth Service Watcher
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
健全狀況服務未執行
{0}
Event LogOperations Manager
CommentRule used by Data Access service to generate alerts from each Management Server when the RHS is down

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.SDKService.PrincipleManagementServerDown.Alert" Comment="Rule used by Data Access service to generate alerts from each Management Server when the RHS is down" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.ManagementServer" ConfirmDelivery="true" Remotable="true" Priority="High" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Health Service Watcher</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>271828</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertMessageId>$MPElement[Name='Microsoft.SystemCenter.SDKService.PrincipleManagementServerDown.Alert.AlertMessage']$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>