February 2018
Intermediate to advanced
382 pages
11h 33m
English
You may feel there are too many steps required for one to create a Redis Cluster. It's much easier to use the script redis-trib.rb shipped along with the Redis source code to perform the creation and administration of a Redis Cluster. You can refer to the Redis Cluster tutorial to find out more details.
For this example, we can check the Cluster status using the following command:
redis@192.168.1.57:~> ./script/redis-trib.rb check 192.168.1.57:6379>>> Performing Cluster Check (using node 192.168.1.57:6379)M: 58285fa03c19f6e6f633fb5c58c6a314bf25503f 192.168.1.57:6379slots:0-5400 (5401 slots) master...slots: (0 slots) slavereplicates 58285fa03c19f6e6f633fb5c58c6a314bf25503fS: 7e06908bd0c7c3b23aaa17f84d96ad4c18016b1a 192.168.1.57:6381 ...
Read now
Unlock full access