commit | a5450dbfbbab741ec9e1151f4e1cc8f92b2f8011 | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Thu Jun 29 16:58:41 2017 +0300 |
committer | Dennis Dmitriev <ddmitriev@mirantis.com> | Thu Jun 29 17:05:54 2017 +0300 |
tree | 23b65cbcc6fdb181d17057a0a668c90d344e5ea1 | |
parent | 1431a9278925bb154ce05e5260b3182d96314e5e [diff] |
Don't allow keepalived to switch into 'Failed state' If network interface link flapped, keepalived may lost VIP and switch to a Failed state until the service is restarted. Option 'dont_track_primary' allows keepalived to live in that case. More explanations: https://bits.enigmabridge.com/articles/2016-11/keepalived-high-available-setup.html Related QA issues: https://mirantis.jira.com/browse/PROD-8063 https://mirantis.jira.com/browse/PROD-12038 Change-Id: I5a4928469b3f1c844a38b242ed049cf44e91ee51
diff --git a/keepalived/files/keepalived.conf b/keepalived/files/keepalived.conf index 14b993a..491c0f8 100644 --- a/keepalived/files/keepalived.conf +++ b/keepalived/files/keepalived.conf
@@ -27,6 +27,7 @@ {%- else %} state MASTER {%- endif %} + dont_track_primary {%- if instance.notify_action is defined %} notify /usr/local/bin/keepalived_notify_{{ instance_name }}.sh {%- endif %}