WSFC-Clusterüberwachung

Microsoft.SQLServer.2012.AlwaysOn.ClusterStateMonitor (UnitMonitor)

Knowledge Base article:

Zusammenfassung

Dieser Monitor überprüft den Status des Windows Server-Failovercluster (WSFC)-Dienstes. Der Monitor befindet sich in einem fehlerhaften Zustand und löst eine Warnung aus, wenn der Cluster offline ist oder sich im erzwungenen Quorumstatus befindet. Alle innerhalb dieses Clusters gehosteten Verfügbarkeitsgruppen sind offline, oder eine Notfallwiederherstellungsaktion ist erforderlich. Der Monitorstatus ist fehlerfrei, wenn der Clusterstatus das normale Quorum aufweist.

Ursachen

Der WSFC-Cluster ist offline, oder der Dienst wird im erzwungenen Quorumstatus gestartet. Diese Verfügbarkeitsgruppe ist nicht für Clientanwendungen verfügbar.

Lösungen

Sie müssen den Workflow für das erzwungene Quorum oder für die Notfallwiederherstellung über das Clusterverwaltungstool ausführen oder den Clusteradministrator kontaktieren, um das Clusterproblem zu lösen. Weitere Informationen finden Sie in der Anleitung für erzwungenes Quorum und die Notfallwiederherstellung an in der SQL Server 2012-Onlinedokumentation.

Element properties:

TargetMicrosoft.SQLServer.2012.AlwaysOn.AvailabilityGroupHealth
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.SQLServer.2012.AlwaysOn.SystemPolicyScriptMonitorType
RemotableTrue
AccessibilityPublic
RunAsMicrosoft.SQLServer.2012.AlwaysOn.MonitoringAccount

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.AlwaysOn.ClusterStateMonitor" RunAs="Microsoft.SQLServer.2012.AlwaysOn.MonitoringAccount" TypeID="Microsoft.SQLServer.2012.AlwaysOn.SystemPolicyScriptMonitorType" Accessibility="Public" Enabled="true" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Target="AlwaysOnDisc!Microsoft.SQLServer.2012.AlwaysOn.AvailabilityGroupHealth" Priority="Normal">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="HealthState" HealthState="Success"/>
<OperationalState ID="Critical" MonitorTypeStateID="ErrorState" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Interval>900</Interval>
<TimeoutSeconds>300</TimeoutSeconds>
<PolicyName>$Target/Property[Type="AlwaysOnDisc!Microsoft.SQLServer.2012.AlwaysOn.AvailabilityGroupHealth"]/AvailabilityGroupName$-AlwaysOnAgWSFClusterHealthPolicy</PolicyName>
<InstanceName>$Target/Property[Type="AlwaysOnDisc!Microsoft.SQLServer.2012.AlwaysOn.AvailabilityGroupHealth"]/InstanceName$</InstanceName>
</Configuration>
</UnitMonitor>