网站首页 文章专栏 Redis-Cluster集群模拟
Redis-Cluster集群模拟
编辑时间:2019-11-24 23:12:13 作者:lmc 浏览量:9525

缩略图

缩略图

缩略图

缩略图

缩略图

缩略图

缩略图

缩略图

./redis-trib.rb create --replicas 1 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 

127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7000

高版本:

redis-cli --cluster create 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7000 --cluster-replicas 1

缩略图

缩略图

高版本:

redis-cli -h 127.0.0.1 -p 7001 –a pwd cluster info 查看单台服务器信息

redis-cli -h 127.0.0.1 -p 7001 –a pwd cluster nodes 查看集群服务器信息

缩略图

缩略图

缩略图




来说两句吧
最新评论
  • 灭绝师太 2019-11-24 23:14:13
    [阴险][阴险]非常有用啊 哈哈