Skip to content
Snippets Groups Projects
Commit 6dd6fe80 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix redis sentinel change myid every time when it restarted"

parents 3288e0c4 735d085b
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ pidfile "/var/run/redis/redis-sentinel.pid"
logfile "/var/log/kolla/redis/redis-sentinel.log"
bind {{ api_interface_address }}
port {{ redis_sentinel_port }}
sentinel myid {{ inventory_hostname | hash('sha1') }}
sentinel monitor kolla {{ redis_master_address }} {{ redis_port }} 2
sentinel auth-pass kolla {{ redis_master_password }}
sentinel down-after-milliseconds kolla 5000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment