This section describes how to migrate the entire on-premises MySQL database to RDS using the CDM's entire DB migration function.
Currently, CDM can migrate the entire on-premises MySQL database to RDS for MySQL, RDS for PostgreSQL, or RDS for SQL Server. The following describes how to migrate the entire database to RDS. The procedure is as follows:
If SSL encryption is configured for the access channel of a local data source, CDM cannot connect to the data source using the EIP.
Click Show Advanced Attributes and set optional parameters. For details, see Link to a Common Relational Database. Retain the default values of the optional parameters and configure the mandatory parameters according to Table 1.
Parameter |
Description |
Example Value |
---|---|---|
Name |
Unique link name |
mysqllink |
Database Server |
IP address or domain name of the MySQL database server |
192.168.1.110 |
Port |
MySQL database port |
3306 |
Database Name |
Name of the MySQL database |
sqoop |
Username |
User who has the read, write, and delete permissions on the MySQL database |
admin |
Password |
Password of the user |
- |
Use Agent |
Whether to extract data from the data source through an agent |
Yes |
Agent |
Click Select to select the agent created in Connecting to an Agent. |
- |
If an error occurs during the saving, the security settings of the MySQL database are incorrect. In this case, you need to enable the EIP of the CDM cluster to access the MySQL database.
When the job starts running, a sub-job will be generated for each table. You can click the job name to view the sub-job list.
There are no logs for the entire DB migration job. However, the sub-jobs have logs. On the Historical Record page of the sub-jobs, click Log to view the job logs.