Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
69fa133e
Commit
69fa133e
authored
May 26, 2014
by
antirez
Browse files
Sentinel example config: explain you don't need to specify slaves.
parent
d0566dae
Changes
1
Hide whitespace changes
Inline
Side-by-side
sentinel.conf
View file @
69fa133e
...
@@ -20,6 +20,12 @@ dir /tmp
...
@@ -20,6 +20,12 @@ dir /tmp
# be elected by the majority of the known Sentinels in order to
# be elected by the majority of the known Sentinels in order to
# start a failover, so no failover can be performed in minority.
# start a failover, so no failover can be performed in minority.
#
#
# Slaves are auto-discovered, so you don't need to specify slaves in
# any way. Sentinel itself will rewrite this configuration file adding
# the slaves using additional configuration options.
# Also note that the configuration file is rewritten when a
# slave is promoted to master.
#
# Note: master name should not include special characters or spaces.
# Note: master name should not include special characters or spaces.
# The valid charset is A-z 0-9 and the three characters ".-_".
# The valid charset is A-z 0-9 and the three characters ".-_".
sentinel
monitor
mymaster
127
.
0
.
0
.
1
6379
2
sentinel
monitor
mymaster
127
.
0
.
0
.
1
6379
2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment