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/distributed-availability-groups.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,19 +122,20 @@ Post-migration, where the second availability group is now the new primary avail
122
122
123
123
#### Migrate to higher SQL Server versions
124
124
125
-
During a migration scenario, it's possible to configure a distributed AG to migrate your databases to a SQL Server target that is a higher version than the source. However, such a scenario does not support autoseeding.
125
+
During a migration scenario, it's possible to configure a distributed AG to migrate your databases to a SQL Server target that is a higher version than the source. However, such a scenario does not support autoseeding so the databases must be restored manually, and has a few additional limitations.
126
126
127
-
When you configure the distributed AG, the seeding mode must be `MANUAL`, the failover mode must be `MANUAL`, and you must manually perform a full backup of the source database to then manually restore it, along with the transaction logs, to the secondary AG. To learn more, review the [manual seeding](configure-distributed-availability-groups.md?tabs=manual#create-distributed-availability-group-on-first-cluster) steps to configure your distributed AG.
127
+
When you configure the distributed AG with a SQL Server migration target that is a higher version than the source, the seeding and failover modes must be set to `MANUAL`. Additionally, you must manually perform a full and transaction log back up of the source database from the primary AG and then manually restore it, along with the transaction log, to the secondary AG. To learn more, review the [manual seeding](configure-distributed-availability-groups.md?tabs=manual#create-distributed-availability-group-on-first-cluster) steps to configure your distributed AG.
128
128
129
129
Assuming the secondary AG (AG2) is the migration target and is a higher version than the primary AG (AG1), consider the following limitations:
130
130
131
131
- You will not have read access to any of the replica databases on the secondary AG as long as the primary AG is at a lower version.
132
-
- During this time, updates will continue to flow from the Primary AG (AG1) to the Secondary AG (AG2), but the status of the secondary AG will show as Partially Healthy, and databases on secondary replicas of the Secondary AG (AG2) will show as Synchronizing/In Recovery (even if the AG is in sync Commit).
132
+
- During this time, updates will continue to flow from the Primary AG (AG1) to the Secondary AG (AG2), but the status of the secondary AG will show as Partially Healthy, and databases on secondary replicas of the Secondary AG (AG2) will show as Synchronizing/In Recovery (even if the AG is in sync commit).
133
133
- Once the distributed AG is failed over to the higher version (AG2), AG2 should become Healthy.
134
134
- During this time, fail-back to AG1 will not be possible, as it is at a lower version.
135
-
- Because AG1 is at a lower version, updates will not be replicated over to it.
136
-
- From here, if the choice is to decommission the original AG, that can be done, and the process is complete.
137
-
- If the choice is to maintain the distributed AG, then at this time, the first AG (AG1) should be upgraded. At that point, AG1 should become healthy, and catch up, and fail-back becomes possible.
135
+
- Because AG1 is at a lower version, updates from AG2 after failover to AG2 will not be replicated over to AG1.
136
+
- From here, choose if you want to decommission the original (primary) AG, or if you want to upgrade AG1 and maintain the distributed AG.
137
+
- If you choose to decomission AG1, then remove the original primary AG from the distributed AG, and the process is complete.
138
+
- If you choose to maintain the distribed AG, then upgrade the SQL Server version for AG1 to match AG2. Once AG1 is upgraded, AG1 becomes healthy, the distributed AG becomes healthy, the replicas catch up to synchronize, and fail-back becomes possible.
0 commit comments