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

来源:互联网 发布:子域名怎么看 编辑:程序博客网 时间:2024/06/05 03:26

此帖为链接贴, 记录了搭建redis集群过程中遇到的相关问题[着实的苦逼的整了一个小时呢]

搭建环境介绍 :
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

0 0
原创粉丝点击