检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Redis-full-check must be deployed on the ECS, and the ECS is connected to the source and destination databases. During incremental migration, data may be inconsistent due to network latency between the source and destination databases.
Migration Performance Reference Environment: Pika (single node) and pika-port are deployed on an ECS with 8 vCPUs and 32 GB memory on Huawei Cloud. The target DB is a three-node GeminiDB Redis instance with 8 vCPUs and 16 GB memory.
An ECS is available. For details, see Purchasing an ECS. GNU Compiler Collection (GCC) has been installed on the ECS. The created ECS is in the same region, AZ, VPC, and security group as the GeminiDB Redis instance.
You can download the tool to an ECS and use CLI to facilitate migration. Required Permissions Ensure that the database port is enabled in the security group of the GeminiDB Redis instance. Migration Scenarios Table 1 Migration scenarios No.
Start the open-source Redis 5.0 single-node process on the ECS to load the AOF file and wait till the process is started. Ensure that the startup directory of the open-source Redis is the same as the directory containing the AOF file.
GeminiDB Redis cluster specifications Region CN East-Shanghai1 AZ type Deployment across AZ 1, AZ 2, and AZ 3 vCPUs of nodes 16 Nodes 20 Total storage space 2 TB ECS specifications AZ type AZ 1 Specifications c7.4xlarge.2, 3 PCS vCPUs 16 Memory 32 GiB Operating System (OS) CentOS
For details about how to create an ECS, see Purchasing an ECS in Getting Started with Elastic Cloud Server. The Spark environment has been installed on the ECS. Procedure Obtain the private IP address and port number of the GeminiDB Cassandra instance.
A Linux ECS is used as an example. Non-SSL Connection If you connect to an instance over an unencrypted connection, disable SSL first. Otherwise, an error is reported. For details about how to disable SSL, see Configuring an SSL Connection.
Table 1 Security group rules Scenario Description Connecting to an instance over a private network When connecting to a GeminiDB DynamoDB-Compatible instance over a private network, set security group rules in either of the following ways: If the ECS and GeminiDB DynamoDB-Compatible
If you want to connect to an instance using an ECS over a private network, ensure that the GeminiDB Cassandra instance and the ECS are in the same VPC. If they are not, create a VPC peering connection between them.
Test Environment Region: CN-Hong Kong AZ: AZ1 Elastic Cloud Server (ECS): m6.2xlarge.8 with 8 vCPUs, 64 GB of memory, and CentOS 7.6 64-bit image Nodes per instance: 3 Instance specifications: 4 vCPUs | 16 GB, 8 vCPUs | 32 GB, 16 vCPUs | 64 GB, and 32 vCPUs | 128 GB Test Tool Time
For details, see the estimated EIP bandwidth unit price in ECS Price Calculator or EIP Price Calculator.
Test Environment Region: CN-Hong Kong AZ: AZ1 Elastic Cloud Server (ECS): c6.4xlarge.2 with 16 vCPUs, 32 GB of memory, and CentOS 7.5 64-bit image Nodes per instance: 3 Instance specifications: Specifications described in Table 1 Table 1 Instance specifications No.
NOTE: To ensure the ECS and instance can communicate with each other, configure the connection by following VPC Peering Connection Overview. Skip Configure the CIDR block of the client later.
If you want to connect to a GeminiDB Redis instance through an ECS over an internal network, the GeminiDB Redis instance and the ECS must be in the same VPC. If they are not in the same VPC, you can create a VPC peering connection to enable access.
If you want to connect to an instance using an ECS over a private network, ensure that the instance and the ECS are in the same VPC. If they are not, create a VPC peering connection between them for access. Subnet A subnet where your instance is created.
If you want to connect to an instance using an ECS over a private network, ensure that the instance and the ECS are in the same VPC. If they are not, create a VPC peering connection between them. Subnet A subnet where your instance is created.
By default, a GeminiDB DynamoDB-Compatible instance cannot be accessed through an ECS in a different security group. You need to add an inbound rule to the security group. The default port of the GeminiDB DynamoDB-Compatible instance is 8000.
If you want to connect to a GeminiDB Redis instance through an ECS over an internal network, the GeminiDB Redis instance and the ECS must be in the same VPC. If they are not in the same VPC, you can create a VPC peering connection to enable access.
By default, a GeminiDB Cassandra instance cannot be accessed through an ECS in a different security group. You need to add an inbound rule to the security group. The default port number of a GeminiDB Cassandra instance is 8635.