Publisher | Distributor | Subscriber |
SQL Server 2016 | SQL Server 2016 |
SQL Server 2016
SQL Server 2014 SQL Server 2012 |
SQL Server 2014 |
SQL Server 2016
SQL Server 2014 |
SQL Server 2016
SQL Server 2014 SQL Server 2012 SQL Server 2008 R2 SQL Server 2008 |
SQL Server 2012 |
SQL Server 2016
SQL Server 2014 SQL Server 2012
|
SQL Server 2016
SQL Server 2014 SQL Server 2012 SQL Server 2008 R2 SQL Server 2008 |
SQL Server 2008 R2
SQL Server 2008 |
SQL Server 2016
SQL Server 2014 SQL Server 2012 SQL Server 2008 R2 SQL Server 2008 |
SQL Server 2014
SQL Server 2012 SQL Server 2008 R2 SQL Server 2008 SQL Server 2005 SQL Server 2000 |
Publisher | Distributor | Subscriber |
SQL Server 2016 | SQL Server 2016 |
SQL Server 2016
SQL Server 2014 SQL Server 2012 |
SQL Server 2014 |
SQL Server 2016
SQL Server 2014 |
SQL Server 2014
SQL Server 2012 SQL Server 2008 R2 SQL Server 2008 |
SQL Server 2012 | SQL Server 2012 |
SQL Server 2012
SQL Server 2008 R2 SQL Server 2008 |
SQL Server 2008
SQL Server 2008 R2 |
SQL Server 2008 R2
SQL Server 2008 |
SQL Server 2008 R2
SQL Server 2008 SQL Server 2005 SQL Server 2000 |
Transactional Replication |
|
|
Upgrading from |
Distributor |
Publisher/Subscriber |
SQL Server 2014 SQL Server 2012 |
Step 1: In-place upgrade (Can be upgraded due to n-2 support) OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology* |
Step 2 : In-place upgrade (Can be upgraded due to n-2 support) OR Side-by-side upgrade of subscriber requires reinitialization of subscriber Side-by-side upgrade of publisher requires reconfiguring all the publisher-subscriber pairs The publisher and subscriber can be upgraded in any order
|
SQL Server 2008 R2 SQL Server 2008 |
Step 1: In-place upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology* |
Step 2 : In-place upgrade would need to occur for both publisher and subscriber at the same time as publisher and subscriber need to be within two major releases. A SQL Server 2008/R2 publisher/subscriber cannot have a SQL Server 2016 publisher/subscriber. OR Intermediate In-place upgrade to SQL Server 2012/2014 of publisher or subscriber The other server in the publisher/subscriber pair can then be upgraded to SQL Server 2016 OR Side-by-side upgrade will require the upgrade of publisher and subscriber to happen together and requires a re-setup of the publisher/subscriber pairs
|
*See " Side-by-side Upgrade of the Distributor without re-initialization " below
Merge Replication |
|
|
|
Upgrading from |
Distributor |
Publisher |
Subscriber |
SQL Server 2014 SQL Server 2016 |
Step 1: In-place upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology*
|
Step 2 : In-place upgrade OR Side-by-side upgrade of publisher requires reconfiguring all the publisher-subscriber pairs
|
Step 3 : In-place upgrade OR Side-by-side upgrade of subscriber requires reinitialization of subscriber
|
SQL Server 2008 R2 SQL Server 2008 |
Step 1: In-place upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology* |
Step 2 : In-place upgrade OR Side-by-side upgrade of publisher requires reconfiguring all the publisher-subscriber pairs. Needs to happen with the upgrade of the subscriber. |
Step 3 : In-place upgrade OR Side-by-side upgrade of subscriber requires reinitialization of subscriber. Needs to happen with the upgrade of the publisher. |
*See " Side-by-side Upgrade of the Distributor without re-initialization " below
Transactional Replication |
|
|
Upgrading from |
Publisher/Distributor |
Subscriber |
SQL Server 2014 SQL Server 2012 |
Step 1: In-place upgrade (Can be upgraded due to n-2 support) OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology* |
Step 2 : In-place upgrade (Can be upgraded due to n-2 support) OR Side-by-side upgrade of subscriber requires reinitialization of subscriber
|
SQL Server 2008 R2 SQL Server 2008 |
Step 1: In-place upgrade (Requires subscriber to be upgraded because publisher and subscriber need to be within two major releases. A SQL Server 2016 publisher cannot have a SQL Server 2008/R2 subscriber.) OR Intermediate in-place upgrade to SQL Server 2012/2014 for the publisher which is acting as the distributor also The subscriber can be upgrade to SQL Server 2016 post the intermediate publisher upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs served by this distributor in the replication topology. Needs to happen with the upgrade of the subscriber. |
Step 2 : In-place upgrade would need to occur for both publisher and subscriber at the same time as publisher and subscriber need to be within two major releases. A SQL Server 2008/R2 publisher/subscriber cannot have a SQL Server 2016 publisher/subscriber. OR Intermediate In-place upgrade to SQL Server 2012/2014 of the publisher The subscriber can then be upgraded to SQL Server 2016 OR Side-by-side upgrade will require the upgrade of subscriber to happen together with the publisher and requires a re-initialization of the subscribers. Needs to happen with the upgrade of the publisher.
|
*See " Side-by-side Upgrade of the Distributor without re-initialization " below
Merge Replication |
|
|
Upgrading from |
Publisher/Distributor |
Subscriber |
SQL Server 2014 SQL Server 2016 |
Step 1: In-place upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs served by this distributor in the replication topology*
|
Step 2 : In-place upgrade OR Side-by-side upgrade of subscriber requires reinitialization of subscriber
|
SQL Server 2008 R2 SQL Server 2008 |
Step 1: In-place upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs served by this distributor in the replication topology. Needs to happen with the upgrade of the subscriber. |
Step 2: In-place upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology. Needs to happen with the upgrade of the publisher. |
*See " Side-by-side Upgrade of the Distributor without re-initialization " below
Transactional Replication |
|
|
Upgrading from |
Distributor/Subscriber |
Publisher |
SQL Server 2014 SQL Server 2012 |
Step 1: In-place upgrade (Can be upgraded due to n-2 support) OR Side-by-side upgrade requires re-setup of publisher/subscriber pairs in the replication topology served by this distributor* |
Step 2 : In-place upgrade (Can be upgraded due to n-2 support) OR Side-by-side upgrade of subscriber requires re-setup of all the publisher/subscriber pairs
|
SQL Server 2008 R2 SQL Server 2008 |
Step 1: In-place upgrade (Requires publisher to be upgraded also because subscriber and publisher need to be within two major releases. A SQL Server 2008/R2 publisher cannot have a SQL Server 2016 subscriber.) OR Intermediate in-place upgrade to SQL Server 2012/2014 for the subscriber which is acting as the distributor also The publisher can then be upgraded to SQL Server 2016 post this intermediate distributor upgrade OR Side-by-side upgrade of distributor/subscriber requires re-setup of all the publisher/subscriber pairs served by this distributor. Needs to happen with the upgrade of the publisher.
|
Step 2 : In-place upgrade would need to occur for both publisher and subscriber at the same time as publisher and subscriber need to be within two major releases. A SQL Server 2008/R2 publisher/subscriber cannot have a SQL Server 2016 publisher/subscriber. OR The publisher can then be upgraded to SQL Server 2016 (Requires intermediate In-place upgrade to SQL Server 2012/2014 of the subscriber) OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology. Needs to happen with the upgrade of the distributor/subscriber.
|
*See " Side-by-side Upgrade of the Distributor without re-initialization " below
Merge Replication |
|
|
Upgrading from |
Distributor/Subscriber |
Publisher |
SQL Server 2014 SQL Server 2016 |
Step 1: In-place upgrade OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology served by this distributor*. This also requires upgrade of the publisher as the publisher version has to be higher than the subscriber.
|
Step 2 : In-place upgrade OR Side-by-side upgrade of subscriber requires reinitialization of all publisher/subscriber pairs. Requires simultaneous upgrade of the subscriber because it is acting as the distributor.
|
SQL Server 2008 R2 SQL Server 2008 |
Step 1: In-place upgrade (Requires simultaneous upgrade of the publisher) OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology. Requires simultaneous upgrade of the publisher. |
Step 2: In-place upgrade (Requires simultaneous upgrade of the subscriber acting as the distributor) OR Side-by-side upgrade requires re-setup of all the publisher/subscriber pairs in the replication topology. Requires simultaneous upgrade of the subscriber because it is acting as the distributor. |
*See " Side-by-side Upgrade of the Distributor without re-initialization " below
If you are running your SQL Server instance to be upgraded on Windows Server 2008 or Windows Server 2008 R2, then you will need to perform a side-by-side upgrade of the distributor first to Windows Server 2012 R2 or Windows Server 2016 before upgrading to SQL Server 2016. The reason for this intermediate OS upgrade is that SQL Server 2016 cannot be installed on a Windows Server 2008/2008 R2 server. The side-by-side approach can also help reduce downtime if you are upgrading the hardware of the Windows Server hosting the distributor instance. Downtime of the publisher and subscriber can be reduced using SQL Server Failover Cluster instances or Always On Availability Groups.
The assumption here is that the edition of the SQL Server instance will not change and a failover cluster instance of SQL Server will be upgraded to a failover cluster instance where as a standalone instance will be upgraded to a standalone instance using the steps mentioned below.
If you want to reduce the downtime, we recommend that you perform the side-by-side migration of the distributor as one activity and the in-place upgrade to SQL Server 2016 as another activity. This will allow you to take a phased approach, reduce risk and minimize downtime.
Upgrading a replication topology is a multi-step process. We recommend attempting an upgrade of a replica of your replication topology in a test environment before running the upgrade on the actual production environment. This will help iron out any operational documentation that is required for handling the upgrade smoothly without incurring expensive and long downtimes during the actual upgrade process. We have seen customers reduce downtime significantly with the use of Always On Availability Groups and/or SQL Server Failover Cluster Instances for their production environments while upgrading their replication topology. Additionally, we recommend taking backups of all the databases including MSDB, Master, Distribution database(s) and the user databases participating in replication before attempting the upgrade.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.