Skip to content

Commit 6bf54cd

Browse files
authored
Merge pull request #192441 from danimir/main
Updates to MI link
2 parents ff4222d + 28e304b commit 6bf54cd

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

articles/azure-sql/managed-instance/managed-instance-link-preparation.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: guide
1111
author: sasapopo
1212
ms.author: sasapopo
1313
ms.reviewer: mathoma, danil
14-
ms.date: 03/10/2022
14+
ms.date: 03/22/2022
1515
---
1616

1717
# Prepare environment for link feature - Azure SQL Managed Instance
@@ -350,6 +350,9 @@ If the connection is unsuccessful, verify the following items:
350350
> [!CAUTION]
351351
> Proceed with the next steps only if there is validated network connectivity between your source and target environments. Otherwise, please troubleshoot network connectivity issues before proceeding any further.
352352
353+
## Migrate a certificate of a TDE-protected database
354+
355+
If you are migrating a database on SQL Server protected by Transparent Data Encryption to a managed instance, the corresponding encryption certificate from the on-premises or Azure VM SQL Server needs to be migrated to managed instance before using the link. For detailed steps, see [Migrate a TDE cert to a managed instance](tde-certificate-migrate.md).
353356

354357
## Install SSMS
355358

articles/azure-sql/managed-instance/managed-instance-link-use-scripts-to-replicate-database.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: guide
1111
author: sasapopo
1212
ms.author: sasapopo
1313
ms.reviewer: mathoma, danil
14-
ms.date: 03/15/2022
14+
ms.date: 03/22/2022
1515
---
1616

1717
# Replicate database with Azure SQL Managed Instance link feature with T-SQL and PowerShell scripts
@@ -41,6 +41,13 @@ To replicate your databases to Azure SQL Managed Instance, you need the followin
4141
- [SQL Server Management Studio (SSMS) v18.11.1 or later](/sql/ssms/download-sql-server-management-studio-ssms).
4242
- A properly [prepared environment](managed-instance-link-preparation.md).
4343

44+
## Replicate database
45+
46+
Use instructions below to manually setup the link between your instance of SQL Server and your instance of SQL Managed Instance. Once the link is created, your source database gets a read-only replica copy on your target Azure SQL Managed Instance.
47+
48+
> [!NOTE]
49+
> The link supports replication of user databases only. Replication of system databases is not supported. To replicate instance-level objects (stored in master or msdb databases), we recommend to script them out and run T-SQL scripts on the destination instance.
50+
4451
## Terminology and naming conventions
4552

4653
In executing scripts from this user guide, it's important not to mistaken, for example, SQL Server, or Managed Instance name, with their fully qualified domain names.

articles/azure-sql/managed-instance/managed-instance-link-use-ssms-to-replicate-database.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: guide
1111
author: sasapopo
1212
ms.author: sasapopo
1313
ms.reviewer: mathoma, danil
14-
ms.date: 03/10/2022
14+
ms.date: 03/22/2022
1515
---
1616
# Replicate database with link feature in SSMS - Azure SQL Managed Instance
1717

@@ -34,11 +34,13 @@ To replicate your databases to Azure SQL Managed Instance, you need the followin
3434
- [SQL Server Management Studio (SSMS) v18.11.1 or later](/sql/ssms/download-sql-server-management-studio-ssms).
3535
- A properly [prepared environment](managed-instance-link-preparation.md).
3636

37-
3837
## Replicate database
3938

4039
Use the **New Managed Instance link** wizard in SQL Server Management Studio (SSMS) to setup the link between your instance of SQL Server and your instance of SQL Managed Instance. The wizard takes you through the process of creating the Managed Instance link. Once the link is created, your source database gets a read-only replica copy on your target Azure SQL Managed Instance.
4140

41+
> [!NOTE]
42+
> The link supports replication of user databases only. Replication of system databases is not supported. To replicate instance-level objects (stored in master or msdb databases), we recommend to script them out and run T-SQL scripts on the destination instance.
43+
4244
To set up the Managed Instance link, follow these steps:
4345

4446
1. Open SQL Server Management Studio (SSMS) and connect to your instance of SQL Server.

articles/azure-sql/migration-guides/managed-instance/sql-server-to-managed-instance-guide.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ms.devlang:
88
ms.topic: how-to
99
author: mokabiru
1010
ms.author: mokabiru
11-
ms.reviewer: mathoma
12-
ms.date: 06/25/2021
11+
ms.reviewer: mathoma, danil
12+
ms.date: 03/22/2022
1313
---
1414
# Migration guide: SQL Server to Azure SQL Managed Instance
1515
[!INCLUDE[appliesto-sqldb-sqlmi](../../includes/appliesto-sqlmi.md)]
@@ -233,6 +233,15 @@ To learn more about this migration option, see [Restore a database to Azure SQL
233233
> [!NOTE]
234234
> A database restore operation is asynchronous and retryable. You might get an error in SQL Server Management Studio if the connection breaks or a time-out expires. Azure SQL Database will keep trying to restore database in the background, and you can track the progress of the restore using the [sys.dm_exec_requests](/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-requests-transact-sql) and [sys.dm_operation_status](/sql/relational-databases/system-dynamic-management-views/sys-dm-operation-status-azure-sql-database) views.
235235
236+
## Migation tools
237+
238+
While using [Azure Database Migration Service](../../../dms/tutorial-sql-server-to-managed-instance.md), or [native backup and restore](../../managed-instance/restore-sample-database-quickstart.md) to migrate a database to Managed Instance, consider as well the following migration tools:
239+
240+
|Migration option |When to use |Considerations |
241+
|---------|---------|---------|
242+
|[Azure SQL Migration extension for Azure Data Studio](../../../dms/migration-using-azure-data-studio.md) | - Migrate single databases or multiple databases at scale. </br> - Can run in both online (minimal downtime) and offline (acceptable downtime) modes. </br> </br> Supported sources: </br> - SQL Server (2005 to 2019) on-premises or Azure VM </br> - AWS EC2 </br> - AWS RDS </br> - GCP Compute SQL Server VM | - Easy to setup and get started. </br> - Requires setup of self-hosted integration runtime to access on-premises SQL Server and backups. </br> - Includes both assessment and migration capabilities. |
243+
|[Log Replay Service](../../managed-instance/log-replay-service-migrate.md) | - Migrate individual line-of-business application databases. </br> - More control is needed for database migrations. </br> </br> Supported sources: </br> - SQL Server (2008 to 2019) on-premises or Azure VM </br> - AWS EC2 </br> - AWS RDS </br> - GCP Compute SQL Server VM | - The migration entails making full database backups on SQL Server and copying backup files to Azure Blob Storage. Log Replay Service is used to restore backup files from Azure Blob Storage to SQL Managed Instance. </br> - Databases being restored during the migration process will be in a restoring mode and can't be used to read or write until the process has finished.|
244+
|[Link feature for Managed Instance](../../managed-instance/link-feature.md) | - Migrate individual line-of-business application databases. </br> - More control is needed for database migrations. </br> - Minimum downtime migration is needed. </br> </br> Supported sources: </br> - SQL Server (2016 to 2019) on-premises or Azure VM </br> - AWS EC2 </br> - GCP Compute SQL Server VM | - The migration entails establishing a VPN connectivity between SQL Server and Managed Instance, and opening inbound communication ports. </br> - Always On technology is used to replicate database near real-time, making an exact replica of SQL Server database on Managed Instance. </br> - Database can be used for R/O access on Managed Instance while migration is in progress. </br> - Provides the best performance minimum downtime migration. |
236245

237246
## Data sync and cutover
238247

0 commit comments

Comments
 (0)