Skip to content

Commit 29f3db9

Browse files
authored
Merge pull request #76641 from HJToland3/localworking
Fixes
2 parents 33b9335 + 63ced61 commit 29f3db9

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

articles/dms/known-issues-troubleshooting-dms.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
title: Article about known troubleshooting common issues/errors associated with using Azure Database Migration Service | Microsoft Docs
33
description: Learn about how to troubleshoot common known issues/errors associated with using Azure Database Migration Service.
44
services: database-migration
@@ -10,7 +10,7 @@ ms.service: dms
1010
ms.workload: data-services
1111
ms.custom: mvc
1212
ms.topic: article
13-
ms.date: 05/09/2019
13+
ms.date: 05/14/2019
1414
---
1515

1616
# Troubleshoot common Azure Database Migration Service issues and errors
@@ -19,7 +19,7 @@ This article describes some common issues and errors that Azure Database Migrati
1919

2020
## Migration activity in queued state
2121

22-
When you create new activities on Azure Database Migration Service project, the activities remain in queued state.
22+
When you create new activities in an Azure Database Migration Service project, the activities remain in a queued state.
2323

2424
| Cause | Resolution |
2525
| ------------- | ------------- |
@@ -39,13 +39,13 @@ The following error occurs when creating an activity for a database migration pr
3939

4040
When you migrate from MySQL to Azure Database for MySQL using Azure Database Migration Service, the migration activity fails with the following error:
4141

42-
* **Error**: Error: Database migration error - Task 'TaskID' was suspended due to [n] successive recovery failures.
42+
* **Error**: Database migration error - Task 'TaskID' was suspended due to [n] successive recovery failures.
4343

