您的位置:首页 > 数据库 > Redis

09 redis集群的搭建 以及遇到的问题

2017-06-08 16:40 771 查看
转载:http://blog.csdn.net/u011039332/article/details/52225895

搭建环境介绍 : 

ubuntu12.04 + redis3.2.3

一台虚拟机, 启动6个redis服务器, 搭建伪分布式的redis集群

redis 官网 Cluster相关 
http://redis.io/topics/cluster-tutorial

redis 集群的搭建 –2016.08.16 
http://www.cnblogs.com/yuanermen/p/5717885.html [nice 不过后面还遇到了很多问题] 
http://my.oschina.net/guol/blog/506193 [内容挺多的, 暂时还未看] 
http://my.oschina.net/tongyufu/blog/406954 
http://blog.csdn.net/xu470438000/article/details/42971091

cannot load such file – redis (LoadError) 
http://blog.csdn.net/moxiaomomo/article/details/17540813

Sorry, can’t connect to node 
http://blog.csdn.net/beyondlpf/article/details/51275106 
Creating cluster [ERR]Sorry, can’t connect to node?修改 
https://www.zhihu.com/question/48142475 [局域网ip 和localhost连接会有不同的效果] 
http://blog.csdn.net/qq_22929803/article/details/50393265

[ERR] Node 127.0.0.1:7000 is not configured as a cluster node. 

更新cluster-enabled yes 为true 
http://xiaorui.cc/2015/05/16/ubuntu%E5%AE%89%E8%A3%85%E6%B5%8B%E8%AF%95redis3-0%E7%9A%84cluster%E9%9B%86%E7%BE%A4%E6%A8%A1%E5%BC%8F/

[ERR] Node is not empty. Either the node already knows other nodes (check with C 
http://blog.csdn.net/vtopqx/article/details/50235737

redisCluster至少需要6个结点 

./src/redis-trib.rb create –replicas 1 127.0.0.1:7000 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

Redis配置集群遇到问题及解决方法 
ERR Slot 12182 is already busy (Redis::CommandError) 
http://blog.csdn.net/moxiaomomo/article/details/19333547 [nice] 
http://blog.csdn.net/ownfire/article/details/46624005

redis 简介 -> 调优 -> 集群配置 
http://www.cnblogs.com/goody9807/p/4279147.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: