Condividi tramite


AvailabilityGroupFailureConditionLevel Enum

Definition

The different conditions that can trigger an automatic failover in an Availability Group. These setting are cumulative, meaning that as the setting increases in value it encompases all the previous conditions and adds extra ones.

[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.AvailabilityGroupFailureConditionLevelConverter))]
public enum AvailabilityGroupFailureConditionLevel
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.AvailabilityGroupFailureConditionLevelConverter))>]
type AvailabilityGroupFailureConditionLevel = 
Public Enum AvailabilityGroupFailureConditionLevel
Inheritance
AvailabilityGroupFailureConditionLevel
Attributes

Fields

Name Value Description
OnServerDown 1

Automatic failover is triggered when the SQL Server service is down.

OnServerUnresponsive 2

Automatic failover is triggered when SQL Server is down or unresponsive, or when the Avaialbility Group's primary replica is in a failed state.

OnCriticalServerErrors 3

Automatic failover is triggered when any condition level of lower value is satisfied or when a critical server error occurs. If no setting for an Availability Group is specified, this is the default value.

OnModerateServerErrors 4

Automatic failover is triggered when any condition level of lower value is satisfied or when a moderate server error occurs.

OnAnyQualifiedFailureCondition 5

Automatic failover is triggered when any condition level of lower value is satisfied or when a qualifying failure condition occurs.

Unknown 6

The failure condition level is unknown. The replica may not be able to communicate with the cluster or quorum may not be set across the Windows Server Failover Cluster.

Applies to