Skip to content

Commit 835cfa8

Browse files
Merge pull request #33953 from AttinderPalSingh/patch-5
Update sql-server-linux-availability-group-ha.md
2 parents 42f6fac + 8b51213 commit 835cfa8

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

docs/linux/sql-server-linux-availability-group-ha.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: "Availability group deployment patterns - SQL Server on Linux"
2+
title: "Availability Group Deployment Patterns - SQL Server on Linux"
33
description: Learn supported deployment configurations for SQL Server Always on availability groups on Linux servers.
44
author: rwestMSFT
55
ms.author: randolphwest
66
ms.reviewer: vanto
7-
ms.date: 07/15/2024
7+
ms.date: 04/29/2025
88
ms.service: sql
99
ms.subservice: linux
1010
ms.topic: conceptual
@@ -43,7 +43,9 @@ The following configurations describe the availability group design patterns and
4343
- **Two synchronous replicas**
4444
- **Two synchronous replicas and a configuration only replica**
4545

46-
## <a id="threeSynch"></a> Three synchronous replicas
46+
<a id="threeSynch"></a>
47+
48+
## Three synchronous replicas
4749

4850
This configuration consists of three synchronous replicas. By default, it provides high availability and data protection. It can also provide read-scale.
4951

@@ -54,12 +56,16 @@ An availability group with three synchronous replicas can provide read-scale, hi
5456
| Availability behavior | read-scale | High availability &<br />data protection | Data protection |
5557
| :--- | --- | --- | --- |
5658
| `REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT=` | 0 | 1 <sup>1</sup> | 2 |
57-
| Primary outage | Automatic failover. Might have data loss. New primary is R/W. | Automatic failover. New primary is R/W. | Automatic failover. New primary isn't available for user update transactions until former primary recovers and joins availability group as secondary. |
58-
| One secondary replica outage | Primary is R/W. | Primary is R/W. | Primary isn't available for user update transactions until failed secondary recovers and joins availability group. |
59+
| Primary outage | Automatic failover. Might have data loss. New primary is R/W. | Automatic failover. New primary is R/W. | Automatic failover. New primary is unavailable for read or write transactions until former primary recovers and rejoins availability group as secondary. |
60+
| One secondary replica outage | Primary is R/W. Available secondary is available for Reads. | Primary is R/W. Available secondary is available for Reads. | The primary remains unavailable for read or write transactions until failed secondary recovers and rejoins availability group. |
61+
| Two secondary replicas outage | The primary is available only for reads and not for writes until one of the secondary replicas recovers and rejoins the availability group. | The primary is available only for reads and not for writes until one of the secondary replicas recovers and rejoins the availability group. | The primary remains unavailable for read or write transactions until all failed secondary replicas recover and rejoins the availability group. |
62+
| Primary and one secondary replica outage | Automatic failover. Might have data loss. The new primary is available only for reads and not for writes until one of the secondary replicas recovers and rejoins the availability group. | Automatic failover. The new primary is available only for reads and writes until one of the secondary replicas recovers and rejoins the availability group. | Automatic failover. New primary remains unavailable for read or write transactions until former primary and the secondary replica recovers and rejoins availability group. |
5963

6064
<sup>1</sup> Default
6165

62-
## <a id="twoSynch"></a> Two synchronous replicas
66+
<a id="twoSynch"></a>
67+
68+
## Two synchronous replicas
6369

6470
This configuration enables data protection. Like the other availability group configurations, it can enable read-scale. The two synchronous replicas configuration doesn't provide automatic high availability. A two replica configuration is only applicable to [!INCLUDE [sssql17-md](../includes/sssql17-md.md)] RTM and is no longer supported with higher (CU1 and beyond) versions of [!INCLUDE [sssql17-md](../includes/sssql17-md.md)].
6571

@@ -70,12 +76,14 @@ An availability group with two synchronous replicas provides read-scale and data
7076
| Availability behavior | read-scale | Data protection |
7177
| :--- | --- | --- |
7278
| `REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT=` | 0 <sup>1</sup> | 1 |
73-
| Primary outage | Automatic failover. Might have data loss. New primary is R/W. | Automatic failover. New primary isn't available for user update transactions until former primary recovers and joins availability group as secondary. |
74-
| One secondary replica outage | Primary is R/W, running exposed to data loss. | Primary isn't available for user update transactions until secondary recovers. |
79+
| Primary outage | Automatic failover. Might have data loss. New primary is R/W. | Automatic failover. The new primary is unavailable for read or write transactions until former primary recovers and rejoins availability group as a secondary. |
80+
| One secondary replica outage | Primary is R/W, running exposed to data loss. | The primary remains unavailable for read or write transactions until failed secondary recovers and rejoins availability group. |
7581

7682
<sup>1</sup> Default
7783

78-
## <a id="configOnly"></a> Two synchronous replicas and a configuration only replica
84+
<a id="configOnly"></a>
85+
86+
## Two synchronous replicas and a configuration only replica
7987

8088
An availability group with two (or more) synchronous replicas and a configuration only replica provides data protection and might also provide high availability. The following diagram represents this architecture:
8189

@@ -94,10 +102,10 @@ The default value for `REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT` is 0. The fo
94102
| Availability behavior | High availability &<br />data protection | Data protection |
95103
| :--- | --- | --- |
96104
| `REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT=` | 0 <sup>1</sup> | 1 |
97-
| Primary outage | Automatic failover. New primary is R/W. Might have data loss. | Automatic failover. New primary isn't available for user update transactions. |
98-
| Secondary replica outage | Primary is R/W, running exposed to data loss (if primary fails and can't be recovered). No automatic failover if primary fails as well. | Primary isn't available for user update transactions. No replica to fail over to if primary fails as well. |
105+
| Primary outage | Automatic failover. New primary is R/W. Might have data loss. | Automatic failover. The new primary is unavailable for read or write transactions until former primary recovers and rejoins availability group as a secondary. |
106+
| Secondary replica outage | Primary is R/W, running exposed to data loss (if primary fails and can't be recovered). No automatic failover if primary fails as well. | The primary remains unavailable for read or write transactions until failed secondary recovers and rejoins availability group. No replica to fail over to if primary fails as well. |
99107
| Configuration only replica outage | Primary is R/W. No automatic failover if primary fails as well. | Primary is R/W. No automatic failover if primary fails as well. |
100-
| Synchronous secondary + configuration only replica outage | Primary isn't available for user update transactions. No automatic failover. | Primary isn't available for user update transactions. No replica to fail over to if primary fails as well. |
108+
| Synchronous secondary + configuration only replica outage | The primary is unavailable for read or write transactions. No automatic failover. | The primary is unavailable for read or write transactions. No replica to fail over to if primary fails as well. |
101109

102110
<sup>1</sup> Default
103111

0 commit comments

Comments
 (0)