Configure FailureConditionLevel Property Settings
Use the FailureConditionLevel property to set the conditions for the AlwaysOn Failover Cluster Instance (FCI) to fail over or restart. Changes to this property are applied immediately without requiring a restart of the Windows Server Failover Cluster (WSFC) service or the FCI resource.
-
Before you begin: Limitations and Restrictions, Security
-
To configure FailureConditionLevel property settings using, PowerShell, Failover Cluster Manager, Transact-SQL
FailureConditionLevel Property Settings
The failure conditions are set on an increasing scale. For levels 1-5, each level includes all the conditions from the previous levels in addition to its own conditions. This means that with each level, there is an increased probability of a failover or restart. For more information, see Determining Failures
Security
To configure FailureConditionLevel settings
-
Start an elevated Windows PowerShell via Run as Administrator.
-
Import the FailoverClusters module to enable cluster commandlets.
-
Use the Get-ClusterResource object to set the FailureConditionLevel property for Failover Cluster Instance.
Example (Powershell)
To configure FailureConditionLevel property settings:
-
Open the Failover Cluster Manager snap-in.
-
Expand the Services and Applications and select the FCI.
-
Right-click the SQL Server resource under Other Resources, and then select Properties from the menu. The SQL Server resource Properties dialog box opens.
-
Select the Properties tab, enter the desired value for the FaliureConditionLevel property, and then click OK to apply the change.
To configure FailureConditionLevel property settings:
Note
|
|---|
|
For an example of this procedure, see Example (Transact-SQL), later in this section. |
Using the Data Definition Language (DDL) statement ALTER SERVER CONFIGURATION, you can specify the FailureConditionLevel property value. For syntax details, see Setting failover cluster properties
Note