基于redis5的redis cluster部署
1 创建 redis cluster集群的环境准备
-
每个redis 节点采用相同的redis版本、相同的密码、硬件配置
-
所有redis服务器必须没有任何数据
-
准备六台主机:
10.0.0.7 Redis-6.2.4 node1 10.0.0.17 Redis-6.2.4 node2 10.0.0.27 Redis-6.2.4 node3 10.0.0.37 Redis-6.2.4 node4 10.0.0.47 Redis-6.2.4 node5 10.0.0.57 Redis-6.2.4 node6
2 启用 redis cluster 配置
每个节点修改redis配置,必须开启cluster功能的参数
#执行下面命令,批量修改
[root@node1 ~]#sed -i.bak -e '/masterauth/a masterauth 123456' -e '/# cluster-enabled yes/a cluster-enabled yes' -e '/# cluster-config-file nodes-6379.conf/a cluster-config-file nodes-6379.conf' -e '/cluster-require-full-coverage yes/ccluster-require-full-coverage no' /apps/redis/etc/redis.conf
#重新加载配置文件
[root@node1 ~]#systemctl daemon-reload
#重启redis服务
[root@node1 ~]#systemctl restart redis.service
验证每个节点当前的Redis服务状态:
#开启了16379的cluster的端口,实际的端口=redis port+10000
[root@node1 ~]#ss -ntl
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 100 127.0.0.1:25 *:*
LISTEN 0 511 *:16379 *:*
LISTEN 0 511 *:6379 *:*
LISTEN 0 128 *:22 *:*
LISTEN 0 100 [::1]:25 [::]:*
LISTEN 0 511 [::1]:16379 [::]:*
LISTEN 0 511 [::1]:6379 [::]:*
LISTEN 0 128 [::]:22 [::]:*
#注意进程有[cluster]状态
[root@node1 ~]#ps aux|grep redis
redis 2452 0.4 0.3 162500 3452 ? Ssl 12:19 0:02 /apps/redis/bin/redis-server 0.0.0.0:6379 [cluster]
root 2495 0.0 0.0 112808 676 pts/0 R+ 12:26 0:00 grep --color=auto redis
3 创建集群
#命令redis-cli的选项 --cluster-replicas 1 表示每个master对应一个slave节点
[root@node1 ~]#redis-cli -a 123456 --cluster create 10.0.0.7:6379 10.0.0.17:6379 10.0.0.27:6379 10.0.0.37:6379 10.0.0.47:6379 10.0.0.57:6379 --cluster-replicas 1
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
>>> Performing hash slots allocation on 6 nodes...
Master[0] -> Slots 0 - 5460
Master[1] -> Slots 5461 - 10922
Master[2] -> Slots 10923 - 16383
Adding replica 10.0.0.47:6379 to 10.0.0.7:6379
Adding replica 10.0.0.57:6379 to 10.0.0.17:6379
Adding replica 10.0.0.37:6379 to 10.0.0.27:6379
M: 494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379 #带M的为master
slots:[0-5460] (5461 slots) master #当前master的槽位起始和结束位
M: 4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379
slots:[5461-10922] (5462 slots) master
M: c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379
slots:[10923-16383] (5461 slots) master
S: b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379 #带S的slave
replicates c60ce314b919dcaf4c21d147f3bd808295ac9219
S: 6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379
replicates 494700d188e9462f1199b97929b58338c97d1986
S: d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379
replicates 4ac01ebc72ebfed8e9bca715866553f9b2d48712
Can I set the above configuration? (type 'yes' to accept): yes #输入yes自动创建集群
>>> Nodes configuration updated
>>> Assign a different config epoch to each node
>>> Sending CLUSTER MEET messages to join the cluster
Waiting for the cluster to join
.
>>> Performing Cluster Check (using node 10.0.0.7:6379)
M: 494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379
slots:[0-5460] (5461 slots) master #已经分配的槽位
1 additional replica(s) #分配了一个slave
S: d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379
slots: (0 slots) slave #slave没有分配槽位
replicates 4ac01ebc72ebfed8e9bca715866553f9b2d48712 #对应的master的10.0.0.17的ID
S: 6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379
slots: (0 slots) slave
replicates 494700d188e9462f1199b97929b58338c97d1986 #对应的master的10.0.0.7的ID
S: b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379
slots: (0 slots) slave
replicates c60ce314b919dcaf4c21d147f3bd808295ac9219 #对应的master的10.0.0.27的ID
M: c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379
slots:[10923-16383] (5461 slots) master
1 additional replica(s)
M: 4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379
slots:[5461-10922] (5462 slots) master
1 additional replica(s)
[OK] All nodes agree about slots configuration. #所有节点槽位分配完成
>>> Check for open slots... #检查打开的槽位
>>> Check slots coverage... #检查插槽覆盖范围
[OK] All 16384 slots covered. #所有槽位(16384个)分配完成
#观察以上结果,可以看到3组master/slave
master:10.0.0.7---slave:10.0.0.47
master:10.0.0.17---slave:10.0.0.57
master:10.0.0.27---slave:10.0.0.37
4 查看主从状态
[root@node1 ~]#redis-cli -a 123456 -c INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:master
connected_slaves:1
slave0:ip=10.0.0.47,port=6379,state=online,offset=2814,lag=1
master_failover_state:no-failover
master_replid:2604b6e0d6c3ad7b448104bfebf3c22e1a69e5a1
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:2814
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:2814
[root@node2 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:master
connected_slaves:1
slave0:ip=10.0.0.57,port=6379,state=online,offset=2940,lag=0
master_failover_state:no-failover
master_replid:6aaa9fcc268e7ef9cfa8afaf7f157095adda1e98
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:2940
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:2940
[root@node3 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:master
connected_slaves:1
slave0:ip=10.0.0.37,port=6379,state=online,offset=3038,lag=0
master_failover_state:no-failover
master_replid:93d43756fd0d7e133e6f03842c3ae46e9ea10d88
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:3038
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:3038
[root@node4 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:slave
master_host:10.0.0.27
master_port:6379
master_link_status:up
master_last_io_seconds_ago:3
master_sync_in_progress:0
slave_repl_offset:3248
slave_priority:100
slave_read_only:1
replica_announced:1
connected_slaves:0
master_failover_state:no-failover
master_replid:93d43756fd0d7e133e6f03842c3ae46e9ea10d88
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:3248
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:3248
[root@node5 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:slave
master_host:10.0.0.7
master_port:6379
master_link_status:up
master_last_io_seconds_ago:8
master_sync_in_progress:0
slave_repl_offset:3318
slave_priority:100
slave_read_only:1
replica_announced:1
connected_slaves:0
master_failover_state:no-failover
master_replid:2604b6e0d6c3ad7b448104bfebf3c22e1a69e5a1
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:3318
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:3318
[root@node6 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:slave
master_host:10.0.0.17
master_port:6379
master_link_status:up
master_last_io_seconds_ago:7
master_sync_in_progress:0
slave_repl_offset:3346
slave_priority:100
slave_read_only:1
replica_announced:1
connected_slaves:0
master_failover_state:no-failover
master_replid:6aaa9fcc268e7ef9cfa8afaf7f157095adda1e98
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:3346
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:3346
查看集群node对应关系
[root@node1 ~]#redis-cli -a 123456 cluster nodes
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379@16379 slave 4ac01ebc72ebfed8e9bca715866553f9b2d48712 0 1652335386000 2 connected
494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379@16379 myself,master - 0 1652335386000 1 connected 0-5460
6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379@16379 slave 494700d188e9462f1199b97929b58338c97d1986 0 1652335387000 1 connected
b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379@16379 slave c60ce314b919dcaf4c21d147f3bd808295ac9219 0 1652335387608 3 connected
c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379@16379 master - 0 1652335386573 3 connected 10923-16383
4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379@16379 master - 0 1652335388628 2 connected 5461-10922
5 验证集群状态
[root@node1 ~]#redis-cli -a 123456 CLUSTER INFO
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
cluster_state:ok
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:6 #6个节点
cluster_size:3 #3个集群
cluster_current_epoch:6
cluster_my_epoch:1
cluster_stats_messages_ping_sent:3234
cluster_stats_messages_pong_sent:3239
cluster_stats_messages_sent:6473
cluster_stats_messages_ping_received:3234
cluster_stats_messages_pong_received:3234
cluster_stats_messages_meet_received:5
cluster_stats_messages_received:6473
#查看任意节点的集群状态
[root@node1 ~]#redis-cli -a 123456 --cluster info 10.0.0.37:6379
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
10.0.0.27:6379 (c60ce314...) -> 0 keys | 5461 slots | 1 slaves.
10.0.0.17:6379 (4ac01ebc...) -> 0 keys | 5462 slots | 1 slaves.
10.0.0.7:6379 (494700d1...) -> 0 keys | 5461 slots | 1 slaves.
[OK] 0 keys in 3 masters.
0.00 keys per slot on average.
#查看集群状态文件
[root@node1 ~]#cat /apps/redis/data/nodes-6379.conf
d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379@16379 slave 4ac01ebc72ebfed8e9bca715866553f9b2d48712 0 1652332529631 2 connected
494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379@16379 myself,master - 0 1652332529000 1 connected 0-5460
6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379@16379 slave 494700d188e9462f1199b97929b58338c97d1986 0 1652332533005 1 connected
b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379@16379 slave c60ce314b919dcaf4c21d147f3bd808295ac9219 0 1652332531000 3 connected
c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379@16379 master - 0 1652332532000 3 connected 10923-16383
4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379@16379 master - 0 1652332531000 2 connected 5461-10922
vars currentEpoch 6 lastVoteEpoch 0
6 模拟master故障,对应的slave节点自动提升为新master
[root@node1 ~]#redis-cli -a 123456 -c INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:master
connected_slaves:1
slave0:ip=10.0.0.47,port=6379,state=online,offset=7770,lag=0
master_failover_state:no-failover
master_replid:2604b6e0d6c3ad7b448104bfebf3c22e1a69e5a1
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:7770
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:7770
#模拟node1节点出故障,需要相应的数秒故障转移时间
[root@node1 ~]#redis-cli -a 123456 shutdown
[root@node1 ~]#tail -f /apps/redis/log/redis-6379.log
2603:C 12 May 2022 13:15:26.428 * DB saved on disk
2603:C 12 May 2022 13:15:26.429 * RDB: 0 MB of memory used by copy-on-write
2452:M 12 May 2022 13:15:26.469 * Background saving terminated with success
2452:M 12 May 2022 13:15:26.470 * Synchronization with replica 10.0.0.47:6379 succeeded
2452:M 12 May 2022 13:15:28.032 # Cluster state changed: ok
2452:M 12 May 2022 15:02:16.855 # User requested shutdown...
2452:M 12 May 2022 15:02:16.855 * Saving the final RDB snapshot before exiting.
2452:M 12 May 2022 15:02:16.956 * DB saved on disk
2452:M 12 May 2022 15:02:16.957 * Removing the pid file.
2452:M 12 May 2022 15:02:16.957 # Redis is now ready to exit, bye bye...
[root@node1 ~]#ss -ntl
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 100 127.0.0.1:25 *:*
LISTEN 0 128 *:22 *:*
LISTEN 0 100 [::1]:25 [::]:*
LISTEN 0 128 [::]:22 [::]:*
#查看集群node对应关系
[root@node5 ~]#redis-cli -a 123456 cluster nodes
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379@16379 master - 0 1652339322000 3 connected 10923-16383
b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379@16379 slave c60ce314b919dcaf4c21d147f3bd808295ac9219 0 1652339323000 3 connected
4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379@16379 master - 0 1652339323899 2 connected 5461-10922
494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379@16379 master,fail - 1652338938739 1652338935619 1 disconnected
6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379@16379 myself,master - 0 1652339321000 7 connected 0-5460
d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379@16379 slave 4ac01ebc72ebfed8e9bca715866553f9b2d48712 0 1652339322000 2 connected
#10.0.0.47自动提升为新的master
[root@node5 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:master
connected_slaves:0
master_failover_state:no-failover
master_replid:0b4c2c5ac6df32f3e6fff33cea5e60240da11bd2
master_replid2:2604b6e0d6c3ad7b448104bfebf3c22e1a69e5a1
master_repl_offset:8008
second_repl_offset:8009
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:8008
[root@node5 ~]#tail -f /apps/redis/log/redis-6379.log
2434:S 12 May 2022 15:02:36.426 * FAIL message received from 4ac01ebc72ebfed8e9bca715866553f9b2d48712 about 494700d188e9462f1199b97929b58338c97d1986
2434:S 12 May 2022 15:02:36.483 # Start of election delayed for 563 milliseconds (rank #0, offset 8008).
2434:S 12 May 2022 15:02:36.589 * Connecting to MASTER 10.0.0.7:6379
2434:S 12 May 2022 15:02:36.591 * MASTER <-> REPLICA sync started
2434:S 12 May 2022 15:02:36.592 # Error condition on socket for SYNC: Connection refused
2434:S 12 May 2022 15:02:37.117 # Starting a failover election for epoch 7.
2434:S 12 May 2022 15:02:37.196 # Failover election won: I'm the new master. #选举获胜:10.0.0.47是新主人
2434:S 12 May 2022 15:02:37.196 # configEpoch set to 7 after successful failover
2434:M 12 May 2022 15:02:37.196 * Discarding previously cached master state.
2434:M 12 May 2022 15:02:37.197 # Setting secondary replication ID to 2604b6e0d6c3ad7b448104bfebf3c22e1a69e5a1, validup to offset: 8009. New replication ID is 0b4c2c5ac6df32f3e6fff33cea5e60240da11bd2
#查看集群状态文件
[root@node5 ~]#cat /apps/redis/data/nodes-6379.conf
c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379@16379 master - 0 1652338953000 3 connected 10923-16383
b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379@16379 slave c60ce314b919dcaf4c21d147f3bd808295ac9219 0 1652338954000 3 connected
4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379@16379 master - 0 1652338956517 2 connected 5461-10922
494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379@16379 master,fail - 1652338938739 1652338935619 1 disconnected
6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379@16379 myself,master - 0 1652338954000 7 connected 0-5460
d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379@16379 slave 4ac01ebc72ebfed8e9bca715866553f9b2d48712 0 1652338954861 2 connected
vars currentEpoch 7 lastVoteEpoch 0
7 恢复故障节点node1自动成为slave节点
[root@node1 ~]#systemctl start redis
[root@node1 ~]#ss -ntl
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 100 127.0.0.1:25 *:*
LISTEN 0 511 *:16379 *:*
LISTEN 0 511 *:6379 *:*
LISTEN 0 128 *:22 *:*
LISTEN 0 100 [::1]:25 [::]:*
LISTEN 0 511 [::1]:16379 [::]:*
LISTEN 0 511 [::1]:6379 [::]:*
LISTEN 0 128 [::]:22 [::]:*
#查看集群状态文件,可以查看node1自动成为slave节点
[root@node1 ~]#cat /apps/redis/data/nodes-6379.conf
b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379@16379 slave c60ce314b919dcaf4c21d147f3bd808295ac9219 0 1652340965102 3 connected
494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379@16379 myself,slave 6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 0 1652340965085 7 connected
6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379@16379 master - 0 1652340965105 7 connected 0-5460
4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379@16379 master - 0 1652340965085 2 connected 5461-10922
d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379@16379 slave 4ac01ebc72ebfed8e9bca715866553f9b2d48712 0 1652340965085 2 connected
c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379@16379 master - 0 1652340965085 3 connected 10923-16383
vars currentEpoch 7 lastVoteEpoch 0
[root@node5 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:master
connected_slaves:1
slave0:ip=10.0.0.7,port=6379,state=online,offset=8246,lag=0
master_failover_state:no-failover
master_replid:0b4c2c5ac6df32f3e6fff33cea5e60240da11bd2
master_replid2:2604b6e0d6c3ad7b448104bfebf3c22e1a69e5a1
master_repl_offset:8246
second_repl_offset:8009
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:1
repl_backlog_histlen:8246
[root@node1 ~]#redis-cli -a 123456 INFO replication
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Replication
role:slave
master_host:10.0.0.47
master_port:6379
master_link_status:up
master_last_io_seconds_ago:7
master_sync_in_progress:0
slave_repl_offset:8456
slave_priority:100
slave_read_only:1
replica_announced:1
connected_slaves:0
master_failover_state:no-failover
master_replid:0b4c2c5ac6df32f3e6fff33cea5e60240da11bd2
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:8456
second_repl_offset:-1
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:8009
repl_backlog_histlen:448
#查看集群node对应关系
[root@node1 ~]#redis-cli -a 123456 cluster nodes
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
b3d69d2214f157d435de6afbc5ddc0115624e658 10.0.0.37:6379@16379 slave c60ce314b919dcaf4c21d147f3bd808295ac9219 0 1652341671000 3 connected
494700d188e9462f1199b97929b58338c97d1986 10.0.0.7:6379@16379 myself,slave 6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 0 1652341669000 7 connected
6f3bd4e7b531e977a40f1f40820df9f85cb2e6c0 10.0.0.47:6379@16379 master - 0 1652341671530 7 connected 0-5460
4ac01ebc72ebfed8e9bca715866553f9b2d48712 10.0.0.17:6379@16379 master - 0 1652341670000 2 connected 5461-10922
d0e5a0a4b49a804ad50583759c080afb42634ea9 10.0.0.57:6379@16379 slave 4ac01ebc72ebfed8e9bca715866553f9b2d48712 0 1652341672041 2 connected
c60ce314b919dcaf4c21d147f3bd808295ac9219 10.0.0.27:6379@16379 master - 0 1652341673093 3 connected 10923-16383