redis2.9分布式集群部署的问题

moxiaomomo
领域专家: 后端开发技术领域
2014-02-11 05:45:46
三台物理机器,6个redis实例,每台机器运行两个实例。
单实例可以正常启动了,当创建集群时出现了以下错误:

xiaochram@ubsvr13:/opt/redis-unstable/src$ ./redis-trib.rb create --replicas 1 192.168.1.13:6379 192.168.1.15:6379 192.168.1.40:6379 192.168.1.13:6380 192.168.1.15:6380 192.168.1.40:6380
>>> Creating cluster
Connecting to node 192.168.1.13:6379: OK
Connecting to node 192.168.1.15:6379: OK
Connecting to node 192.168.1.40:6379: OK
Connecting to node 192.168.1.13:6380: OK
Connecting to node 192.168.1.15:6380: OK
Connecting to node 192.168.1.40:6380: OK
>>> Performing hash slots allocation on 6 nodes...
Using 3 masters:
192.168.1.40:6379
192.168.1.15:6379
192.168.1.13:6379
192.168.1.40:6379 replica #1 is 192.168.1.15:6380
192.168.1.15:6379 replica #1 is 192.168.1.40:6380
192.168.1.13:6379 replica #1 is 192.168.1.13:6380
M: 27f0acd598d65faca2d5a0ab4f0b086ee1034db7 192.168.1.13:6379
slots:10922-16383 (5462 slots) master
M: 31510ec83cf3681fcdb0da7e3b919dcec433df7b 192.168.1.15:6379
slots:5461-10921 (5461 slots) master
M: 006177ef19ecb0134f9e45cf26381cdcf644cdd9 192.168.1.40:6379
slots:0-5460,10922-16383 (10923 slots) master
S: 8d146fcb064a010eb3178e2095acb693fd010427 192.168.1.13:6380
replicates 27f0acd598d65faca2d5a0ab4f0b086ee1034db7
S: 4dae541e494d50a34e10ad2dd7b7567fbddcaa90 192.168.1.15:6380
replicates 006177ef19ecb0134f9e45cf26381cdcf644cdd9
S: ca7a9452ea64495bb9d6322a45b18a5630231c45 192.168.1.40:6380
replicates 31510ec83cf3681fcdb0da7e3b919dcec433df7b
Can I set the above configuration? (type 'yes' to accept): yes
/usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis/client.rb:97:in `call': ERR Slot 11291 is already busy (Redis::CommandError)
from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:2432:in `method_missing'
from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:37:in `synchronize'
from /usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize'
from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:37:in `synchronize'
from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:2431:in `method_missing'
from ./redis-trib.rb:203:in `flush_node_config'
from ./redis-trib.rb:571:in `flush_nodes_config'
from ./redis-trib.rb:570:in `each'
from ./redis-trib.rb:570:in `flush_nodes_config'
from ./redis-trib.rb:820:in `create_cluster_cmd'
from ./redis-trib.rb:1026:in `send'
from ./redis-trib.rb:1026

ERR Slot 11291 is already busy 槽被占用了? 求大家指点~~

...全文
390 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
内容概要:本文提出一种基于鱼鹰优化算法(OOA)优化的CNN-BiGUR-Attention混合模型,用于提升短期风电功率预测的精度与稳定性,采用Matlab实现代码仿真。该模型融合卷积神经网络(CNN)提取输入数据的局部空间特征,利用双向门控循环单元(BiGUR)捕捉风速、功率等时间序列的前后向动态依赖关系,并引入注意力机制自适应强化关键时间步的特征权重,从而增强模型对非平稳风电数据的表征能力;进一步,采用OOA算法对模型超参数进行全局寻优,有效提升模型收敛速度与泛化性能。研究基于实际风电场历史数据开展实验验证,结果表明,该方法相较传统模型在预测精度、鲁棒性和误差抑制方面表现更优,适用于高比例可再生能源接入背景下的电力系统调度需求。; 适合人群:从事新能源发电预测、电力系统优化调度、智能算法与深度学习融合应用等方向的科研人员及工程技术人员,尤其适合具备Matlab编程能力、熟悉时间序列建模与深度学习框架的研究者。; 使用场景及目标:①实现风电场短期功率高精度预测,支撑电网安全稳定调度与能量管理;②为深度学习模型结构设计与智能优化算法联合调参提供实践范例;③推动人工智能技术在可再生能源预测、智能电网运行等领域的落地应用。; 阅读建议:建议结合提供的Matlab代码深入理解CNN-BiGUR-Attention网络架构搭建、注意力机制实现方式及OOA优化流程,重点关注数据预处理、模型训练与参数调优细节,可通过替换不同风电数据集进行对比实验,进一步掌握模型迁移能力与适应性。

2,209

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 其他数据库
社区管理员
  • 其他数据库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