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
7c9bfe10
Commit
7c9bfe10
authored
Jul 31, 2012
by
antirez
Browse files
Sentinel: sentinel.conf self-documenation improved.
parent
3da75e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
sentinel.conf
View file @
7c9bfe10
...
@@ -52,6 +52,27 @@ sentinel parallel-syncs mymaster 1
...
@@ -52,6 +52,27 @@ sentinel parallel-syncs mymaster 1
# Default is 15 minutes.
# Default is 15 minutes.
sentinel
failover
-
timeout
mymaster
900000
sentinel
failover
-
timeout
mymaster
900000
# SCRIPTS EXECTION
#
# sentinel notification-script and sentinel reconfig-script are used in order
# to configure scripts that are called to notify the system administrator
# or to reconfigure clients after a failover. The scripts are executed
# with the following rules for error handling:
#
# If script exists with "1" the execution is retried later (up to a maximum
# number of times currently set to 10).
#
# If script exists with "2" (or an higher value) the script execution is
# not retried.
#
# If script terminates because it receives a signal the behavior is the same
# as exit code 1.
#
# A script has a maximum running time of 60 seconds. After this limit is
# reached the script is terminated with a SIGKILL and the execution retried.
# NOTIFICATION SCRIPT
#
# sentinel notification-script <master-name> <script-path>
# sentinel notification-script <master-name> <script-path>
#
#
# Call the specified notification script for any sentienl event that is
# Call the specified notification script for any sentienl event that is
...
...
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