如何测试redis集群(how to test redis cluster)
我有一个Redis集群,有3个主人。 我对数据持久性不感兴趣,因为这是一个缓存解决方案。 我在Windows上运行v3.2。 当我手动停止其中一个服务器以查看我是否仍然可以访问数据库时,我得到'CLUSTERDOWN集群出现故障'。 即使这样做,我也必须连接到仍在工作的其中一个实例。 我不知道这是如何实现高可用性的解决方案。 我希望我错过了一些东西。 当其中一个节点关闭时我无法访问群集的任何想法? 谢谢。
群集创建命令:ruby.exe redis-trib.rb create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002
I have a Redis cluster with 3 masters. I am not interested in data persistence since this is a caching solution. I am running v3.2 on Windows. When I stop one of the servers manually to see if I can still access the db, I get 'CLUSTERDOWN The cluster is down error'. And even to do that, I have to connect to one of the instances that is still working. I don't see how this is a solution for high availability. I hope that I am missing something. Any ideas why I can't access the cluster when one of the nodes is down? Thank you.
Cluster create command:ruby.exe redis-trib.rb create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002
原文:https://stackoverflow.com/questions/45806296
满意答案
相关问答
更多Backbone.js集合选项(Backbone.js collection options)
Backbone.js集合(Backbone.js Collection)
backbone.js:视图中的按钮,它影响集合中的不同模型(backbone.js: Button in view that affects a different model in collection)
Backbone.js:模型,集合,路由器,何时以及为何?(Backbone.js: Model, Collection, Router, when and why?)
Backbone.js集合url(Backbone.js collection url)
无法从模板中访问Backbone.js集合/模型(Cannot access Backbone.js collection / models from with in template)
Backbone.js或其他MVC提供什么?(What does Backbone.js or other MVC offer?)
Backbone.js View可以有模型和集合吗?(Can a Backbone.js View have a Model and a Collection?)
相关文章
更多redis集群插槽分配-redis集群管理
redis 集群环境搭建-redis集群管理
redis新增集群节点-redis集群管理
redis删除集群节点-redis集群管理
redis集群出现宕机没法访问-redis集群管理
redis 集群使用主从复制架构-redis集群管理
redis安装-redis集群管理
redis主从从架构搭建-redis集群管理
Redis概述
Redis Cookbook
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!