Source | Target | Note |
Self-built Redis database in IDC and CVM | TencentDB for Redis® and TencentDB for KeeWiDB | Migration to TencentDB for KeeWiDB |
TencentDB for Redis® | Self-built Redis database in IDC and CVM | Migration from TencentDB for Redis® to self-built Redis (migration off the cloud and multi-cloud sync) |
Third-party Redis database | TencentDB for Redis® and TencentDB for KeeWiDB | Migration to TencentDB for KeeWiDB |
TencentDB for Redis® | TencentDB for Redis® and TencentDB for KeeWiDB | Migration between TencentDB for Redis® instances include the following scenarios: Migration between TencentDB for Redis® instances in different regions Migration between TencentDB for Redis® instances in the same region Migration between TencentDB for Redis® instances on different versions Migration across Tencent Cloud accounts Migration from Tencent Cloud standard architecture to the cluster architecture, or vice versa. Cluster architecture data is stored in a distributed manner, and there are command compatibility issues with the standard architecture. Before migration, see Check on Migration from Standard Architecture to Cluster Architecture. |
Database of other types | TencentDB for Redis® | Migration from Codis to TencentDB for Redis® Migration from Tencent istore to TencentDB for Redis® |
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 Items | Note |
Service Type | Select Data Migration. |
Creation Mode | Select a task creation mode. The following two modes are supported. Create task: Create a new task. Create similar task: Quickly create a similar task based on an existing migration task. |
Task ID | When Create Mode selects Create similar task, this parameter needs to be configured. In the drop-down list, select a similar migration task ID. After configuring this parameter, the configuration items below will be updated based on the configuration in the selected task ID. |
Billing Mode | Only pay-as-you-go is supported. |
Source Instance Type | Select the source database type, which cannot be changed after purchase. Here, select Redis. |
Source Instance Region | Select the source database region. If the source database is a self-built one, select a region nearest to it. |
Target Instance Type | Select the target database type, which cannot be changed after purchase. Here, select Redis. |
Target Instance Region | Select the target database region. |
Specification | Currently, only Xlarge is supported. |
Tag | Set tag key and value for a migration task, which facilitates efficient task management through tags. |
Task Name | Name After Creation: After creating the task, you can change its name. Name Now: Set a name for the migration task in the input box below. Any special symbols other than hyphens are not supported. Lowercase letters, uppercase letters, and digits are supported. The length limit is as prompted in the console. It is recommended to set a name that is easy to identify. |
Terms of Service | Be sure to check I have read and agree to. |
Quantity | The number of created tasks, which ranges from 1 to 10. |
Link Configuration Fees | Free of charge currently. |
Configuration Category | Configuration Items | Note |
Task Configuration | Task Name | If the task name has been set when creating a new migration task, this field defaults to the created name. If no task name is configured when creating a new task, you need to set an identifiable task name in the input box. Any special symbols other than hyphens are not supported. Lowercase letters, uppercase letters, and digits are supported. The length limit is as prompted in the console. |
| Running Mode | Select Immediate execution or Scheduled execution. Immediate execution: Run immediately after the migration task is configured. Scheduled execution: You can set a specific execution time, and the task will start running at the set execution time. This method is recommended. After the migration task is configured, you can modify the scheduled execution time before the execution time. After the scheduled execution time is set for the migration task, but the task needs to be run immediately before the scheduled time, you can click Immediate start in the Operation column of the migration task list. |
Source Database Settings | Source Database Type | The source database type selected during purchase, which cannot be changed. |
| Region | The region selected during purchase, which cannot be changed. |
| Access Type | Select the type of network connected to the source database. For a third-party cloud database, you can select Public Network generally or select VPN Access, Direct Connect, or CCN based on your actual network conditions. Public Network: The source database can be accessed through a public IP. Self-Build on CVM: The source database is deployed in a CVM instance. Direct Connect: The source database can be interconnected with VPCs through Direct Connect. VPN Access: The source database can be interconnected with VPCs through VPN Connections. Database: The source database is a TencentDB database. CCN: The source database can be interconnected with VPCs through CCN. |
| Node Type | Select the cluster deployment type for the source database, which can be Single-Node Migration or Cluster Migration. Single-Node Migration: Refers to the cluster architecture with one master and multiple replicas. Cluster Migration: Refers to the cluster architecture comprised of several shards and multiple replica nodes on each shard. |
| Host Address | This parameter is displayed when Single-Node Migration is selected for Node Type. You need to enter the IP address of the host replica node of the source database in the input box. |
| Port | This parameter is displayed whenSingle-Node Migration is selected for Node Type. You need to enter the port of the source database in the input box. |
| Password | This parameter is displayed when Single-Node Migration is selected for Node Type. You need to enter the access password of the source database in the input box. |
| Node Info | This parameter is displayed when Cluster Migration is selected for Node Type. Enter all the shard node addresses and passwords of the source database cluster ("IP:port:password" or "IP:port"), and separate multiple nodes by line breaker. It is recommended to migrate data from the replica node (secondary node) of the source database to avoid affecting the business access of the source database. |
Target Database Settings | Target Database Type | The target database type selected at the time of purchase, which cannot be changed and is fixed as Redis. |
| Region | The target database region selected during purchase, which cannot be changed. |
| Access Type | Select the network type for the target database access. |
| Node Type | Select the deployment type for target database cluster. Single-Node Migration: Refers to the cluster architecture with one master and multiple replicas. Redis Cluster Migration: Refers to the native Redis cluster architecture, which does not support proxy architecture. Proxy Cluster Migration: Refers to the cluster architecture with proxy, such as Codis and Twemproxy. |
| Host Address | This parameter is displayed when Single-Node Migration is selected for Node Type. You need to enter the IP address of the host node of the target database in the input box. |
| Port | This parameter is displayed when Single-Node Migration is selected for Node Type. You need to enter the port of the target database in the input box. |
| Password | This parameter is displayed when Single-Node Migration is selected for Node Type. You need to enter the access password of the target database in the input box. |
| Node Info | This parameter is displayed when Redis Cluster Migration or Proxy Cluster Migration is selected for Node Type. Enter all the shard node addresses and passwords of the target database cluster ("IP:port:password" or "IP:port"), and separate multiple nodes by line breaker. |
この記事はお役に立ちましたか?