Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f4cbb34

Browse files
sasapopoMashaMSFT
authored andcommitted
Updating replication agent info and CES preview note
1 parent 4e871d1 commit f4cbb34

8 files changed

Lines changed: 77 additions & 39 deletions

File tree

azure-sql/managed-instance/doc-changes-updates-release-notes-whats-new.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about the new features and documentation improvements for Azu
55
author: MashaMSFT
66
ms.author: mathoma
77
ms.reviewer: wiassaf, mathoma
8-
ms.date: 05/22/2025
8+
ms.date: 05/30/2025
99
ms.service: azure-sql-managed-instance
1010
ms.subservice: service-overview
1111
ms.topic: whats-new
@@ -58,6 +58,7 @@ The following table lists features of Azure SQL Managed Instance that have been
5858

5959
| Feature | GA Month | Details |
6060
| ---| --- |--- |
61+
| [TLS 1.3 support for replication](replication-transactional-overview.md#tls-13-support) | May 2025 | Configure Azure SQL Managed Instance replication agents to use TLS 1.3. |
6162
| [Free SQL Managed Instance](free-offer.md) | May 2025 | Try Azure SQL Managed Instance for free for the first 12 months after an instance is created. |
6263
| [JSON native data type](/sql/t-sql/data-types/json-data-type?view=azuresqlmi-current&preserve-view=true) | May 2025 | The **json** data type provides new capabilities for handling semistructured data in Azure SQL Managed Instance. |
6364
| [JSON aggregate functions](/sql/relational-databases/json/json-data-sql-server?view=azuresqlmi-current&preserve-view=true#json-data-from-aggregates) | May 2025 | Two **json** aggregate functions (`JSON_OBJECTAGG` and `JSON_ARRAYAGG`) enable construction of JSON objects or arrays based on an aggregate from SQL data. |
@@ -86,9 +87,11 @@ Learn about significant changes to the Azure SQL Managed Instance documentation.
8687
| **JSON native data type GA** | The [**json** data type](/sql/t-sql/data-types/json-data-type?view=azuresqlmi-current&preserve-view=true) provides new capabilities for handling semistructured data in Azure SQL Managed Instance. This data type is now generally available. |
8788
| **JSON aggregate functions GA** | Two [**json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG`](/sql/relational-databases/json/json-data-sql-server?view=azuresqlmi-current&preserve-view=true#json-data-from-aggregates) enable construction of JSON objects or arrays based on an aggregate from SQL data. These JSON functions are now generally available. |
8889
| **Regular expression functions preview** | Regular expression (REGEX) functions return text based on values in a search pattern. This capability is currently in preview for Azure SQL Managed Instance. For more information, see [Regular expressions](/sql/relational-databases/regular-expressions/overview). |
90+
| **TLS 1.3 support for replication GA** | Configure Azure SQL Managed Instance replication agents to use TLS 1.3. This capability is generally available. Review [TLS 1.3 support for replication](replication-transactional-overview.md#tls-13-support) to learn more. |
8991
| **UNISTR (Transact-SQL) preview** | Azure SQL Managed Instance now supports the `UNISTR` T-SQL syntax for Unicode string literals. This capability is currently in preview. For more information, see [UNISTR (Transact-SQL)](/sql/t-sql/functions/unistr-transact-sql).|
9092
| **\|\| (String concatenation) and \|\|= (Compound assignment) syntax support preview** | Azure SQL Managed Instance now supports [\|\| (String concatenation)](/sql/t-sql/language-elements/string-concatenation-pipes-transact-sql) and [\|\|= (Compound assignment)](/sql/t-sql/language-elements/compound-assignment-pipes-transact-sql) Transact-SQL syntax. This capability is currently in preview.|
9193

94+
9295
### April 2025
9396

9497
| Changes | Details |

azure-sql/managed-instance/replication-transactional-overview.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about using SQL Server transactional replication with Azure S
55
author: sasapopo
66
ms.author: sasapopo
77
ms.reviewer: mathoma, randolphwest
8-
ms.date: 06/10/2024
8+
ms.date: 05/30/2025
99
ms.service: azure-sql-managed-instance
1010
ms.subservice: data-movement
1111
ms.topic: conceptual
@@ -77,7 +77,6 @@ The transactional and snapshot replication supportability matrix for Azure SQL M
7777

7878
[!INCLUDE [replication-compat-matrix](../../docs/includes/replication-compat-matrix-transactional.md)]
7979

80-
8180
## When to use
8281

8382
Transactional replication is useful in the following scenarios:
@@ -134,6 +133,18 @@ In this configuration, a database in Azure SQL Database or Azure SQL Managed Ins
134133
135134
## Security
136135

136+
### TLS 1.3 support
137+
138+
Azure SQL Managed Instance supports TLS 1.3 for replication connections initialized by agents configured to run on a SQL managed instance. This applies to a replication topology between two SQL managed instances, and also to any version of SQL Server as a subscriber from a SQL managed instance publisher and distributor.
139+
140+
If you use TLS 1.3 to secure the connections between instances in a replication topology, specify a value of **3** or **4** for the **-EncryptionLevel** parameter of each replication agent:
141+
142+
- [Distribution agent](/sql/relational-databases/replication/agents/replication-distribution-agent#encryption-level)
143+
- [Log reader agent](/sql/relational-databases/replication/agents/replication-log-reader-agent#encryption-level)
144+
- [Snapshot agent](/sql/relational-databases/replication/agents/replication-snapshot-agent#encryption-level)
145+
146+
A value of `3` enforces TLS 1.3 connections between SQL managed instances, but has not impact on connections between SQL Server and SQL managed instances. A value of `4` enforces TLS 1.3 connections between SQL managed instances, and also connections from SQL managed instance to SQL Server, and requires that you install the certificate to the SQL Server host.
147+
137148
### Login `replAgentUser`
138149

139150
For purposes of transactional replication, a SQL managed instance has a pre-created login(s) with the name `replAgentUser`. This login is a member of the `sysadmin` server role and is used by replication agents that need to connect to a SQL managed instance participating in transactional replication setup.

docs/relational-databases/replication/agents/replication-distribution-agent.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Move a snapshot and the transactions held in the distribution datab
44
author: "MashaMSFT"
55
ms.author: "mathoma"
66
ms.reviewer: randolphwest
7-
ms.date: 10/16/2024
7+
ms.date: 05/30/2025
88
ms.service: sql
99
ms.subservice: replication
1010
ms.topic: reference
@@ -44,7 +44,7 @@ distrib [ -? ]
4444
[ -DistributorLogin distributor_login ]
4545
[ -DistributorPassword distributor_password ]
4646
[ -DistributorSecurityMode [ 0 | 1 ] ]
47-
[ -EncryptionLevel [ 0 | 1 | 2 ] ]
47+
[ -EncryptionLevel [ 0 | 1 | 2 | 3 | 4 ] ]
4848
[ -ErrorFile error_path_and_file_name ]
4949
[ -ExtendedEventConfigFile configuration_path_and_file_name ]
5050
[ -FileTransferType [ 0 | 1 ] ]
@@ -146,15 +146,19 @@ The Distributor password.
146146

147147
Specifies the security mode of the Distributor. A value of 0 indicates [!INCLUDE [ssNoVersion](../../../includes/ssnoversion-md.md)] Authentication Mode, and a value of 1 indicates Windows Authentication Mode (default).
148148

149-
#### -EncryptionLevel [ 0 \| 1 \| 2 ]
149+
<a id="encryptionlevel"></a>
150+
151+
#### -EncryptionLevel [ 0 \| 1 \| 2 \| 3 \| 4 ]
150152

151153
The level of Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), encryption used by the Distribution Agent when making connections.
152154

153155
| EncryptionLevel value | Description |
154156
| --- | --- |
155157
| `0` | Specifies that TLS isn't used. |
156-
| `1` | Specifies that TLS is used, but the agent doesn't verify that the TLS server certificate is signed by a trusted issuer. |
157-
| `2` | Specifies that TLS is used, and that the certificate is verified. |
158+
| `1` | Specifies that TLS 1.2 is used, but the agent doesn't verify that the TLS server certificate is signed by a trusted issuer. |
159+
| `2` | Specifies that TLS 1.2 is used, and that the certificate is verified. |
160+
| `3` | Specifies that for connections from Azure SQL Managed Instance to Azure SQL Managed Instance, TLS 1.3 is used, and the certificate is verified. For connections between Azure SQL Managed Instance and SQL Server, TLS 1.3 is not enforced. |
161+
| `4` | Specifies that for connections from Azure SQL Managed Instance to Azure SQL Managed Instance, TLS 1.3 is used, and the certificate is verified. For connections from Azure SQL Managed Instance to SQL Server, TLS 1.3 is used, and the certificate is verified. Requires installing the certificate on SQL Server hosts. |
158162

159163
A valid TLS certificate is defined with a fully qualified domain name of the SQL Server. In order for the agent to connect successfully when setting `-EncryptionLevel` to `2`, create an alias on the local SQL Server. The 'Alias Name' parameter should be the server name and the 'Server' parameter should be set to the fully qualified name of the SQL Server.
160164

docs/relational-databases/replication/agents/replication-log-reader-agent.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: The Replication Log Reader Agent monitors SQL Server databases conf
44
author: "MashaMSFT"
55
ms.author: "mathoma"
66
ms.reviewer: randolphwest
7-
ms.date: 10/15/2024
7+
ms.date: 05/30/2025
88
ms.service: sql
99
ms.subservice: replication
1010
ms.topic: reference
@@ -38,7 +38,7 @@ logread [ -? ]
3838
[ -DistributorLogin distributor_login ]
3939
[ -DistributorPassword distributor_password ]
4040
[ -DistributorSecurityMode [ 0 | 1 ] ]
41-
[ -EncryptionLevel [ 0 | 1 | 2 ] ]
41+
[ -EncryptionLevel [ 0 | 1 | 2 | 3 | 4 ] ]
4242
[ -ExtendedEventConfigFile configuration_path_and_file_name ]
4343
[ -HistoryVerboseLevel [ 0 | 1 | 2 ] ]
4444
[ -KeepAliveMessageInterval keep_alive_message_interval_seconds ]
@@ -100,15 +100,19 @@ The Distributor password.
100100

101101
Specifies the security mode of the Distributor. A value of `0` indicates [!INCLUDE [ssNoVersion](../../../includes/ssnoversion-md.md)] Authentication Mode (default), and a value of `1` indicates Windows Authentication Mode.
102102

103-
#### -EncryptionLevel [ 0 \| 1 \| 2 ]
103+
<a id="encryptionlevel"></a>
104+
105+
#### -EncryptionLevel [ 0 \| 1 \| 2 \| 3 \| 4 ]
104106

105107
The level of Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), encryption that is used by the Log Reader Agent when making connections.
106108

107109
| EncryptionLevel value | Description |
108110
| --- | --- |
109111
| `0` | Specifies that TLS isn't used. |
110-
| `1` | Specifies that TLS is used, but the agent doesn't verify that the TLS server certificate is signed by a trusted issuer. |
111-
| `2` | Specifies that TLS is used, and that the certificate is verified. |
112+
| `1` | Specifies that TLS 1.2 is used, but the agent doesn't verify that the TLS server certificate is signed by a trusted issuer. |
113+
| `2` | Specifies that TLS 1.2 is used, and that the certificate is verified. |
114+
| `3` | Specifies that for connections from Azure SQL Managed Instance to Azure SQL Managed Instance, TLS 1.3 is used, and the certificate is verified. For connections between Azure SQL Managed Instance and SQL Server, TLS 1.3 is not enforced. |
115+
| `4` | Specifies that for connections from Azure SQL Managed Instance to Azure SQL Managed Instance, TLS 1.3 is used, and the certificate is verified. For connections from Azure SQL Managed Instance to SQL Server, TLS 1.3 is used, and the certificate is verified. Requires installing the certificate on SQL Server hosts. |
112116

113117
> [!NOTE]
114118
> A valid TLS/SSL certificate is defined with a fully qualified domain name of the SQL Server. In order for the agent to connect successfully when setting `-EncryptionLevel` to `2`, create an alias on the local SQL Server. The 'Alias Name' parameter should be the server name and the 'Server' parameter should be set to the fully qualified name of the SQL Server.

docs/relational-databases/replication/agents/replication-snapshot-agent.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Replication Snapshot Agent"
33
description: In SQL Server, the Replication Snapshot Agent prepares snapshot files, stores them in a folder, and records synchronization jobs in the distribution database.
44
author: "MashaMSFT"
55
ms.author: "mathoma"
6-
ms.date: 09/25/2024
6+
ms.date: 05/30/2025
77
ms.service: sql
88
ms.subservice: replication
99
ms.topic: reference
@@ -43,7 +43,7 @@ snapshot [ -?]
4343
[-DynamicFilterHostName dynamic_filter_host_name]
4444
[-DynamicFilterLogin dynamic_filter_login]
4545
[-DynamicSnapshotLocation dynamic_snapshot_location]
46-
[-EncryptionLevel [0|1|2]]
46+
[-EncryptionLevel [0|1|2|3|4]]
4747
[-FieldDelimiter field_delimiter]
4848
[-HistoryVerboseLevel [0|1|2|3] ]
4949
[-HRBcpBlocks number_of_blocks ]
@@ -120,14 +120,18 @@ snapshot [ -?]
120120
**-DynamicSnapshotLocation** _dynamic_snapshot_location_
121121
Is the location where the dynamic snapshot should be generated.
122122

123-
**-EncryptionLevel** [ **0** | **1** | **2** ]
123+
<a id="encryptionlevel"></a>
124+
125+
**-EncryptionLevel** [ **0** | **1** | **2** | **3** | **4**]
124126
Is the level of Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), encryption used by the Snapshot Agent when making connections.
125127

126-
|EncryptionLevel value|Description|
127-
|---------------------------|-----------------|
128-
|**0**|Specifies that TLS is not used.|
129-
|**1**|Specifies that TLS is used, but the agent does not verify that the TLS/SSL server certificate is signed by a trusted issuer.|
130-
|**2**|Specifies that TLS is used, and that the certificate is verified.|
128+
|EncryptionLevel value|Description|
129+
|---------------------------|-----------------|
130+
|`0`|Specifies that TLS is not used.|
131+
|`1`|Specifies that TLS 1.2 is used, but the agent does not verify that the TLS/SSL server certificate is signed by a trusted issuer.|
132+
|`2`|Specifies that TLS 1.2 is used, and that the certificate is verified.|
133+
| `3` | Specifies that for connections from Azure SQL Managed Instance to Azure SQL Managed Instance, TLS 1.3 is used, and the certificate is verified. For connections between Azure SQL Managed Instance and SQL Server, TLS 1.3 is not enforced. |
134+
| `4` | Specifies that for connections from Azure SQL Managed Instance to Azure SQL Managed Instance, TLS 1.3 is used, and the certificate is verified. For connections from Azure SQL Managed Instance to SQL Server, TLS 1.3 is used, and the certificate is verified. Requires installing the certificate on SQL Server hosts. |
131135

132136
> [!NOTE]
133137
> A valid TLS/SSL certificate is defined with a fully qualified domain name of the SQL Server. In order for the agent to connect successfully when setting -EncryptionLevel to 2, create an alias on the local SQL Server. The 'Alias Name' parameter should be the server name and the 'Server' parameter should be set to the fully qualified name of the SQL Server.

docs/relational-databases/replication/security/replication-security-best-practices.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,21 @@ helpviewer_keywords:
1616
- "Internet [SQL Server replication], security"
1717
---
1818
# Replication Security Best Practices
19-
[!INCLUDE [SQL Server](../../../includes/applies-to-version/sqlserver.md)]
19+
[!INCLUDE [SQL Server](../../../includes/applies-to-version/sql-asdbmi.md)]
2020
Replication moves data in distributed environments ranging from intranets on a single domain to applications that access data between untrusted domains and over the Internet. It is important to understand the best approach for securing replication connections under these different circumstances.
2121

2222
The following information is relevant to replication in all environments:
2323

2424
- Encrypt the connections between computers in a replication topology using an industry standard method, such as Virtual Private Networks (VPN), Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), or IP Security (IPSEC). For more information, see [Enable Encrypted Connections to the Database Engine &#40;SQL Server Configuration Manager&#41;](../../../database-engine/configure-windows/configure-sql-server-encryption.md). For information about using VPN and TLS for replicating data over the Internet, see [Securing Replication Over the Internet](../../../relational-databases/replication/security/securing-replication-over-the-internet.md).
2525

26-
If you use TLS to secure the connections between computers in a replication topology, specify a value of **1** or **2** for the **-EncryptionLevel** parameter of each replication agent (a value of **2** is recommended). A value of **1** specifies that encryption is used, but the agent does not verify that the TLS/SSL server certificate is signed by a trusted issuer; a value of **2** specifies that the certificate is verified. Agent parameters can be specified in agent profiles and on the command line. For more information, see:
26+
If you use TLS 1.2 to secure the connections between computers in a replication topology, specify a value of **1** or **2** for the **-EncryptionLevel** parameter of each replication agent (a value of **2** is recommended). A value of **1** specifies that encryption is used, but the agent does not verify that the TLS/SSL server certificate is signed by a trusted issuer; a value of **2** specifies that the certificate is verified. Azure SQL Managed Instance [supports TLS 1.3](/azure/azure-sql/managed-instance/replication-transactional-overview#tls-1-3-support) for connections between instances by specifying a value of **3** and connections to SQL Server from Azure SQL Managed Instance by specifying a value of **4**.
27+
28+
For information about working with agents, see:
29+
30+
- [View and Modify Replication Agent Command Prompt Parameters &#40;SQL Server Management Studio&#41;](../../../relational-databases/replication/agents/view-and-modify-replication-agent-command-prompt-parameters.md)
2731

2832
- [Work with Replication Agent Profiles](../../../relational-databases/replication/agents/work-with-replication-agent-profiles.md)
2933

30-
- [View and Modify Replication Agent Command Prompt Parameters &#40;SQL Server Management Studio&#41;](../../../relational-databases/replication/agents/view-and-modify-replication-agent-command-prompt-parameters.md)
31-
3234
- [Replication Agent Executables Concepts](../../../relational-databases/replication/concepts/replication-agent-executables-concepts.md)
3335

3436
- Run each replication agent under a different Windows account, and use Windows Authentication for all replication agent connections. For more information about specifying accounts, see [Identity and access control for replication](../../../relational-databases/replication/security/identity-and-access-control-replication.md).

0 commit comments

Comments
 (0)