Complete the code to check the Sentinel status command.
redis-cli [1]The SENTINEL masters command lists all monitored masters, showing Sentinel's view of the cluster status.
Complete the code to failover a master using Sentinel.
redis-cli [1] mymasterThe SENTINEL failover mymaster command forces Sentinel to start a failover for the master named 'mymaster'.
Fix the error in the command to get the master address.
redis-cli SENTINEL [1] mymasterThe correct command is get-master-addr-by-name to get the IP and port of the master.
Fill both blanks to create a Sentinel configuration command.
SENTINEL [1] mymaster [2] 6379
The command SENTINEL monitor mymaster 127.0.0.1 6379 tells Sentinel to monitor the master at IP 127.0.0.1 and port 6379.
Fill both blanks to create a command that resets Sentinel state for a master.
SENTINEL [1] [2]
The command SENTINEL reset mymaster resets Sentinel's state for the master named 'mymaster'.