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: articles/dms/known-issues-troubleshooting-dms.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
---
1
+
---
2
2
title: Article about known troubleshooting common issues/errors associated with using Azure Database Migration Service | Microsoft Docs
3
3
description: Learn about how to troubleshoot common known issues/errors associated with using Azure Database Migration Service.
4
4
services: database-migration
@@ -10,7 +10,7 @@ ms.service: dms
10
10
ms.workload: data-services
11
11
ms.custom: mvc
12
12
ms.topic: article
13
-
ms.date: 05/09/2019
13
+
ms.date: 05/14/2019
14
14
---
15
15
16
16
# 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
19
19
20
20
## Migration activity in queued state
21
21
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.
23
23
24
24
| Cause | Resolution |
25
25
| ------------- | ------------- |
@@ -39,13 +39,13 @@ The following error occurs when creating an activity for a database migration pr
39
39
40
40
When you migrate from MySQL to Azure Database for MySQL using Azure Database Migration Service, the migration activity fails with the following error:
41
41
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.
43
43
44
44
| Cause | Resolution |
45
45
| ------------- | ------------- |
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; |
47
47
48
-
## Error when attempting to stop the Azure Database Migration Service instance
48
+
## Error when attempting to stop Azure Database Migration Service
49
49
50
50
You receive following error when stopping the Azure Database Migration Service instance:
51
51
@@ -55,7 +55,7 @@ You receive following error when stopping the Azure Database Migration Service i
55
55
| ------------- | ------------- |
56
56
| 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 |
57
57
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
59
59
60
60
When you perform an online migration from SQL Server to an Azure SQL Database managed instance, the cutover fails with following error:
61
61
@@ -83,25 +83,25 @@ When you try to connect to source in the Azure Database Migration service projec
83
83
| ------------- | ------------- |
84
84
| 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> |
85
85
86
-
## Timeout error when migrating a MySQL database to Azure Database for MySQL
86
+
## Timeout error when migrating a MySQL database to Azure MySQL
87
87
88
88
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:
89
89
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
91
91
92
92
| Cause | Resolution |
93
93
| ------------- | ------------- |
94
94
| 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. |
95
95
96
96
## Additional known issues
97
97
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)
101
101
102
-
## Additional resources
102
+
## Next steps
103
103
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).
Copy file name to clipboardExpand all lines: articles/dms/tutorial-sql-server-to-azure-sql.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.service: dms
10
10
ms.workload: data-services
11
11
ms.custom: mvc, tutorial
12
12
ms.topic: article
13
-
ms.date: 05/08/2019
13
+
ms.date: 05/14/2019
14
14
---
15
15
16
16
# 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
19
19
20
20
In this tutorial, you learn how to:
21
21
> [!div class="checklist"]
22
+
>
22
23
> - Assess your on-premises database by using the Data Migration Assistant.
23
24
> - Migrate the sample schema by using the Data Migration Assistant.
24
25
> - Create an instance of the Azure Database Migration Service.
@@ -58,7 +59,7 @@ To complete this tutorial, you need to:
58
59
- Open your Windows firewall to allow the Azure Database Migration Service to access the source SQL Server, which by default is TCP port 1433.
59
60
- 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.
60
61
- 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.
62
63
- 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.
63
64
- Ensure that the credentials used to connect to target Azure SQL Database instance have CONTROL DATABASE permission on the target Azure SQL databases.
64
65
@@ -74,7 +75,7 @@ Before you can migrate data from an on-premises SQL Server instance to a single
74
75
- Check database compatibility
75
76
- Check feature parity
76
77
77
-
Both report types are selected by default.
78
+
Both report types are selected by default.
78
79
79
80
3. In the Data Migration Assistant, on the **Options** screen, select **Next**.
80
81
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