February 2018
Intermediate to advanced
382 pages
11h 33m
English
To test the Redis Sentinel set up in the previous recipe, take the following steps:
192.168.0.32:26379> SENTINEL FAILOVER MYMASTEROK
192.168.0.31:26379> INFO REPLICATION# Replicationrole:slavemaster_host:192.168.0.33master_port:6379master_link_status:up...
2283:X 12 Nov 15:35:14.782 # Executing user requested FAILOVER of 'mymaster'2283:X 12 Nov 15:35:14.782 # +new-epoch 12283:X 12 Nov 15:35:14.782 # +try-failover master mymaster 192.168.0.31 63792283:X 12 Nov 15:35:14.789 ...
Read now
Unlock full access