You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -230,6 +230,14 @@ Not supported for CREATE AVAILABILITY GROUP. Beginning with [!INCLUDE [sssql22-m
230
230
231
231
Used to identify if the availability group is on a Windows Server Failover Cluster (WSFC). Set to WSFC when availability group is on a failover cluster instance on a Windows Server failover cluster. Set to EXTERNAL when the cluster is managed by a cluster manager that isn't a Windows Server failover cluster, like Linux Pacemaker. Set to NONE when availability group not using WSFC for cluster coordination. For example, when an availability group includes Linux servers with no cluster manager.
232
232
233
+
#### WRITE_LEASE_VALIDITY
234
+
235
+
**Applies to:**[!INCLUDE[sssql17-md](../../includes/sssql17-md.md)] and later versions.
236
+
237
+
Specifies the lease time (in seconds) before it expires or needs renewal. This monitors the health and communication between local cluster orchestrator and SQL Server instance processes. The lease validity mechanism uses *heartbeat* signals to the availability group primary SQL Server instance. If the primary fails to send or receive a lease renewal within the lease validity period, it's considered unresponsive, and the primary will go offline. This mechanism prevents split-brain situations when the cluster orchestrator cannot notify SQL Server to stop being primary when a new primary is elected by a failover. It is applicable only for `CLUSTER_TYPE = EXTERNAL`, when the cluster is managed by a cluster manager that isn't a Windows Server failover cluster, like Linux Pacemaker.
238
+
239
+
The external orchestrator is responsible to ensure the external lease renewal process is consistently stable. If the lease renew message is unexpectedly missed, the current AG replica is set offline, which causes AG availability loss.
240
+
233
241
#### DATABASE *database_name*
234
242
235
243
Specifies a list of one or more user databases on the local [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance (that is, the server instance on which you're creating the availability group). You can specify multiple databases for an availability group, but each database can belong to only one availability group. For information about the type of databases that an availability group can support, see [Prerequisites, Restrictions, and Recommendations for Always On availability groups (SQL Server)](../../database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability.md). To find out which local databases already belong to an availability group, see the **replica_id** column in the [sys.databases](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) catalog view.
0 commit comments