CDM supports table-to-OBS data migration. This section describes how to migrate tables from a MySQL database to OBS. The process is as follows:
The key configurations are as follows:
The flavor of the CDM cluster is selected based on the amount of data to be migrated. Generally, cdm.medium meets the requirements for most migration scenarios.
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.
On the Historical Record page, click Log to view the job logs.