27 Commits

Author SHA1 Message Date
antirez
ab846081da Sentinel: document how to undo a renamed command. 2018-09-17 15:29:04 +02:00
Jakub Vrana
33c3cc5f47 Slave removal: capitalize Replica 2018-09-11 15:32:28 +02:00
antirez
d61d753426 Slave removal: remove slave from sentinel.conf when possible.
All the occurrences translated, but the ones referring to SLAVEOF
must be intact because that describe the actual Sentinel -> Redis
protocol. In theory we could send REPLICAOF to Redis instances, but
actually this would prevent Sentinel to be compatible with older Redis
instances.
2018-09-11 15:32:28 +02:00
zhaozhao.zz
55a0a19cf6 remove duplicate bind in sentinel.conf 2018-08-27 12:07:24 +08:00
Salvatore Sanfilippo
c03b9eaa15 Merge pull request #2292 from lamby/sentinel-conf-defaults
Make some defaults explicit in the sentinel.conf for package maintainers
2018-08-26 11:19:51 +02:00
antirez
b832b01502 Sentinel command renaming: document it into sentinel.conf. 2018-06-25 17:45:01 +02:00
antirez
bc216a18bc Sentinel: add an option to deny online script reconfiguration.
The ability of "SENTINEL SET" to change the reconfiguration script at
runtime is a problem even in the security model of Redis: any client
inside the network may set any executable to be ran once a failover is
triggered.

This option adds protection for this problem: by default the two
SENTINEL SET subcommands modifying scripts paths are denied. However the
user is still able to rever that using the Sentinel configuration file
in order to allow such a feature.
2018-06-14 18:57:58 +02:00
antirez
358e39ba30 Sentinel example config: warn about protected mode. 2016-08-11 19:53:12 +02:00
Chris Lamb
2b7ab08e46 Make some defaults explicit in the sentinel.conf for package maintainers
This may look a little pointless (and it is a complete no-op change here)
but as package maintainers need to modify these lines to actually
daemonize (etc. etc) but it's far preferable if the diff is restricted to
actually changing just that bit, not adding docs, etc. The less diff the
better, in general.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2015-01-16 09:03:00 +00:00
Jan-Erik Rediger
3178252388 Fix sentinel.conf typo
Closes #1739
2014-09-29 06:49:08 -04:00
antirez
a81484f06b Sentinel: clarify announce-ip/port options in sentinel.conf. 2014-09-04 11:30:11 +02:00
Dara Kong
2690dc2474 sentinel: Decouple bind address from address sent to other sentinels
There are instances such as EC2 where the bind address is private
(behind a NAT) and cannot be accessible from WAN.

https://groups.google.com/d/msg/redis-db/PVVvjO4nMd0/P3oWC036v3cJ
2014-09-04 10:54:21 +02:00
antirez
9df261fa21 Sentinel example config: explain you don't need to specify slaves. 2014-05-26 10:17:12 +02:00
antirez
13181f0a1c Sentinel: Add "dir /tmp" directive in example sentinel.conf. 2014-05-12 10:46:25 +02:00
antirez
90a3dcc056 Typo in sentinel.conf, exists -> exits. 2014-03-07 18:03:51 +01:00
Yubao Liu
c7ae8e7d1f fix typo in redis.conf and sentinel.conf 2013-12-11 15:46:42 +08:00
antirez
573c416e00 Sentinel: example sentinel.conf updated. 2013-11-21 17:07:00 +01:00
guiquanz
df7a5b7157 Fixed many typos. 2013-01-19 10:59:44 +01:00
antirez
0546cdeae6 Sentinel: Support for AUTH. 2012-09-26 18:59:54 +02:00
antirez
6dd0770966 Sentinel: client reconfiguration script execution.
This commit adds support to optionally execute a script when one of the
following events happen:

* The failover starts (with a slave already promoted).
* The failover ends.
* The failover is aborted.

The script is called with enough parameters (documented in the example
sentinel.conf file) to provide information about the old and new ip:port
pair of the master, the role of the sentinel (leader or observer) and
the name of the master.

The goal of the script is to inform clients of the configuration change
in a way specific to the environment Sentinel is running, that can't be
implemented in a genereal way inside Sentinel itself.
2012-08-02 18:40:30 +02:00
antirez
58ab276fa5 Sentinel: sentinel.conf self-documenation improved. 2012-07-31 11:05:21 +02:00
Jeremy Zawodny
12a75ff3ca comment fix
improve English a bit. :-)
2012-07-28 20:54:26 +02:00
antirez
4661258e05 Sentinel: ability to execute notification scripts. 2012-07-25 16:33:37 +02:00
mrb
175d0fa1ce Some cleanup in sentinel.conf 2012-07-25 09:52:26 -04:00
antirez
b37d5b4728 Fixed an error in the example sentinel.conf. 2012-07-23 15:08:36 +02:00
antirez
aea1435caf Typo. 2012-07-23 15:06:55 +02:00
antirez
43cc64d30e First implementation of Redis Sentinel.
This commit implements the first, beta quality implementation of Redis
Sentinel, a distributed monitoring system for Redis with notification
and automatic failover capabilities.

More info at http://redis.io/topics/sentinel
2012-07-23 13:14:44 +02:00