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
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-configure-msdtc.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: How to Configure MSDTC on Linux
3
3
description: In this article, learn how to configure the Microsoft Distributed Transaction Coordinator (MSDTC) on Linux.
4
4
author: rwestMSFT
5
5
ms.author: randolphwest
6
-
ms.date: 01/02/2026
6
+
ms.date: 03/16/2026
7
7
ms.service: sql
8
8
ms.subservice: linux
9
9
ms.topic: how-to
@@ -49,15 +49,15 @@ For more information, see [Understanding XA Transactions](../connect/jdbc/unders
49
49
50
50
Complete the following three steps to configure MSDTC communication and functionality for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)].
51
51
52
-
-Configure `network.rpcport` and `distributedtransaction.servertcpport` with **mssql-conf**.
52
+
-Use **mssql-conf** to configure `network.rpcport` and `distributedtransaction.servertcpport`.
53
53
- Configure the firewall to allow communication on `distributedtransaction.servertcpport` and port 135.
54
54
- Configure Linux server routing so that RPC communication on port 135 is redirected to the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] instance's `network.rpcport`.
55
55
56
56
The following sections provide detailed instructions for each step.
57
57
58
58
## Configure RPC and MSDTC ports
59
59
60
-
Configure `network.rpcport` and `distributedtransaction.servertcpport` with **mssql-conf**. This step is specific to [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] and common across all supported distributions.
60
+
Use **mssql-conf** to configure `network.rpcport` and `distributedtransaction.servertcpport`. This step applies to [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] and is common across all supported distributions.
61
61
62
62
1. Use **mssql-conf** to set the `network.rpcport` value. The following example sets it to 13500.
63
63
@@ -148,9 +148,9 @@ Ubuntu and SLES don't use the **firewalld** service, so **iptables** rules are a
148
148
> [!NOTE]
149
149
> You must have super user (sudo) privileges to edit the `rc.local` or `after.local` files.
150
150
151
-
The `iptables-save` and `iptables-restore` commands, along with `rc.local`/`after.local` startup configuration, provide a basic mechanism to save and restore **iptables** entries. Depending on your Linux distribution, there might be more advanced or automated options available. For example, an Ubuntu alternative is the `iptables-persistent` package to make entries persistent.
151
+
The `iptables-save` and `iptables-restore` commands, along with `rc.local`/`after.local` startup configuration, provide a basic mechanism to save and restore **iptables** entries. Depending on your Linux distribution, you might have more advanced or automated options available. For example, an Ubuntu alternative is the `iptables-persistent` package to make entries persistent.
152
152
153
-
The previous steps assume a fixed IP address. If the IP address for your [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] instance changes (due to manual intervention or DHCP), you must remove and recreate the routing rules if you created them with **iptables**. If you need to recreate or delete existing routing rules, use the following command to remove old `RpcEndPointMapper` rules:
153
+
The previous steps assume a fixed IP address. If the IP address for your [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] instance changes (due to manual intervention or DHCP), you must remove and recreate the routing rules if you created them with **iptables**. To recreate or delete existing routing rules, use the following command to remove old `RpcEndPointMapper` rules:
- Distributed transactions support only standalone SQL Server instances. They don't support high-availability clustering.
221
+
222
+
- MSDTC isn't supported with Always On availability groups on Linux, regardless of cluster type (`CLUSTER_TYPE = NONE` or `CLUSTER_TYPE = EXTERNAL`).
223
+
224
+
- Coordinating distributed transactions across availability group replicas isn't supported. Handling distributed transactions during availability group failover scenarios isn't supported.
225
+
226
+
- Clustered MSDTC configurations aren't supported on Linux.
227
+
218
228
## Related content
219
229
220
230
-[What is SQL Server on Linux?](sql-server-linux-overview.md)
0 commit comments