tecoholic

redis-cluster setup log

Sep 26th, 2017
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. root@ubuntu-512mb-fra1-01:~/redis-stable/src# ./redis-trib.rb create --replicas 1 165.227.166.0:7000 165.227.166.0:7001 46.101.194.97:7000 46.101.194.97:7001 207.154.247.79:7000 207.154.247.79:7001
  2. >>> Creating cluster
  3. >>> Performing hash slots allocation on 6 nodes...
  4. Using 3 masters:
  5. 165.227.166.0:7000
  6. 46.101.194.97:7000
  7. 207.154.247.79:7000
  8. Adding replica 46.101.194.97:7001 to 165.227.166.0:7000
  9. Adding replica 165.227.166.0:7001 to 46.101.194.97:7000
  10. Adding replica 207.154.247.79:7001 to 207.154.247.79:7000
  11. M: b5c089fcc0e8a81837ba5db42727b82c76a0587a 165.227.166.0:7000
  12. slots:0-5460 (5461 slots) master
  13. S: 1f83d83686c2f601f8e5f0cf4517d5ef4210d54f 165.227.166.0:7001
  14. replicates e1c0c92426aaf907ad8dcf5f0869b2b7a4234715
  15. M: e1c0c92426aaf907ad8dcf5f0869b2b7a4234715 46.101.194.97:7000
  16. slots:5461-10922 (5462 slots) master
  17. S: 91a281b6a4071291c670315b1452c8799eb7c685 46.101.194.97:7001
  18. replicates b5c089fcc0e8a81837ba5db42727b82c76a0587a
  19. M: 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f 207.154.247.79:7000
  20. slots:10923-16383 (5461 slots) master
  21. S: 34ace1301056a60c7b2592396d17fa037d7e019a 207.154.247.79:7001
  22. replicates 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f
  23. Can I set the above configuration? (type 'yes' to accept): yes
  24. >>> Nodes configuration updated
  25. >>> Assign a different config epoch to each node
  26. >>> Sending CLUSTER MEET messages to join the cluster
  27. Waiting for the cluster to join....
  28. >>> Performing Cluster Check (using node 165.227.166.0:7000)
  29. M: b5c089fcc0e8a81837ba5db42727b82c76a0587a 165.227.166.0:7000
  30. slots:0-5460 (5461 slots) master
  31. 1 additional replica(s)
  32. M: 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f 207.154.247.79:7000
  33. slots:10923-16383 (5461 slots) master
  34. 1 additional replica(s)
  35. S: 91a281b6a4071291c670315b1452c8799eb7c685 46.101.194.97:7001
  36. slots: (0 slots) slave
  37. replicates b5c089fcc0e8a81837ba5db42727b82c76a0587a
  38. M: e1c0c92426aaf907ad8dcf5f0869b2b7a4234715 46.101.194.97:7000
  39. slots:5461-10922 (5462 slots) master
  40. 1 additional replica(s)
  41. S: 1f83d83686c2f601f8e5f0cf4517d5ef4210d54f 165.227.166.0:7001
  42. slots: (0 slots) slave
  43. replicates e1c0c92426aaf907ad8dcf5f0869b2b7a4234715
  44. S: 34ace1301056a60c7b2592396d17fa037d7e019a 207.154.247.79:7001
  45. slots: (0 slots) slave
  46. replicates 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f
  47. [OK] All nodes agree about slots configuration.
  48. >>> Check for open slots...
  49. >>> Check slots coverage...
  50. [OK] All 16384 slots covered.
Add Comment
Please, Sign In to add comment