Skip to content

Commit 53da8bc

Browse files
committed
commits
1 parent aafb5ec commit 53da8bc

3 files changed

Lines changed: 36 additions & 26 deletions

File tree

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

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,11 @@ Proceed to the following steps to assess and migrate databases to Azure SQL Mana
7070

7171
[!INCLUDE [assess-estate-with-azure-migrate](../../../../includes/azure-migrate-to-assess-sql-data-estate.md)]
7272

73-
Determine whether SQL Managed Instance is compatible with the database requirements of
74-
your application. SQL Managed Instance is designed to provide easy lift and shift migration for
75-
the majority of existing applications that use SQL Server. However, you may sometimes require
76-
features or capabilities that are not yet supported and the cost of implementing a workaround is
77-
too high.
73+
Determine whether SQL Managed Instance is compatible with the database requirements of your application. SQL Managed Instance is designed to provide easy lift and shift migration for the majority of existing applications that use SQL Server. However, you may sometimes require features or capabilities that are not yet supported and the cost of implementing a workaround is too high.
7874

79-
You can use the Data Migration Assistant (version 4.1 and later) to assess databases to get:
75+
The [Azure SQL Migration extension for Azure Data Studio](../../../dms/migration-using-azure-data-studio.md) provides a seamless wizard based experience to assess, get Azure recommendations and migrate your SQL Server databases on-premises to SQL Server on Azure Virtual Machines. Besides, highlighting any migration blockers or warnings, the extension also includes an option for Azure recommendations to collect your databases' performance data to recommend a right-sized SQL Server on Azure Virtual Machines to meet the performance needs of your workload (with the least price).
76+
77+
You can also use the Data Migration Assistant (version 4.1 and later) to assess databases to get:
8078

8179
- [Azure target recommendations](/sql/dma/dma-assess-sql-data-estate-to-sqldb)
8280
- [Azure SKU recommendations](/sql/dma/dma-sku-recommend-sql-db)
@@ -101,7 +99,14 @@ If SQL Managed Instance is not a suitable target for your workload, SQL Server o
10199

102100
#### Scaled Assessments and Analysis
103101

104-
Data Migration Assistant supports performing scaled assessments and consolidation of the assessment reports for analysis. If you have multiple servers and databases that need to be assessed and analyzed at scale to provide a wider view of the data estate, click on the following links to learn more.
102+
If you have multiple servers or databases that require Azure readiness assessment, you can automate the process by using scripts using one of the following options. To learn more about using scripting see [Migrate databases at scale using automation](../../../dms/migration-dms-powershell-cli.md).
103+
104+
- [Az.DataMigration PowerShell module](/powershell/module/az.datamigration)
105+
- [az datamigration CLI extension](/cli/azure/datamigration)
106+
- [Data Migration Assistant command-line interface](/sql/dma/dma-commandline)
107+
108+
109+
Data Migration Assistant also supports consolidation of the assessment reports for analysis. If you have multiple servers and databases that need to be assessed and analyzed at scale to provide a wider view of the data estate, click on the following links to learn more.
105110

