sentinel:master with the master server details.sentinel:instance:1, sentinel:instance:2, and sentinel:instance:3 with Sentinel instance details.sentinel:instances containing the keys of all Sentinel instances.sentinel:master with the master server details.sentinel:instance:1, sentinel:instance:2, and sentinel:instance:3 with Sentinel instance details.sentinel:instances containing the keys of all Sentinel instances.sentinel:master with these fields and values: ip set to 192.168.1.100, port set to 6379, and name set to mymaster.Use the HSET command to create a hash with multiple fields.
sentinel:instance:1, sentinel:instance:2, and sentinel:instance:3. Each should have fields ip and port with these values respectively: (1) 192.168.1.101, 26379; (2) 192.168.1.102, 26379; (3) 192.168.1.103, 26379. Then create a Redis set called sentinel:instances containing the keys of these three Sentinel hashes.Use HSET for each Sentinel instance and SADD to add all instance keys to the set.
sentinel:instances, which lists all Sentinel instance keys monitoring the master.Use the SMEMBERS command to list all members of a set.
SENTINEL get-master-addr-by-name mymaster.Use the SENTINEL get-master-addr-by-name command with the master name.
What is the main role of multiple Redis Sentinel instances working together?
Which of the following is the correct way to configure multiple Sentinel instances to monitor the same Redis master?
sentinel monitor mymaster 127.0.0.1 6379 2What does the last number 2 represent?
Given three Sentinel instances monitoring a Redis master with quorum set to 2, what happens if only one Sentinel detects the master is down?
Identify the error in this Sentinel configuration snippet:
sentinel monitor mymaster 192.168.1.10 6379 0What is wrong with the quorum value?
You have 5 Sentinel instances monitoring a Redis master with quorum set to 3. Two Sentinels lose network connectivity and cannot communicate. What is the impact on failover decisions?
Pass the test and this pattern moves unknown