Skip to content

翻了车的老司机

其实我一直在你身边

Search for:

redisCategorySubscribe

Redis5 创建集群

./src/redis-cli -a zzs888 –cluster create 172.16.164.31:8001 172.16.164.31:8002 172.16.164.31:8003 172.16.164.31:8004 172.16.164.31:8005 172.16.164.31:8006 –cluster-replicas 1

  • Posted on: 2019年4月25日 2019年4月25日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(九) del-node删除集群节点

./src/redis-trib.rb del-node 114.55.116.177:8011 d15d12ebd2c9f26c0842972388b140fe8b99663c
./src/redis-trib.rb add-node –slave –master-id 2be98baec0311e499a3aca1726aba895a1f15c1e 114.55.116.177:8011 114.55.116.177:8001

  • Posted on: 2019年4月24日 2019年4月24日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(八) fix命令修复节点

./src/redis-trib.rb check 114.55.116.177:8002
./src/redis-trib.rb fix 114.55.116.177:8003

  • Posted on: 2019年4月24日 2019年4月24日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(七) rebalance平衡集群节点slot数量

./src/redis-trib.rb rebalance –use-empty-masters –pipeline 100 –simulate 114.55.116.177:8002
./src/redis-trib.rb rebalance –use-empty-masters –pipeline 100 114.55.116.177:8002

  • Posted on: 2019年4月23日 2019年4月24日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(六) reshard迁移分配slot

./src/redis-trib.rb add-node 114.55.116.177:8013 114.55.116.177:8001 (新增集群8013master节点)
./src/redis-trib.rb reshard 114.55.116.177:8013(为8013master节点重新分配slot)
./src/redis-trib.rb check 114.55.116.177:8004 (重新check检查集群,8001节点减少1500个slots,8013节点增加1500个slot)

  • Posted on: 2019年4月23日 2019年4月23日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(五) add-node新增节点

./src/redis-trib.rb add-node 114.55.116.177:8010 114.55.116.177:8001
./src/redis-trib.rb add-node –slave –master-id 4e6ac38201943a070d65dc7c489e334cb7cf9bc6 114.55.116.177:8010 114.55.116.177:8001

  • Posted on: 2019年4月23日 2019年4月24日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(四) info查看集群主节点信息

命令格式:ruby redis-trib.rb info host:port
./src/redis-trib.rb info 114.55.116.177:8001

  • Posted on: 2019年4月23日 2019年4月23日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(三) check检查集群

./src/redis-trib.rb check 114.55.116.177:8001

  • Posted on: 2019年4月23日 2019年4月23日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(二) create创建集群

#​/opt/redis-3.0.6/src/redis-trib.rb create –replicas 2 114.55.116.177:8001 114.55.116.177:8002 114.55.116.177:8003 114.55.116.177:8004 114.55.116.177:8005 114.55.116.177:8006 114.55.116.177:8007 114.55.116.177:8008 114.55.116.177:8009

  • Posted on: 2019年4月23日 2019年4月24日
  • Author: zzs10086
  • Categories: redis

Redis Cluster集群管理工具redis-trib.rb 详解(一)

redis-cli -h 127.0.0.1 -p 6379 -a zzs888
./src/redis-trib.rb help

  • Posted on: 2019年4月23日 2019年4月24日
  • Author: zzs10086
  • Categories: redis

Pagination

Previous page Page: 1 Page: 2 Page: 3 Next page

分类目录

  • docker
  • elasticsearch
  • git
  • go
  • java
  • javascript
  • laravel
  • Linux
  • mysql
  • nginx
  • node.js
  • php
  • redis
  • shell
  • vue
  • webpack
  • 小程序
Search for:
2025年六月
一 二 三 四 五 六 日
« 5月    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

近期文章

  • Mysql创建触发器
  • 创建docker 容器关联
  • composer laravel 安装时遇到 github 报错
  • wordpress如何开启全站https
  • CentOS上安装Redis

近期评论

    © 2025 翻了车的老司机. 我在你身边绕了一个圈,回到原点你却已在远方。

    苏ICP备16035736号-3

    友情链接:一览网  江苏景威控股集团有限公司