SQL Server Service Broker 連接埠監視

Microsoft.SystemCenter2012.ConfigurationManager.SQLSSBPort (UnitMonitor)

此監視會檢查 SQL Server Service Broker 連接埠是否正確。

Knowledge Base article:

摘要

這是定義明確的連接埠 (預設值 4022),用於子和父 SQL Server 之間的複寫通訊。 安裝 Configuration Manager 站台伺服器時,執行安裝的 Configuration Manager 系統管理員會將特定連接埠設定成 SQL Server Service Broker 連接埠,供子和父 SQL Server 用來進行通訊。 在預定用於要安裝之站台的 SQL Server 電腦上,安裝站台伺服器的 Configuration Manager 系統管理員必須擁有本機系統管理權限,而且必須知道其父 SQL Server Service Broker 通訊設定所需的 SQL Server Service Broker 連接埠。 Configuration Manager 系統管理員會將此定義明確的連接埠指定給 SQL Server Service Broker。

原因

解決方式

當 Configuration Manager 偵測到無法連線到設定的 SQL Server Service Broker 連接埠 (預設值 4022) 時,它會嘗試連線到包含其資料庫的 SQL Server 電腦,並將 SQL Server Service Broker 連接埠改回其原始設定。 . 不過,如果 Configuration Manager 站台伺服器無法連線至 SQL Server 系統,網路系統管理員必須檢查是否發生防火牆連接埠或網路連線問題。 請查看 [Configuration Manager 安裝資料夾]\Logs 中的 hman.log,以取得更多資訊。

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.SiteServer
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter2012.ConfigurationManager.StatusMessage3StateMonitor
RemotableTrue
AccessibilityPublic
Alert Message
SQL Server Service Broker 連接埠不正確
站台伺服器 {0} 上的 SQL Server Service Broker 連接埠不正確。
RunAsDefault
CommentSIV:GEN0205

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.SQLSSBPort" Comment="SIV:GEN0205" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.SiteServer" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter2012.ConfigurationManager.StatusMessage3StateMonitor" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.SQLSSBPort_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.Server"]/SiteCode$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId9a11b765f4eb4ea3afd0e005cf6f23e9" MonitorTypeStateID="Good" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId189967d6d3984b07b78935eedae21d4b" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIdb97dfde7a3e049269cfd629c2f91e632" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ComponentName>SMS_HIERARCHY_MANAGER</ComponentName>
<RuleId>D362CF53-926B-4f7d-A4A2-0691D3F177F5</RuleId>
<IntervalSeconds>360</IntervalSeconds>
</Configuration>
</UnitMonitor>