关闭集群 :
redis-cli -c -h 192.168.10.137 -p 7000 shutdown
redis-cli -c -h 192.168.10.137 -p 7001 shutdown
redis-cli -c -h 192.168.10.137 -p 7002 shutdown
redis-cli -c -h 192.168.10.137 -p 7003 shutdown
redis-cli -c -h 192.168.10.137 -p 7004 shutdown
redis-cli -c -h 192.168.10.137 -p 7005 shutdown
启动
redis-server /redis/redis-6.0.6/cluster/7000/redis.conf
redis-server /redis/redis-6.0.6/cluster/7001/redis.conf
redis-server /redis/redis-6.0.6/cluster/7002/redis.conf
redis-server /redis/redis-6.0.6/cluster/7003/redis.conf
redis-server /redis/redis-6.0.6/cluster/7004/redis.conf
redis-server /redis/redis-6.0.6/cluster/7005/redis.conf
2.删除文件重启
rm -f append.aof dump.rdb redis.log nodes*.conf
启动:
redis-server /redis/redis-6.0.6/cluster/7000/redis.conf
redis-server /redis/redis-6.0.6/cluster/7001/redis.conf
redis-server /redis/redis-6.0.6/cluster/7002/redis.conf
redis-server /redis/redis-6.0.6/cluster/7003/redis.conf
redis-server /redis/redis-6.0.6/cluster/7004/redis.conf
redis-server /redis/redis-6.0.6/cluster/7005/redis.conf
标签:重启,redis,192.168,server,cluster,集群,conf,6.0 From: https://www.cnblogs.com/fujingtao/p/16857115.html