Commit Graph

27 Commits

Author SHA1 Message Date
378218d746 Sentinel: document how to undo a renamed command. 2018-09-17 15:29:04 +02:00
cb51bb4320 Slave removal: capitalize Replica 2018-09-11 15:32:28 +02:00
f74c7394d7 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
e711e6f614 remove duplicate bind in sentinel.conf 2018-08-27 12:07:24 +08:00
8d519a85f4 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
8ba670f55c Sentinel command renaming: document it into sentinel.conf. 2018-06-25 17:45:01 +02:00
6a66b93b18 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
e0d4146620 Sentinel example config: warn about protected mode. 2016-08-11 19:53:12 +02:00
3447062d5e 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
cf737ff1c8 Fix sentinel.conf typo
Closes #1739
2014-09-29 06:49:08 -04:00
c9437fe5a3 Sentinel: clarify announce-ip/port options in sentinel.conf. 2014-09-04 11:30:11 +02:00
3d939266be 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
69fa133ec2 Sentinel example config: explain you don't need to specify slaves. 2014-05-26 10:17:12 +02:00
63d1f9e570 Sentinel: Add "dir /tmp" directive in example sentinel.conf. 2014-05-12 10:46:25 +02:00
0f2597092f Typo in sentinel.conf, exists -> exits. 2014-03-07 18:03:51 +01:00
6d5fa2e06c fix typo in redis.conf and sentinel.conf 2013-12-11 15:46:42 +08:00
37b43c8a24 Sentinel: example sentinel.conf updated. 2013-11-21 17:07:00 +01:00
9d09ce3981 Fixed many typos. 2013-01-19 10:59:44 +01:00
db100c4671 Sentinel: Support for AUTH. 2012-09-26 18:59:54 +02:00
6275004ca6 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
ed2a691aba Sentinel: sentinel.conf self-documenation improved. 2012-07-31 11:05:21 +02:00
78b606acc2 comment fix
improve English a bit. :-)
2012-07-28 20:54:26 +02:00
baace5fc42 Sentinel: ability to execute notification scripts. 2012-07-25 16:33:37 +02:00
mrb
23023fc626 Some cleanup in sentinel.conf 2012-07-25 09:52:26 -04:00
1bbdf1709f Fixed an error in the example sentinel.conf. 2012-07-23 15:08:36 +02:00
be2be3d903 Typo. 2012-07-23 15:06:55 +02:00
6b5daa2df2 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