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/database-engine/availability-groups/windows/replication-subscribers-and-always-on-availability-groups-sql-server.md
+19-16Lines changed: 19 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
-
title: Replication subscribers and Always On availability groups (SQL Server)
2
+
title: "Replication Subscribers and Always on Availability Groups (SQL Server)"
3
3
description: Learn what happens if an Always On availability group containing a database that is a replication subscriber fails over in SQL Server.
4
4
author: MashaMSFT
5
5
ms.author: mathoma
6
-
ms.reviewer: randolphwest
7
-
ms.date: 03/13/2023
6
+
ms.reviewer: mlandzic, randolphwest
7
+
ms.date: 11/28/2025
8
8
ms.service: sql
9
9
ms.subservice: availability-groups
10
-
ms.topic: conceptual
10
+
ms.topic: concept-article
11
11
helpviewer_keywords:
12
12
- "failover subscribers with AlwaysOn"
13
13
- "failover subscribers with Always On"
@@ -23,7 +23,7 @@ When an Always On availability group (AG) fails over, containing a database that
23
23
24
24
## What is supported
25
25
26
-
[!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] replication supports the automatic failover of the publisher and the automatic failover of transactional subscribers. Merge subscribers can be part of an AG, however manual actions are required to configure the new subscriber after a failover. AGs can't be combined with WebSync and SQL Server Compact scenarios.
26
+
[!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] replication supports the automatic failover of the publisher and the automatic failover of transactional subscribers. Merge subscribers can be part of an AG. However, manual actions are required to configure the new subscriber after a failover. AGs can't be combined with WebSync and SQL Server Compact scenarios.
27
27
28
28
## Create a transactional subscription in an availability group
29
29
@@ -33,18 +33,18 @@ For transactional replication, use the following steps to configure and fail ove
33
33
34
34
1. Add the subscriber's AG listener as a linked server to all nodes of the AG. This step ensures that all potential failover partners are aware of and can connect to the listener.
35
35
36
-
1. Using the script in the [Create a transactional replication push subscription](#create-a-transactional-replication-push-subscription) section, create the subscription using the name of the AG listener of the subscriber. After a failover, the listener name will always remain valid, whereas the actual server name of the subscriber will depend on the actual node that became the new primary.
36
+
1. Using the script in the [Create a transactional replication push subscription](#create-a-transactional-replication-push-subscription) section, create the subscription using the name of the AG listener of the subscriber. After a failover, the listener name always remains valid, whereas the actual server name of the subscriber depends on the actual node that became the new primary.
37
37
38
38
> [!NOTE]
39
-
> The subscription must be created by using a [!INCLUDE[tsql](../../../includes/tsql-md.md)] script and cannot be created using [!INCLUDE[ssManStudio](../../../includes/ssmanstudio-md.md)].
39
+
> You must use a [!INCLUDE[tsql](../../../includes/tsql-md.md)] script to create the subscription. You can't use [!INCLUDE[ssManStudio](../../../includes/ssmanstudio-md.md)].
40
40
41
41
1. To create a pull subscription:
42
42
43
43
1. Using the sample script in the [Create a transactional replication pull subscription](#create-a-transactional-replication-pull-subscription) section, create the subscription using the name of the AG listener of the subscriber.
44
44
45
45
1. After a failover, create the distribution agent job on the new primary replica using the `sp_addpullsubscription_agent` stored procedure.
46
46
47
-
When you create a pull subscription, with the subscription database in an AG, after every failover, it is recommended to disable the distribution agent job on the old primary replica and enable the job on the new primary replica.
47
+
When you create a pull subscription with the subscription database in an AG, after every failover, you should disable the distribution agent job on the old primary replica and enable the job on the new primary replica.
48
48
49
49
## Create a transactional replication push subscription
> When running [sp_addpullsubscription_agent](../../../relational-databases/system-stored-procedures/sp-addpullsubscription-agent-transact-sql.md) for a subscriber that is part of an AG, you must pass the `@Subscriber` parameter value to the stored procedure as the AG listener name. If you are running [!INCLUDE[sssql15-md](../../../includes/sssql16-md.md)] and earlier versions, or [!INCLUDE[sssql17-md](../../../includes/sssql17-md.md)] prior to CU 16, the stored procedure will not reference the AG listener name; it will be created with the subscriber server name on which the command is executed. To resolve this issue, manually update the `@Subscriber` parameter on the [Distribution Agent job](../../../relational-databases/replication/agents/replication-distribution-agent.md) with the AG listener name value.
99
+
### Availability group listener requirement
100
+
101
+
When you run [sp_addpullsubscription_agent](../../../relational-databases/system-stored-procedures/sp-addpullsubscription-agent-transact-sql.md) for a subscriber that's part of an AG, you must pass the `@subscriber` parameter value to the stored procedure as the AG listener name. If you run [!INCLUDE [sssql16-md](../../../includes/sssql16-md.md)] and earlier versions, or [!INCLUDE [sssql17-md](../../../includes/sssql17-md.md)] before CU 16, the stored procedure doesn't reference the AG listener name. It creates the subscription with the subscriber server name on which the command is executed. To resolve this issue, manually update the `@subscriber` parameter on the [Replication Distribution Agent](../../../relational-databases/replication/agents/replication-distribution-agent.md) with the AG listener name value.
102
+
103
+
If the subscriber AG listener uses a non-default port, providing port number as part of the AG listener name in the `@subscriber` parameter isn't supported on Windows. As a workaround, you can create an alias for the listener and port on publisher, distributor, and subscriber server using [Aliases (SQL Server Configuration Manager)](../../../tools/configuration-manager/aliases-sql-server-configuration-manager.md) or the [SQL Server Client Network Utility tool (cliconfg)](/previous-versions/windows/desktop/odbc/dn170508(v=vs.85)) for [!INCLUDE [sssql22-md](../../../includes/sssql22-md.md)] and later versions, and pass the alias as the `@subscriber` parameter value.
101
104
102
105
## Resume the merge agents after the availability group of the subscriber fails over
103
106
@@ -108,10 +111,10 @@ For merge replication, a replication administrator must manually reconfigure the
108
111
1. Recreate the subscription by creating a new subscription, beginning with a new snapshot.
109
112
110
113
> [!NOTE]
111
-
> The current process is inconvenient for merge replication subscribers, however the main scenario for merge replication is disconnected users (desktops, laptops, handset devices) which will not use AGs on the subscriber.
114
+
> This process is inconvenient for merge replication subscribers. However, the main scenario for merge replication is disconnected users (desktops, laptops, handset devices), which don't use AGs on the subscriber.
This article provides details about the features of SQL Server Integration Services (SSIS) supported by the different editions of [!INCLUDE [ssNoVersion_md](../includes/ssnoversion-md.md)].
15
17
16
-
This topic provides details about the features of SQL Server Integration Services (SSIS) supported by the different editions of [!INCLUDE[ssNoVersion_md](../includes/ssnoversion-md.md)].
18
+
For features supported by Evaluation and Developer editions, see features listed for Enterprise edition in the following tables.
17
19
18
-
For features supported by Evaluation and Developer editions, see features listed for Enterprise Edition in the following tables.
19
-
20
20
For the latest release notes and what's new information, see the following articles:
21
-
-[SQL Server 2016 release notes](../sql-server/sql-server-2016-release-notes.md)
22
-
-[What's New in Integration Services in SQL Server 2016](../integration-services/what-s-new-in-integration-services-in-sql-server-2016.md)
23
-
-[What's New in Integration Services in SQL Server 2017](../integration-services/what-s-new-in-integration-services-in-sql-server-2017.md)
24
-
25
-
**Try SQL Server 2016!**
26
-
27
-
The SQL Server Evaluation edition is available for a 180-day trial period.
28
-
29
-
:::image type="icon" source="../includes/media/download.svg" border="false"::: **[Download SQL Server 2016 from the Evaluation Center](https://www.microsoft.com/evalcenter/evaluate-sql-server-2016)**
30
-
31
-
## <aname="ISNew"></a> New Integration Services features in SQL Server 2017
32
-
33
-
|Feature|Enterprise|Standard|Web|Express with Advanced Services|Express|
|Scale Out Worker|Yes|Yes <sup>1</sup>|TBD|TBD|TBD|
37
-
|Support for Microsoft Dynamics AX and Microsoft Dynamics CRM in OData components <sup>2</sup>|Yes|Yes||||
38
-
|Linux support|Yes|Yes|||Yes|
21
+
22
+
-[SQL Server 2016 release notes](../sql-server/sql-server-2016-release-notes.md)
23
+
-[What's New in Integration Services in SQL Server 2016](what-s-new-in-integration-services-in-sql-server-2016.md)
24
+
-[What's new in Integration Services in SQL Server 2017](what-s-new-in-integration-services-in-sql-server-2017.md)
25
+
-[What's New in SQL Server 2025 Integration Services](what-s-new-in-integration-services-in-sql-server-2025.md)
26
+
27
+
**Try SQL Server 2025**
28
+
29
+
The SQL Server Evaluation edition is available for a 180-day trial period.
30
+
31
+
:::image type="icon" source="../includes/media/download.svg" border="false"::: **[Download SQL Server 2025 from the Evaluation Center](https://www.microsoft.com/evalcenter/evaluate-sql-server-2025)**
32
+
33
+
<aid="ISNew"></a>
34
+
35
+
## New Integration Services features in SQL Server 2025
36
+
37
+
ADO.NET connection manager now supports Microsoft SqlClient Data Provider. For more information, see [ADO.NET connection manager](connection-manager/ado-net-connection-manager.md).
38
+
39
+
## New Integration Services features in SQL Server 2017
40
+
41
+
| Feature | Enterprise | Standard | Web | Express with Advanced Services | Express |
42
+
| --- | --- | --- | --- | --- | --- |
43
+
| Scale Out Master | Yes | No | No | No | No |
44
+
| Scale Out Worker | Yes | Yes <sup>1</sup> | No | No | No |
45
+
| Support for Microsoft Dynamics AX and Microsoft Dynamics CRM in OData components <sup>2</sup> | Yes | Yes | No | No | No |
46
+
| Linux support | Yes | Yes | No | No | Yes |
39
47
40
48
<sup>1</sup> If you run packages that require Enterprise-only features in Scale Out, the Scale Out Workers must also run on instances of SQL Server Enterprise.
41
49
42
50
<sup>2</sup> This feature is also supported in SQL Server 2016 with Service Pack 1.
43
51
44
-
## <aname="IEWiz"></a> SQL Server Import and Export Wizard
45
-
46
-
|Feature|Enterprise|Standard|Web|Express with Advanced Services|Express|
|SQL Server Import and Export Wizard|Yes|Yes|Yes|Yes<sup>1</sup>|Yes<sup>1</sup>|
49
-
50
-
<sup>1</sup> DTSWizard.exe is not provided with SQL on Linux. However, dtexec on Linux can be used to execute a package created by DTSWizard on Windows.
51
-
52
-
53
-
## <aname="IS"></a> Integration Services
54
-
55
-
|Feature|Enterprise|Standard|Web|Express with Advanced Services|Express|
|Change Data Capture components by Attunity <sup>1</sup>|Yes|||||
80
-
|Data mining query transformation|Yes|||||
81
-
|Fuzzy grouping and fuzzy lookup transformations|Yes|||||
82
-
|Term extraction and term lookup transformations|Yes|||||
83
-
84
-
<sup>1</sup> The Change Data Capture components by Attunity require Enterprise edition. The Change Data Capture Service and the Change Data Capture Designer, however, do not require Enterprise edition. You can use the Designer and the Service on a computer where SSIS is not installed.
52
+
<aid="IEWiz"></a>
53
+
54
+
## SQL Server Import and Export Wizard
55
+
56
+
| Feature | Enterprise | Standard | Web | Express with Advanced Services | Express |
57
+
| --- | --- | --- | --- | --- | --- |
58
+
| SQL Server Import and Export Wizard | Yes | Yes | Yes | Yes <sup>1</sup> | Yes <sup>1</sup> |
59
+
60
+
<sup>1</sup> DTSWizard.exe isn't provided with SQL on Linux. However, dtexec on Linux can be used to execute a package created by DTSWizard on Windows.
61
+
62
+
<aid="IS"></a>
63
+
64
+
## Integration Services
65
+
66
+
| Feature | Enterprise | Standard | Web | Express with Advanced Services | Express |
67
+
| --- | --- | --- | --- | --- | --- |
68
+
| Built-in data source connectors | Yes | Yes | No | No | No |
69
+
| Built in tasks and transformations | Yes | Yes | No | No | No |
70
+
| ODBC source and destination | Yes | Yes | No | No | No |
71
+
| Azure data source connectors and tasks | Yes | Yes | No | No | No |
72
+
| Hadoop/HDFS connectors and tasks | Yes | Yes | No | No | No |
73
+
| Basic data profiling tools | Yes | Yes | No | No | No |
74
+
75
+
<aid="ISAA"></a>
76
+
77
+
## Integration Services - Advanced sources and destinations
78
+
79
+
| Feature | Enterprise | Standard | Web | Express with Advanced Services | Express |
80
+
| --- | --- | --- | --- | --- | --- |
81
+
| High-performance Oracle source and destination by Attunity | Yes | No | No | No | No |
82
+
| High-performance Teradata source and destination by Attunity | Yes | No | No | No | No |
83
+
| SAP BW source and destination | Yes | No | No | No | No |
84
+
| Data mining model training destination | Yes | No | No | No | No |
85
+
| Dimension processing destination | Yes | No | No | No | No |
86
+
| Partition processing destination | Yes | No | No | No | No |
87
+
88
+
<aid="ISAT"></a>
89
+
90
+
## Integration Services - Advanced tasks and transformations
91
+
92
+
| Feature | Enterprise | Standard | Web | Express with Advanced Services | Express |
93
+
| --- | --- | --- | --- | --- | --- |
94
+
| Change Data Capture components by Attunity <sup>1</sup> | Yes | No | No | No | No |
95
+
| Data mining query transformation | Yes | No | No | No | No |
96
+
| Fuzzy grouping and fuzzy lookup transformations | Yes | No | No | No | No |
97
+
| Term extraction and term lookup transformations | Yes | No | No | No | No |
98
+
99
+
<sup>1</sup> The Change Data Capture components by Attunity require Enterprise edition. The Change Data Capture Service and the Change Data Capture Designer, however, don't require Enterprise edition. You can use the Designer and the Service on a computer where SSIS isn't installed.
0 commit comments