摘要: 1安装redis(本例已安装可忽略) [root@db01 ~]# yum makecache fast [root@db01 ~]# yum install rubygems [root@db01 ~]# gem sources --remove https://rubygems.org/ [ro 阅读全文
posted @ 2021-04-13 18:08 linuxTang 阅读(115) 评论(0) 推荐(0)
摘要: 一高可用配置: 1把集群信息保存到txt文档里以作备用: [root@db01 ~]# sh redis_shell.sh login 6380 10.0.0.201:6380> cluster nodes 4c007a5e2d894aa4c6ce950467221f01fd50f645 10.0. 阅读全文
posted @ 2021-04-13 16:53 linuxTang 阅读(210) 评论(0) 推荐(0)
摘要: 1先获取所有主节点信息 [root@db03 ~]# redis-cli -c -h db01 -p 6381 cluster nodes #先查看节点信息并保存 ddee11b9c4c6622bbf28497c53aa1eb84846084f 10.0.0.203:6381 slave 4c007 阅读全文
posted @ 2021-04-13 16:36 linuxTang 阅读(689) 评论(0) 推荐(0)