106111
- [Performing scaled assessments using PowerShell](/sql/dma/dma-consolidatereports)
107112
- [Analyzing assessment reports using Power BI](/sql/dma/dma-consolidatereports#dma-reports)
@@ -111,6 +116,8 @@ Data Migration Assistant supports performing scaled assessments and consolidatio
111116
112117
### Deploy to an optimally sized managed instance
113118

119+
You can use the [Azure SQL Migration extension for Azure Data Studio](/sql/azure-data-studio/extensions/azure-sql-migration-extension) to get right-sized Azure SQL Managed Instance recommendation. The extension collects performance data from your source SQL Server instance to provide right-sized Azure recommendation that meets your workload's performance needs with minimal cost. To learn more, see [Get right-sized Azure recommendation for your on-premises SQL Server database(s)](../../../dms/ads-sku-recommend.md)
120+
114121
Based on the information in the discover and assess phase, create an appropriately-sized target SQL Managed Instance. You can do so by using the [Azure portal](../../managed-instance/instance-create-quickstart.md), [PowerShell](../../managed-instance/scripts/create-configure-managed-instance-powershell.md), or an [Azure Resource Manager (ARM) Template](../../managed-instance/create-template-quickstart.md).
115122

116123
SQL Managed Instance is tailored for on-premises workloads that are planning to move to the cloud. It introduces a [purchasing model](../../database/service-tiers-vcore.md) that provides greater flexibility in selecting the right level of resources for your workloads. In the on-premises world, you are probably accustomed to sizing these workloads by using physical cores and IO bandwidth. The purchasing model for managed instance is based upon virtual cores, or "vCores," with additional storage and IO available separately. The vCore model is a simpler way to understand your compute requirements in the cloud versus what you use on-premises today. This purchasing model enables you to right-size your destination environment in the cloud. Some general guidelines that might help you to choose the right service tier and characteristics are described here:
@@ -154,29 +161,32 @@ need to be migrated, such as maintenance jobs for regular backups or Always On c
154161

155162
This article covers two of the recommended migration options:
156163

157-
- Azure Database Migration Service - migration with near-zero downtime.
164+
- Azure SQL Migration extension for Azure Data Studio - migration with near-zero downtime.
158165
- Native `RESTORE DATABASE FROM URL` - uses native backups from SQL Server and requires some
159166
downtime.
160167

161168
This guide describes the two most popular options - Azure Database Migration Service (DMS) and native backup and restore.
162169

163170
For other migration tools, see [Compare migration options](sql-server-to-managed-instance-overview.md#compare-migration-options).
164171

165-
### Database Migration Service
166-
167-
To perform migrations using DMS, follow the steps below:
168-
169-
1. [Register the **Microsoft.DataMigration** resource provider](../../../dms/quickstart-create-data-migration-service-portal.md#register-the-resource-provider) in your subscription if you are performing this for the first time.
170-
1. Create an Azure Database Migration Service Instance in a desired location of your choice (preferably in the same region as your target Azure SQL Managed Instance) and select an existing virtual network or create a new one to host your DMS instance.
171-
1. After creating your DMS instance, create a new migration project and specify the source server type as **SQL Server** and the target server type as **Azure SQL Database Managed Instance**. Choose the type of activity in the project creation blade - online or offline data migration.
172-
1. Specify the source SQL Server details on the **Migration source** details page and the target Azure SQL Managed Instance details on the **Migration target** details page. Select **Next**.
173-
1. Choose the database you want to migrate.
174-
1. Provide configuration settings to specify the **SMB Network Share** that contains your database backup files. Use Windows User credentials with DMS that can access the network share. Provide your **Azure Storage account details**.
175-
1. Review the migration summary, and choose **Run migration**. You can then monitor the migration activity and check the progress of your database migration.
176-
1. After database is restored, choose **Start cutover**. The migration process copies the tail-log backup once you make it available in the SMB network share and restore it on the target.
177-
1. Stop all incoming traffic to your source database and update the connection string to the new Azure SQL Managed Instance database.
178-
179-
For a detailed step-by-step tutorial of this migration option, see [Migrate SQL Server to an Azure SQL Managed Instance online using DMS](../../../dms/tutorial-sql-server-managed-instance-online.md).
172+
### Migrate using the Azure SQL Migration extension for Azure Data Studio (minimal downtime)
173+
174+
To perform a minimal downtime migration using Azure Data Studio, follow the high level steps below. For a detailed step-by-step tutorial, see [Migrate SQL Server to an Azure SQL Managed Instance online using Azure Data Studio](../../../dms/tutorial-sql-server-managed-instance-online-ads.md):
175+
176+
1. Download and install [Azure Data Studio](/sql/azure-data-studio/download-azure-data-studio) and the [Azure SQL Migration extension](/sql/azure-data-studio/extensions/azure-sql-migration-extension).
177+
1. Launch the Migrate to Azure SQL wizard in the extension in Azure Data Studio.
178+
1. Select databases for assessment and view migration readiness or issues (if any). Additionally, collect performance data and get right-sized Azure recommendation.
179+
1. Select your Azure account and your target Azure SQL Managed Instance from your subscription.
180+
1. Select the location of your database backups. Your database backups can either be located on an on-premises network share or in an Azure storage blob container.
181+
1. Create a new Azure Database Migration Service using the wizard in Azure Data Studio. If you have previously created Azure Database Migration Service using Azure Data Studio you can can reuse the same if desired.
182+
1. *Optional*: If your backups are on an on-premises network share, download and install [self-hosted integration runtime](https://www.microsoft.com/en-us/download/details.aspx?id=39717) on a machine that can connect to source SQL Server and the location containing the backup files.
183+
1. Start the database migration and monitor the progress in Azure Data Studio. You can also monitor the progress under the Azure Database Migration Service resource in Azure Portal.
184+
1. Complete the cutover.
185+
1. Stop all incoming transactions to the source database.
186+
1. Make application configuration changes to point to the target database in Azure SQL Managed Instance.
187+
1. Take any tail log backups for the source database in the backup location specified.
188+
1. Ensure all database backups have the status Restored in the monitoring details page.
189+
1. Select Complete cutover in the monitoring details page.
180190

181191

182192
### Backup and restore

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ One of the key benefits of migrating your SQL Server databases to SQL Managed In
4949

5050
## Choose an appropriate target
5151

52-
You can use the [Azure SQL Migration extension for Azure Data Studio] to get right-sized Azure SQL Managed Instance recommendation. The extension collects performance data from your source SQL Server instance to provide right-sized recommendation that meets your workload's performance needs with minimal cost. To learn more, see [Get right-sized Azure recommendation for your on-premises SQL Server database(s)](../../../dms/ads-sku-recommend.md)
52+
You can use the [Azure SQL Migration extension for Azure Data Studio](/sql/azure-data-studio/extensions/azure-sql-migration-extension) to get right-sized Azure SQL Managed Instance recommendation. The extension collects performance data from your source SQL Server instance to provide right-sized Azure recommendation that meets your workload's performance needs with minimal cost. To learn more, see [Get right-sized Azure recommendation for your on-premises SQL Server database(s)](../../../dms/ads-sku-recommend.md)
5353

5454
The following general guidelines can help you choose the right service tier and characteristics of SQL Managed Instance to help match your [performance baseline](sql-server-to-managed-instance-performance-baseline.md):
5555

azure-sql/migration-guides/virtual-machines/sql-server-to-sql-on-azure-vm-individual-databases-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ During the assessment of user databases, use Data Migration Assistant to [import
8383

8484
#### Assessments at scale
8585

86-
If you have multiple servers that require a Data Migration Assistant assessment, you can automate the process by using scripts using one of the following options. To learn more about using scripting see [Migrate databases at scale using automation](../../../dms/migration-dms-powershell-cli.md).
86+
If you have multiple servers that require Azure readiness assessment, you can automate the process by using scripts using one of the following options. To learn more about using scripting see [Migrate databases at scale using automation](../../../dms/migration-dms-powershell-cli.md).
8787
- [Az.DataMigration PowerShell module](/powershell/module/az.datamigration)
8888
- [az datamigration CLI extension](/cli/azure/datamigration)
89-
- [DMA command-line interface](/sql/dma/dma-commandline)
89+
- [Data Migration Assistant command-line interface](/sql/dma/dma-commandline)
9090

9191
For summary reporting across large estates, Data Migration Assistant assessments can also be [consolidated into Azure Migrate](/sql/dma/dma-assess-sql-data-estate-to-sqldb).
9292

0 commit comments

Comments
 (0)