4444
| Cause | Resolution |
4545
| ------------- | ------------- |
46-
| This error may occur when the user performing the migration is missing ReplicationAdmin role and/or privileges of REPLICATION CLIENT, REPLICATION REPLICA, and SUPER (versions earlier than MySQL 5.6.6).<br> <br><br><br> <br> <br> <br> <br> <br> <br> | Make sure the [pre-requisite privileges](https://docs.microsoft.com/azure/dms/tutorial-mysql-azure-mysql-online#prerequisites) for the user account are configured accurately on Azure MySQL instance. For example, the following steps can be followed to create a user named 'migrateuser' with required privileges:<br>1. CREATE USER migrateuser@'%' IDENTIFIED BY 'secret'; <br>2. grant all privileges on db_name.* to 'migrateuser'@'%' identified by 'secret'; // repeat this step to grant access on more databases <br>3. grant replication slave on *.* to 'migrateuser'@'%' identified by 'secret';<br>4. grant replication client on *.* to 'migrateuser'@'%' identified by 'secret';<br>5. flush privileges; |
46+
| This error may occur when the user performing the migration is missing ReplicationAdmin role and/or privileges of REPLICATION CLIENT, REPLICATION REPLICA, and SUPER (versions earlier than MySQL 5.6.6).<br> <br><br><br> <br> <br> <br> <br> <br> <br> | Make sure the [pre-requisite privileges](https://docs.microsoft.com/azure/dms/tutorial-mysql-azure-mysql-online#prerequisites) for the user account are configured accurately on the Azure Database for MySQL instance. For example, the following steps can be followed to create a user named 'migrateuser' with required privileges:<br>1. CREATE USER migrateuser@'%' IDENTIFIED BY 'secret'; <br>2. Grant all privileges on db_name.* to 'migrateuser'@'%' identified by 'secret'; // repeat this step to grant access on more databases <br>3. Grant replication slave on *.* to 'migrateuser'@'%' identified by 'secret';<br>4. Grant replication client on *.* to 'migrateuser'@'%' identified by 'secret';<br>5. Flush privileges; |
4747

48-
## Error when attempting to stop the Azure Database Migration Service instance
48+
## Error when attempting to stop Azure Database Migration Service
4949

5050
You receive following error when stopping the Azure Database Migration Service instance:
5151

@@ -55,7 +55,7 @@ You receive following error when stopping the Azure Database Migration Service i
5555
| ------------- | ------------- |
5656
| This error displays when the service instance you're attempting to stop includes activities that are still running or present in migration projects. <br><br><br><br><br><br> | Ensure that there are no activities running in the instance of Azure Database Migration Service you're trying to stop. You may also delete the activities or projects before attempting to stop the service. The following steps illustrate how to remove projects to clean up the migration service instance by deleting all running tasks:<br>1. Install-Module -Name AzureRM.DataMigration <br>2. Login-AzureRmAccount <br>3. Select-AzureRmSubscription -SubscriptionName "<subName>" <br> 4. Remove-AzureRmDataMigrationProject -Name <projectName> -ResourceGroupName <rgName> -ServiceName <serviceName> -DeleteRunningTask |
5757

58-
## Error restoring database while migrating from SQL Server to an Azure SQL Database managed instance
58+
## Error restoring database while migrating SQL to Azure SQL DB managed instance
5959

6060
When you perform an online migration from SQL Server to an Azure SQL Database managed instance, the cutover fails with following error:
6161

@@ -83,25 +83,25 @@ When you try to connect to source in the Azure Database Migration service projec
8383
| ------------- | ------------- |
8484
| When using [ExpressRoute](https://azure.microsoft.com/services/expressroute/), Azure Database Migration Service [requires](https://docs.microsoft.com/azure/dms/tutorial-sql-server-azure-sql-online) provisioning three service endpoints on the Virtual Network subnet associated with the service:<br> -- Service Bus endpoint<br> -- Storage endpoint<br> -- Target database endpoint (e.g. SQL endpoint, Cosmos DB endpoint)<br><br><br><br> | [Enable](https://docs.microsoft.com/azure/dms/tutorial-sql-server-azure-sql-online) the required service endpoints for ExpressRoute connectivity between source and Azure Database Migration Service. <br><br><br><br><br><br><br><br> |
8585

86-
## Timeout error when migrating a MySQL database to Azure Database for MySQL
86+
## Timeout error when migrating a MySQL database to Azure MySQL
8787

8888
When you migrate a MySQL database to an Azure Database for MySQL instance via Azure Database Migration Service, the migration fails with following timeout error:
8989

90-
* **Error**: Error: Database migration error - Failed to load file - Failed to start load process for file 'n' RetCode: SQL_ERROR SqlState: HY000 NativeError: 1205 Message: [MySQL][ODBC Driver][mysqld] Lock wait timeout exceeded; try restarting transaction
90+
* **Error**: Database migration error - Failed to load file - Failed to start load process for file 'n' RetCode: SQL_ERROR SqlState: HY000 NativeError: 1205 Message: [MySQL][ODBC Driver][mysqld] Lock wait timeout exceeded; try restarting transaction
9191

9292
| Cause | Resolution |
9393
| ------------- | ------------- |
9494
| This error occurs when migration fails because of the lock wait timeout during migration.<br><br> | Consider increasing the value of server parameter **'innodb_lock_wait_timeout'**. The highest allowed value is 1073741824. |
9595

9696
## Additional known issues
9797

98-
* [Known issues/migration limitations with online migrations to Azure SQL DB](https://docs.microsoft.com/azure/dms/known-issues-azure-sql-online)
99-
* [Known issues/migration limitations with online migrations to Azure DB for MySQL](https://docs.microsoft.com/azure/dms/known-issues-azure-mysql-online)
100-
* [Known issues/migration limitations with online migrations to Azure DB for PostgreSQL](https://docs.microsoft.com/azure/dms/known-issues-azure-postgresql-online)
98+
* [Known issues/migration limitations with online migrations to Azure SQL Database](https://docs.microsoft.com/azure/dms/known-issues-azure-sql-online)
99+
* [Known issues/migration limitations with online migrations to Azure Database for MySQL](https://docs.microsoft.com/azure/dms/known-issues-azure-mysql-online)
100+
* [Known issues/migration limitations with online migrations to Azure Database for PostgreSQL](https://docs.microsoft.com/azure/dms/known-issues-azure-postgresql-online)
101101

102-
## Additional resources
102+
## Next steps
103103

104-
* [Azure Database Migration Service PowerShell](https://docs.microsoft.com/powershell/module/azurerm.datamigration/?view=azurermps-6.13.0#data_migration)
105-
* [How to configure server parameters in Azure Database for MySQL by using the Azure portal](https://docs.microsoft.com/azure/mysql/howto-server-parameters)
106-
* [Overview of prerequisites for using Azure Database Migration Service](https://docs.microsoft.com/azure/dms/pre-reqs)
107-
* [FAQ about using Azure Database Migration Service](https://docs.microsoft.com/azure/dms/faq)
104+
* View the article [Azure Database Migration Service PowerShell](https://docs.microsoft.com/powershell/module/azurerm.datamigration/?view=azurermps-6.13.0#data_migration).
105+
* View the article [How to configure server parameters in Azure Database for MySQL by using the Azure portal](https://docs.microsoft.com/azure/mysql/howto-server-parameters).
106+
* View the article [Overview of prerequisites for using Azure Database Migration Service](https://docs.microsoft.com/azure/dms/pre-reqs).
107+
* See the [FAQ about using Azure Database Migration Service](https://docs.microsoft.com/azure/dms/faq).

articles/dms/tutorial-sql-server-to-azure-sql.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: dms
1010
ms.workload: data-services
1111
ms.custom: mvc, tutorial
1212
ms.topic: article
13-
ms.date: 05/08/2019
13+
ms.date: 05/14/2019
1414
---
1515

1616
# Tutorial: Migrate SQL Server to a single database or pooled database in Azure SQL Database offline using DMS
@@ -19,6 +19,7 @@ You can use the Azure Database Migration Service to migrate the databases from a
1919

2020
In this tutorial, you learn how to:
2121
> [!div class="checklist"]
22+
>
2223
> - Assess your on-premises database by using the Data Migration Assistant.
2324
> - Migrate the sample schema by using the Data Migration Assistant.
2425
> - Create an instance of the Azure Database Migration Service.
@@ -58,7 +59,7 @@ To complete this tutorial, you need to:
5859
- Open your Windows firewall to allow the Azure Database Migration Service to access the source SQL Server, which by default is TCP port 1433.
5960
- If you're running multiple named SQL Server instances using dynamic ports, you may wish to enable the SQL Browser Service and allow access to UDP port 1434 through your firewalls so that the Azure Database Migration Service can connect to a named instance on your source server.
6061
- When using a firewall appliance in front of your source database(s), you may need to add firewall rules to allow the Azure Database Migration Service to access the source database(s) for migration.
61-
- Create a server-level IP [firewall rule](https://docs.microsoft.com/azure/sql-database/sql-database-firewall-configure) for the Azure SQL Database server to allow the Azure Database Migration Service access to the target databases. Provide the subnet range of the VNET used for the Azure Database Migration Service.
62+
- Create a server-level IP [firewall rule](https://docs.microsoft.com/azure/sql-database/sql-database-firewall-configure) for the Azure SQL Database server to allow the Azure Database Migration Service access to the target databases. Provide the subnet range of the VNet used for the Azure Database Migration Service.
6263
- Ensure that the credentials used to connect to source SQL Server instance have [CONTROL SERVER](https://docs.microsoft.com/sql/t-sql/statements/grant-server-permissions-transact-sql) permissions.
6364
- Ensure that the credentials used to connect to target Azure SQL Database instance have CONTROL DATABASE permission on the target Azure SQL databases.
6465

@@ -74,7 +75,7 @@ Before you can migrate data from an on-premises SQL Server instance to a single
7475
- Check database compatibility
7576
- Check feature parity
7677

77-
Both report types are selected by default.
78+
Both report types are selected by default.
7879

7980
3. In the Data Migration Assistant, on the **Options** screen, select **Next**.
8081
4. On the **Select sources** screen, in the **Connect to a server** dialog box, provide the connection details to your SQL Server, and then select **Connect**.

0 commit comments

Comments
 (0)