summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorDara Kong <darakong@gmail.com>2014-07-29 10:49:56 -0700
committerantirez <antirez@gmail.com>2014-09-04 10:54:21 +0200
commit3d939266be28d4db5359fea0ce7e9aa7666a8a84 (patch)
tree396f5b392f2c041ff6abcfd6106111ab7f00858a /sentinel.conf
parent67e414c7b871bced5e84f9eb9675a630ed6108dc (diff)
downloadredis-3d939266be28d4db5359fea0ce7e9aa7666a8a84.tar.gz
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
Diffstat (limited to 'sentinel.conf')
-rw-r--r--sentinel.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf
index 2384e9bc7..be18888c0 100644
--- a/sentinel.conf
+++ b/sentinel.conf
@@ -4,6 +4,13 @@
# The port that this sentinel instance will run on
port 26379
+# announce <ip>
+# The IP that other sentinels use to connect to this sentinel instance
+#
+# Example:
+#
+# sentinel announce 1.2.3.4
+
# dir <working-directory>
# Every long running process should have a well-defined working directory.
# For Redis Sentinel to chdir to /tmp at startup is the simplest thing