Rate This Document
Findability
Accuracy
Completeness
Readability

Verifying the Redis Cluster

After confirming that the Redis cluster has been successfully created and is running, send a request to a cluster node to check the cluster status, including the number of nodes, master/slave relationship, slot allocation, and health status.

Run the following command to check the Redis cluster status:

redis-cli --cluster check 127.0.0.1:6380

The command output displays the detailed information about the cluster nodes, including the node ID, role (master or slave node), IP address, port number, number of connected clients, and slot allocation.

If there is any problem in the cluster (such as uneven slot allocation and node access failure), the corresponding warning or error information is also displayed in the output.