Redis Cluster 自动化配置,扩容和缩容
发布时间:2021-12-10 17:17:22 所属栏目:MySql教程 来源:互联网
导读:Redis Cluster 自动化安装,扩容和缩容 ASP站长网 之前写过一篇基于Python的redis集群自动化安装的实现,基于纯命令的集群实现还是相当繁琐的,因此官方提供了re
redis-cli -a redis@password --cluster reshard 127.0.0.1:10001 --cluster-from 6164025849a8ff9297664fc835bc851af5004f61 --cluster-to 3645e00a8ec3a902bd6effb4fc20c56a00f2c982 --cluster-slots 1365 --cluster-yes --cluster-timeout 50000 --cluster-pipeline 10000 --cluster-replace >/dev/null 2>&1 ############################ execute reshard ######################################### (编辑:焦作站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |