Redis 6台集群配置

Sakura 发布于 2023-05-10 230 次阅读


redis.conf

port 7000
cluster-enabled yes
cluster-config-file nodes.conf
cluster-node-timeout 5000
appendonly yes
masterauth Zyjc@2023
redis-cli --cluster create   192.168.183.189:26379 192.168.183.190:26379 192.168.183.191:26379 192.168.183.186:26379 192.168.183.187:26379 192.168.183.188:26379 --cluster-replicas 1 -a Zyjc@2023