This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Host and port we will listen for requests on | |
bind redis1 | |
port 16300 | |
# Database location | |
dir . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Host and port we will listen for requests on | |
bind redis2 | |
port 26300 | |
# Database location | |
dir . | |
# Where to replicate from | |
slaveof redis1 16300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Host and port we will listen for requests on | |
bind redis3 | |
port 36300 | |
# Database location | |
dir . | |
# Where to replicate from | |
slaveof redis1 16300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Host and port we will listen for requests on | |
bind redis1 | |
port 16355 | |
# | |
# Our initial master is called redis-ha, there is a quorum of 2 sentinels | |
# needed for failover, after 10 seconds we declare a node to | |
# be down in our opinion, only 1 standby (slave) node can replicate with | |
# new master after failover and we don't allow for the same master to be failed over | |
# more often than once in 3 minutes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Host and port we will listen for requests on | |
bind redis2 | |
port 26355 | |
# | |
# Our initial master is called redis-ha, there is a quorum of 2 sentinels | |
# needed for failover, after 10 seconds we declare a node to | |
# be down in our opinion, only 1 standby (slave) node can replicate with | |
# new master after failover and we don't allow for the same master to be failed over | |
# more often than once in 3 minutes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Host and port we will listen for requests on | |
bind redis3 | |
port 36355 | |
# | |
# Our initial master is called redis-ha, there is a quorum of 2 sentinels | |
# needed for failover, after 10 seconds we declare a node to | |
# be down in our opinion, only 1 standby (slave) node can replicate with | |
# new master after failover and we don't allow for the same master to be failed over | |
# more often than once in 3 minutes. | |
# |