Rate This Document
Findability
Accuracy
Completeness
Readability

Environment Requirements

This document provides guidance based on the Kunpeng server and openEuler. Before performing operations, ensure that your software and hardware meet the requirements.

Hardware Requirements

Item

Description

Server

Kunpeng server

CPU

Kunpeng 920 or Kunpeng 916

OS and Software Requirements

  • Run the cat /etc/*-release command to query the OS information.

    Run the lscpu command to query the processor information.

    Run the uname -r command to query the kernel version.

    Run the uname -a command to query the environment information.

  • If you need to install an OS, choose Minimal Install and select Development Tools to minimize manual operations.

Table 1 lists the OS and software requirements.

Table 2 lists the verified Redis versions and supported OS versions.

Table 2 Verified Redis versions and supported OS versions

Redis Version

OS Version

Redis 3.0.5

  • CentOS 7.6 for Arm
  • openEuler 20.03 LTS SP1 for Arm

Redis 5.0.4

  • CentOS 7.6 for Arm
  • openEuler 20.03 LTS SP1 for Arm

Redis 6.0.20

openEuler 22.03 LTS-SP2 for Arm

Node Planning

This section describes the master/slave replication mode in which there is one master node and one slave node, and the cluster mode in which there are three master nodes and three slave nodes. For details about the node planning in the master/slave replication mode, see Table 3. For details about the node planning in the cluster mode, see Table 4. The node IP addresses and port numbers in this section are only examples. Change them based on the actual deployment environments.

In this deployment, the master and slave nodes are deployed on the same server. In actual application scenarios, you are advised to deploy the master nodes on a server or VM different from that of the slave nodes.

Table 3 Node planning in the master/slave replication mode

Node ID

Node IP address

Port Number

Master node 1

127.0.0.1

6380

Slave node 1

127.0.0.1

6381

Table 4 Node planning in the cluster mode

Node ID

Node IP address

Port Number

Master node 1

127.0.0.1

6380

Master node 2

127.0.0.1

6381

Master node 3

127.0.0.1

6382

Slave node 1

127.0.0.1

6383

Slave node 2

127.0.0.1

6384

Slave node 3

127.0.0.1

6385