查看集群目前情况:
root@XIAOMO:/cluster_test/redis-unstable/src# redis-cli -c -p 7000
127.0.0.1:7000>
127.0.0.1:7000> cluster info
cluster_state:ok
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:6
cluster_size:3
cluster_current_epoch:0
cluster_stats_messages_sent:8770
cluster_stats_messages_received:8770
127.0.0.1:7000>
到此为止,集群搭建成功