Кластер Redis

(error) NOQUORUM 1 usable Sentinels

После установки кластера Redis как описано Здесь, при попытке проверки получаем ошибку:

sudo redis-cli -p 26379 sentinel ckquorum mymaster
(error) NOQUORUM 1 usable Sentinels. Not enough available Sentinels to reach the specified quorum for this master. Not enough available Sentinels to reach the majority and authorize a failover

Для решения проблемы необходимо прописать (изначально стоит yes) в /etc/redis/sentinel.conf на узлах кластера redis:

protected-mode no

Затем перезапустить sentinel на узлах кластера redis:

sudo systemctl restart redis-sentinel

И теперь все хорошо:

sudo redis-cli -p 26379 sentinel ckquorum mymaster
OK 3 usable Sentinels. Quorum and failover authorization can be reached