|
1 | 1 | --- |
2 | 2 | title: Troubleshoot Issues Configuring Transactional Replication on Multiple SQL Server Linux Containers |
3 | | -description: Learn about a known issue when configuring transactional replication in SQL Server on Linux containers, including symptoms, cause, workaround, and resolution. |
| 3 | +description: Learn how to fix duplicate subscription errors when setting up transactional replication on SQL Server Linux containers. |
4 | 4 | ms.reviewer: pijocoder, mlandzic, randolphwest, v-shaywood |
5 | 5 | ms.custom: sap:Replication, Change Tracking, Change Data Capture\Errors or unexpected results during operation |
6 | 6 | ms.date: 11/03/2025 |
@@ -29,13 +29,13 @@ This behavior is specific to Linux container environments where named instances |
29 | 29 |
|
30 | 30 | ## Workaround |
31 | 31 |
|
32 | | -To successfully add multiple subscribers on the same machine but in different containers: |
| 32 | +To successfully add multiple subscribers on the same machine but in different containers, follow these steps: |
33 | 33 |
|
34 | 34 | 1. Install [Cumulative Update 20 (CU20) for SQL Server 2022](https://www.catalog.update.microsoft.com/Search.aspx?q=KB5059390). |
35 | 35 |
|
36 | | -1. Enable trace flag [15005](/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql#tf15005). This trace flag enables using a Subscriber with a nondefault port for transactional replication. |
| 36 | +1. Enable trace flag [15005](/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql#tf15005). This trace flag enables using a subscriber with a nondefault port for transactional replication. |
37 | 37 |
|
38 | | -1. Perform the following manual cleanup and configuration steps in Transact-SQL. Make sure to replace the `@hostname`, `@port_sub1`, `@port_sub2`, `@PublicationName`, `@SubscriberDb_Sub1`, and `@SubscriberDb_Sub2` variables with values specific to your environment: |
| 38 | +1. Perform the following manual cleanup and configuration steps in Transact-SQL. Replace the `@hostname`, `@port_sub1`, `@port_sub2`, `@PublicationName`, `@SubscriberDb_Sub1`, and `@SubscriberDb_Sub2` variables with values specific to your environment: |
39 | 39 |
|
40 | 40 | ```sql |
41 | 41 | DECLARE @hostname AS SYSNAME = 'LinuxSubscriberHostName', |
@@ -166,9 +166,9 @@ To successfully add multiple subscribers on the same machine but in different co |
166 | 166 |
|
167 | 167 | ## Resolution |
168 | 168 |
|
169 | | -Currently, no permanent fix is available. The previous [workaround](#workaround) is the recommended approach. |
| 169 | +Currently, no permanent fix is available. Use the previous [workaround](#workaround). |
170 | 170 |
|
171 | | -The product team is evaluating potential fixes for future releases. Once a permanent fix is available, this article will be updated. |
| 171 | +The product team is evaluating potential fixes for future releases. This article will be updated when a permanent fix is available. |
172 | 172 |
|
173 | 173 | ## Related content |
174 | 174 |
|
|
0 commit comments