OceanBase Migration Service (OMS) allows you to modify parameters of a data source. This topic describes how to edit a data source and the parameters that can be modified for different data sources.
Procedure
Log in to the OMS console.
In the left-side navigation pane, click Data Source Management.
On the Data Source Management page, click Edit next to the data source.
If your business system is deployed in multiple regions, you can use the Region column to filter and edit data sources in a specific region.
In the Edit Data Source dialog box, change the values of parameters as needed.
Note
The data source edit operation takes effect only for newly created data migration, synchronization, or verification tasks by default. If you want existing tasks to use the new configuration, you can synchronize the modified connection information to the associated tasks when saving. For more information, see the "Synchronize modifications to associated tasks" section below.
For data source types that do not support synchronization, the edit operation takes effect only for newly created tasks and does not affect existing tasks.
For more information about the parameters, see the topic that describes how to create the corresponding type of data source. The following table lists the parameters that can be modified for different types of data sources.
Data source typeModifiable parameterPhysical OceanBase data source OCP, Host IP, Port, Cluster Name, Tenant Name, DB Name (in MySQL-compatible mode) or Schema Name (in Oracle-compatible mode), Database Username, Database Password, DRC User Name, Password, Configurl, __OCEANBASE_INNER_DRC_USER Password, whether to enable transport encryption, SSL mode, TLS version, CA certificate/trust store, and whether to use a client certificate (mutual TLS). OceanBase Cloud data source Service address, port, database username, database password, and __OCEANBASE_INNER_DRC_USER password. OceanBase Standalone data source Host IP, port, tenant name, database username, database password, DRC username and password, and __OCEANBASE_INNER_DRC_USER password. ODP data source (logical OceanBase data source) Access Key, Security Key, Database Username, Database Password, DRC User Name, and Password IDB data source (logical OceanBase data source) IDB Username, IDB Password, Bagualu Username, Bagualu Password, Full Synchronization User, Full Synchronization Password, DRC User Name, and Password MySQL data source Host IP, port, DB Name, database username and password, the selection status of the incremental synchronization heartbeat table, and whether to enable transport encryption, SSL mode, TLS version, CA certificate/trust store, and whether to use a client certificate (mutual TLS). Oracle data source Host IP, port, Service Name, Schema Name, database username and password, the Kafka data source, Topic, and incremental message format when obtaining incremental data through Kafka, and whether to enable transport encryption, SSL mode, encrypted port, TLS version, CA certificate/trust store, CA key/trust store password, and whether to use a client certificate (mutual TLS). PostgreSQL/DB2 LUW/TiDB data source Database username and database password. SQL Server data source Database username and database password. DM data source Database username and database password. Kafka data source Kafka Endpoint, whether to enable SSL, CA key, whether to enable mutual authentication (mTLS), and the username and password when the authentication method is PLAIN or SCRAM, the KDC server address, user principal, and credential certificate when the authentication method is GSSAPI.
Note: Modifying the Kafka Endpoint will clear the uploaded certificate files. You need to re-upload them before you can test the connection. For more information, see the note below.RocketMQ data source RocketMQ endpoint information, AccessKey, and SecretKey. DataHub data source AccessKey and SecretKey. Note
Parameters such as data source identifier, region, tenant type, database attributes, authentication method for Kafka data sources, and incremental synchronization method for OceanBase Cloud data sources cannot be edited after the data source is created. Similarly, the host IP, port, database name, and instance name for SQL Server data sources, and the server address list, deployment architecture, and DB Name for DM data sources cannot be modified while they are in the editing state. To adjust these parameters, you must create a new data source.
Notice
Modifying the Kafka Endpoint will clear the uploaded certificate files in the editing form, including the credential certificate (
.jks) when SSL is enabled, the credential certificate (.keytab) when the authentication method is GSSAPI, and the client keystore (.jks) when mutual authentication (mTLS) is enabled. Please enter a new Kafka Endpoint first, then re-upload the required certificate files according to the current authentication method, and finally click Test Connection. If you only replace the address without re-uploading the certificate files, the test connection will prompt you to provide the files.Click Test Connection to test the network connection between OMS and the source database.
After the connection test is passed, click Save.
If you modify a connection information parameter that affects existing tasks, the system will pop up the Confirm to update data source connection information dialog box, listing the impact of this modification on existing tasks. Please read the risk warning carefully, then click Confirm Update. OMS will save the data source configuration and synchronize the modified parameters to the existing tasks that use this data source.
Synchronize modifications to associated tasks
After a data migration, synchronization, or verification task is created, it references a snapshot of the data source. Therefore, editing the data source by default only affects newly created tasks. OMS supports synchronizing the modified connection information to existing tasks when editing a data source, reducing the operational cost of rebuilding tasks due to changes in the database address, port, or account.
Synchronization scope
Supported data source types include OceanBase, MySQL, Oracle, Kafka, and RocketMQ, covering tasks where the data source serves as the source or target. Among these, Kafka and RocketMQ data sources only support synchronization for tasks where they serve as the target. Other types of data sources currently do not support synchronization; edits only take effect for newly created tasks.
Tasks participating in synchronization include Running, Paused, Pending Start, and Failed data migration, synchronization, and verification tasks, as well as Completed independent full verification and row count verification tasks.
Completed verification tasks must have incremental verification disabled to participate in synchronization.
Completed data migration and synchronization tasks, and Released tasks do not participate in synchronization.
Impact on tasks
Task or component status |
Synchronization method |
|---|---|
| Running | Only updates the parameters of affected components and automatically restarts the components to apply the new configuration. In the same task, running components that need to be restarted are restarted in order. The task may be interrupted during this process, and the next component is processed after the previous one succeeds. |
| Stopped (task in Paused, Pending Start, or Failed state) | Only writes the new parameters and does not automatically start the components. When you manually resume the task later, the components start with the new configuration. |
During full migration or full verification, a synchronization modification may cause the full migration or full verification task to restart from the beginning, as it cannot resume from a checkpoint.
Whether incremental migration or synchronization can continue depends on whether the logs corresponding to the new connection are compatible and can be seamlessly connected to the original consumption position of the task.
Primary/standby switchover scenarios and lossless resumption of transmission after switching across database instances are not supported.
Modifying the DB Name or Schema Name does not change the migration objects already selected for existing tasks; it only applies the new scope when adding new objects later.
Synchronization is executed independently for each task. If the final update for a task fails, OMS continues to process other tasks.
View and handle synchronization results
Synchronization is performed asynchronously in the background. During this process, the data source is in the "configuring update" state, and the Edit operation for that data source is unavailable. After all synchronization is successful, the data source returns to its normal state. The return to normal does not mean all associated tasks have adopted the new configuration. Please confirm the synchronization result for each task as described below.
After synchronization is complete, OMS displays the number of successful and failed tasks and the reasons for failure. You can also go to the OPS & Monitoring > O&M Task page, and view the synchronization results in the Data Source Configuration Update ticket.
Returning to the Data Source list, users with edit permissions can see the status indicator for this synchronization next to the edit icon. Hover the mouse over the edit icon with a status indicator and click View Details. View the update status for each task in View Configuration Synchronization Details. For failure reasons, refer to the Description column. You can also click O&M task ID to go to the corresponding ticket for details. If all are successful, you can click Do not remind me again to remove the status indicator next to the edit icon.
Only the most recent failed cascading update can be retried; successfully updated tasks are not affected. If you edit the data source again before retrying, the previous failure record will be overwritten by the new cascading update and cannot be retried.
Modifying only the data source identifier or remarks will not trigger a new cascading update; historical results for earlier tickets can still be viewed.
Rollback capability is not provided in this release. To restore the original configuration, please edit the data source back to the original values and synchronize the modification to the associated tasks again.