config set client-output-buffer-limit 'slave 0 0 0'
echo "net.ipv4.tcp_max_syn_backlog=4096" >> /etc/sysctl.confecho "net.core.somaxconn=4096" >> /etc/sysctl.confecho "net.ipv4.tcp_abort_on_overflow=0" /etc/sysctl.confsysctl -p
config set repl-diskless-sync yes
Configuration Parameter | Description |
Service Type | Select Data Migration. |
Creation Mode | Create a task: Create a brand new task. Create a similar task: Quickly create a task with the same configuration as a previous task. The new task will have pre-filled options consistent with the previous task, such as database type, access method, billing mode, and migration type. Users can modify these settings as needed based on their requirements. |
Billing Mode | Only pay-as-you-go is supported. |
Source Instance Type | Select the type of your source database. After purchase, this cannot be changed. Select Redis here. |
Source Instance Region | Select the region where the source database is located. If the source is a self-hosted database, select the region closest to the self-hosted database. |
Target Instance Type | Select the type of your target database. After purchase, this cannot be changed. Select KeeWiDB here. |
Target Instance Region | Select the region where the target database is located. |
Version | Currently, only NewDTS is supported. |
Specification | Currently, only the Xlarge specification is supported. |
Tags | Set tag keys and tag values for the migration task to efficiently manage multiple tasks using tags. |
Task Name | Select Name After Creation: The task name will be the same as the Task ID by default. After the migration task is created, you can rename the task. Select Name Now: Enter the task name in the input box below. |
Terms and Conditions | Make sure to check the box I have read and agree <Cloud Database Service Terms>. |
Quantity | A maximum of 10 migration tasks can be purchased at one time. |
Configuration Parameter | Description |
Task Name | Set a name with business significance for easy task identification. |
Running Mode | Immediate execution: The task will start immediately after the pre-check passes. Scheduled execution: Set a specific time for the task to start. The task will not start after the pre-check passes but will start at the scheduled time. |
Automatic Retry | After this option is selected, if the migration task is interrupted due to network anomalies or other issues, DTS will automatically retry within the specified time range without requiring user intervention.
The retry mechanism restarts the data migration from the beginning. When retrying, any data that was previously migrated to the target will be cleared or overwritten. |
Configuration Parameter | Description |
Source Database Type | The selected source database type at the time of purchase cannot be modified. |
Service Provider | If the source database is an IDC self-hosted database, a self-hosted database on CVM, or a TencentDB database, select Others. If the source database is Alibaba Cloud, Huawei Cloud, etc., select Others. |
Region | The region selected for the source database at the time of purchase cannot be modified. |
Access Type | Select the network type through which the source database will connect to Tencent Cloud. Different access types require different network configuration steps. For details, see Overview of Preparatory Work. If the source database is an IDC self-hosted database or a database from another cloud provider, the available access methods are Public Network/Direct Connect/VPN Access/CCN. Public network: The source database can be accessed via a public IP. Direct connect: The source database connects to Tencent Cloud Virtual Private Cloud via Direct Connect. VPN access: The source database connects to Tencent Cloud Virtual Private Cloud via VPN Connections. CCN: The source database connects to Tencent Cloud Virtual Private Cloud via Cloud Connect Network. If the source database is a self-hosted database on CVM, select Self-Hosted on CVM as the access method. If the source database is a TencentDB instance, select Database as the access method. |
Node Type | This parameter is displayed when any Access Type other than Database is selected. Select according to your actual situation. Single node migration: Refers to a cluster architecture with one primary node and multiple replica nodes. Cluster migration: Refers to a cluster architecture composed of multiple shards, each containing several replica nodes. When you select Cluster Migration, you will need to fill in the Node Info. Enter the addresses and passwords for all shard nodes in the source database cluster (IP: port: password or IP: port). For multiple nodes, list them on separate lines. It is recommended to enter the addresses of the replica nodes (secondary nodes) of the source database. Migrating from replica nodes can help avoid impacting the source database's business operations. |
Public Network | When Access Type is set to Public Network, the following parameters need to be configured: Host address: The IP address or domain name of the source database. Port: The port used by the source database. Password: The password for the source database migration account. |
Self-Build on CVM | When Access Type is set to Self-Build on CVM, the following parameters need to be configured. CVM instance: The instance ID of the CVM Port: The port used by the source database Password: The password for the source database migration account |
Direct Connect | When Access Type is set to Direct Connect, the following parameters need to be configured. VPC Direct Connect Gateway: Only the VPC Direct Connect Gateway is supported for Direct Connect. Confirm the network type associated with the gateway. VPC: Select the VPC and subnet. Host address: The IP address of the source database Port: The port used by the source database Password: The password for the source database migration account |
VPN Access | When Access Type is set to VPN Access, the following parameters need to be configured. VPN gateway: VPN gateway. Select the VPN gateway instance that connects to the source database network. VPC: Select the VPC and subnet. Host address: The IP address of the source database Port: The port used by the source database Password: The password for the source database migration account |
Database | When Access Type is set to Database, the following parameters need to be configured. Cross-account/Intra-account Same account: The source and target database instances belong to the same Tencent Cloud root account. Cross-Account: The source and target database instances belong to different Tencent Cloud root accounts. For detailed instructions on cross-account operations, see Cloud Database Migration Across Accounts. Cloud database instance: Select the instance ID of the source database. Password: The password for the source database migration account. |
CCN | When Access Type is set to CCN, the following parameters need to be configured. When you are using CCN access, both same-account and cross-account CCN connections are supported. Due to the complexity of network configuration, see Migrating Self-built Databases to Tencent Cloud via Cloud Connect Network for detailed instructions. Host network environment: Select based on your actual situation. If the source database is a TencentDB instance, select Tencent Cloud. If the source database is an IDC self-hosted database, select Self-hosted IDC. If the source database is from another cloud provider, select the corresponding network. Host address: The IP address of the source database Port: The port used by the source database Password: The password for the source database migration account CCN instance account My account: The CCN resources and DTS belong to the same Tencent Cloud root account. Other account: The CCN resources and DTS belong to different Tencent Cloud root accounts. VPC CCN: The name of the CCN instance Access VPC: Select the VPC and subnet to be accessed. The Access VPC refers to the VPC within the CCN that is connected to the DTS migration linkage. Among all the VPCs associated with the CCN, choose one that is not the VPC to which the source database belongs. Access VPC region: The region of the Access VPC need to match the region of the source database selected when purchasing the task. If they do not match, DTS will automatically change the region of the source database to the Access VPC region. |
Configuration Parameter | Description |
Access Type | Select based on your scene. The configuration principles for different access types are similar to those for the source database. Supports migration to the cloud. When the source database access type is set to Cloud Database, the target database can be set to Public Network/Self-Built on CVM/Direct Connect/VPN Access/CCN. |
Node Type | This parameter is displayed when any Access Type other than CDB is selected. Choose according to the actual situation of the target database. Supported options include Single-node migration, Redis Cluster Migration, and Proxy Cluster Migration. |
Configuration Item | Description |
Migration Type | The default selection is Full + Incremental Migration and cannot be modified. Full + Incremental Migration means that both the historical data from the source database before the migration and any new data written during the migration process will be migrated together. |
Migration Object | The default selection is to migrate the entire instance and cannot be modified. |
Was this page helpful?