此監視器會查看可用性群組是否至少有一個已備妥可進行容錯移轉的次要複本。當主要複本的容錯移轉模式為自動,但是可用性群組中的次要複本都未備妥可進行自動容錯移轉時,監視器就會變成狀況不良的狀態,並會登錄一則警示。至少有一個次要複本已備妥可進行自動容錯移轉時,監視器就會處於狀況良好的狀態。此監視器是相依性 (彙總) 監視器。
此監視器會查看可用性群組是否至少有一個已備妥可進行容錯移轉的次要複本。當主要複本的容錯移轉模式為自動,但是可用性群組中的次要複本都未備妥可進行自動容錯移轉時,監視器就會變成狀況不良的狀態,並會登錄一則警示。至少有一個次要複本已備妥可進行自動容錯移轉時,監視器就會處於狀況良好的狀態。
可用性群組尚未準備進行自動容錯移轉。主要複本已設定為自動容錯移轉,不過次要複本尚未準備進行自動容錯移轉。設定為自動容錯移轉的次要複本可能無法使用,或者其資料同步處理狀態目前不是 SYNCHRONIZED。
確定至少有一個次要複本已設定為自動容錯移轉。否則,請以同步認可將次要複本的組態更新為自動容錯移轉目標。
透過監視器檢查自動容錯移轉目標複本的資料同步處理狀態是否為 SYNCHRONIZED,然後解決可用性複本的問題。
名稱 | 描述 | 預設值 |
警示優先程式 | 定義警示優先順序。 | 一般 |
警示嚴重性 | 定義警示嚴重性。 | 錯誤 |
已啟用 | 啟用或停用該工作流程。 | 是 |
產生警示 | 定義工作流程是否會產生警示。 | 是 |
Target | Microsoft.SQLServer.2016.AlwaysOn.AvailabilityGroup | ||
Parent Monitor | System.Health.AvailabilityState | ||
Algorithm | WorstOf | ||
Source Monitor | Microsoft.SQLServer.2016.AlwaysOn.AutomaticFailoverReadiness | ||
Relationship | Microsoft.SQLServer.2016.AlwaysOn.AvailabilityGroupReferencesAvailabilityGroupHealth | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
|
<DependencyMonitor ID="Microsoft.SQLServer.2016.AlwaysOn.AutomaticFailoverReadinessRollup" Accessibility="Public" Enabled="true" Target="AlwaysOnDisc!Microsoft.SQLServer.2016.AlwaysOn.AvailabilityGroup" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RelationshipType="AlwaysOnDisc!Microsoft.SQLServer.2016.AlwaysOn.AvailabilityGroupReferencesAvailabilityGroupHealth" MemberMonitor="Microsoft.SQLServer.2016.AlwaysOn.AutomaticFailoverReadiness">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2016.AlwaysOn.AutomaticFailoverReadinessAlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
<MemberUnAvailable>Warning</MemberUnAvailable>
</DependencyMonitor>