Configuring a data source is a prerequisite for creating a data migration task. This topic describes how to create a StarRocks data source in OceanBase Migration Service (OMS) Community Edition.
Procedure
Log in to the OMS Community Edition console.
In the left-side navigation pane, click Data Source Management.
On the Data Source Management page, click New Data Source in the upper-right corner.
In the New Data Source dialog box, set Data Source Type to StarRocks.
Configure the parameters.
Parameter Description Data Source Identifier We recommend that you use Chinese, English, and numbers to name the data source. It must not contain any spaces and cannot exceed 32 characters in length. Notice
The data source name is globally unique in OMS Community Edition.
Region Select the region where the data source resides from the drop-down list. The region is the value that you set for the cm_regionparameter when you deployed OMS Community Edition.Notice
- This parameter is displayed only when multiple regions are available.
- Make sure that the mappings between the data source and the region are consistent. Otherwise, the migration and synchronization performance can be poor.
Host IP The IP address of the database host. Port The port number of the database host. Database User Name The name of the user for data migration or synchronization. Password The password of the database user. DB Name (Optional) The name of the StarRocks database.
Note
If you specify the DB Name, when the data source serves as the source, the data migration or synchronization task can select only the migration or synchronization object under the specified DB Name.Remarks (Optional) Remarks about the data source. Click Test Connection to verify the network connection between OMS Community Edition and the database, as well as the validity of the username and password.
After the test succeeds, click OK.