Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- >>> Creating cluster
- >>> Performing hash slots allocation on 6 nodes...
- Using 3 masters:
- 165.227.166.0:7000
- 46.101.194.97:7000
- 207.154.247.79:7000
- Adding replica 46.101.194.97:7001 to 165.227.166.0:7000
- Adding replica 165.227.166.0:7001 to 46.101.194.97:7000
- Adding replica 207.154.247.79:7001 to 207.154.247.79:7000
- M: b5c089fcc0e8a81837ba5db42727b82c76a0587a 165.227.166.0:7000
- slots:0-5460 (5461 slots) master
- S: 1f83d83686c2f601f8e5f0cf4517d5ef4210d54f 165.227.166.0:7001
- replicates e1c0c92426aaf907ad8dcf5f0869b2b7a4234715
- M: e1c0c92426aaf907ad8dcf5f0869b2b7a4234715 46.101.194.97:7000
- slots:5461-10922 (5462 slots) master
- S: 91a281b6a4071291c670315b1452c8799eb7c685 46.101.194.97:7001
- replicates b5c089fcc0e8a81837ba5db42727b82c76a0587a
- M: 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f 207.154.247.79:7000
- slots:10923-16383 (5461 slots) master
- S: 34ace1301056a60c7b2592396d17fa037d7e019a 207.154.247.79:7001
- replicates 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f
- Can I set the above configuration? (type 'yes' to accept): yes
- >>> Nodes configuration updated
- >>> Assign a different config epoch to each node
- >>> Sending CLUSTER MEET messages to join the cluster
- Waiting for the cluster to join....
- >>> Performing Cluster Check (using node 165.227.166.0:7000)
- M: b5c089fcc0e8a81837ba5db42727b82c76a0587a 165.227.166.0:7000
- slots:0-5460 (5461 slots) master
- 1 additional replica(s)
- M: 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f 207.154.247.79:7000
- slots:10923-16383 (5461 slots) master
- 1 additional replica(s)
- S: 91a281b6a4071291c670315b1452c8799eb7c685 46.101.194.97:7001
- slots: (0 slots) slave
- replicates b5c089fcc0e8a81837ba5db42727b82c76a0587a
- M: e1c0c92426aaf907ad8dcf5f0869b2b7a4234715 46.101.194.97:7000
- slots:5461-10922 (5462 slots) master
- 1 additional replica(s)
- S: 1f83d83686c2f601f8e5f0cf4517d5ef4210d54f 165.227.166.0:7001
- slots: (0 slots) slave
- replicates e1c0c92426aaf907ad8dcf5f0869b2b7a4234715
- S: 34ace1301056a60c7b2592396d17fa037d7e019a 207.154.247.79:7001
- slots: (0 slots) slave
- replicates 6bc7b9218aa06f8a0e92fc92319837982d5f1d4f
- [OK] All nodes agree about slots configuration.
- >>> Check for open slots...
- >>> Check slots coverage...
- [OK] All 16384 slots covered.
Add Comment
Please, Sign In to add comment