Complete the code to set the name of the monitored master in the Sentinel configuration.
sentinel monitor [1] 127.0.0.1 6379 2
The sentinel monitor command requires the master name as the first argument. 'mymaster' is the default and commonly used name.
Complete the code to set the quorum for the Sentinel to 3.
sentinel set [1] quorum 3
The quorum setting applies to the monitored master name. It tells Sentinel how many Sentinels must agree to failover.
Fix the error in the Sentinel configuration command to set the failover timeout to 15000 milliseconds.
sentinel set mymaster [1] 15000
The correct option name is failover-timeout with a hyphen, as required by Redis Sentinel configuration syntax.
Fill both blanks to configure Sentinel to notify a script and set the client reconfiguration timeout.
sentinel set mymaster [1] /path/to/notify.sh sentinel set mymaster [2] 10000
The notification-script option sets the script to run on events. The client-reconfig-timeout sets the timeout for client reconfiguration.
Fill all three blanks to configure Sentinel with master name, IP, port, and quorum.
sentinel monitor [1] [2] [3] 2
The sentinel monitor command requires the master name, IP address, port, and quorum number. Here, 'mymaster' is the name, '192.168.1.100' is the IP, and '6379' is the port.