Comments on: How to Setup Redis For High Availability with Sentinel in CentOS 8 – Part 2 https://www.tecmint.com/setup-redis-high-availability-with-sentinel-in-centos-8/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Tue, 06 Jun 2023 00:32:30 +0000 hourly 1 By: KB Benton https://www.tecmint.com/setup-redis-high-availability-with-sentinel-in-centos-8/comment-page-1/#comment-2022840 Tue, 06 Jun 2023 00:32:30 +0000 https://www.tecmint.com/?p=36750#comment-2022840 In order to use debug sleep 60 (or any other value) directive on a recent version of redis, one must enable the debug command in the redis.conf file. It needs a line like this:

enable-debug-command yes

This is not a dynamic setting so in order to enable it, a restart is required. It’s probably *not* a good idea to leave this setting enabled most of the time or on a production instance.

]]>
By: jr https://www.tecmint.com/setup-redis-high-availability-with-sentinel-in-centos-8/comment-page-1/#comment-1540951 Wed, 07 Jul 2021 16:34:30 +0000 https://www.tecmint.com/?p=36750#comment-1540951 When the first slave is promoted to be the master, the 2nd slave could not connect to it.

Here is the error I’m encountering:

30751:S 07 Jul 16:32:03.415 * Connecting to MASTER 10.1.0.2:6379
30751:S 07 Jul 16:32:03.415 * MASTER SLAVE sync started
30751:S 07 Jul 16:32:03.416 * Non-blocking connect for SYNC fired the event.
30751:S 07 Jul 16:32:03.418 * Master replied to PING, replication can continue…
30751:S 07 Jul 16:32:03.418 # Unable to AUTH to MASTER: -ERR Client sent AUTH, but no password is set

]]>