From e93d595baf9b3fbbc0ec213ad725ce438772d8a4 Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Thu, 26 Nov 2015 18:00:55 +0800 Subject: support libverty on ubuntu JIRA: COMPASS-169 Change-Id: I4656cf43eb3db0ba61fae4b03416b9c0239bb50b Signed-off-by: carey.xu --- deploy/adapters/ansible/roles/ha/templates/keepalived.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'deploy/adapters/ansible/roles/ha/templates/keepalived.conf') diff --git a/deploy/adapters/ansible/roles/ha/templates/keepalived.conf b/deploy/adapters/ansible/roles/ha/templates/keepalived.conf index d6f424cd..c2af86b0 100644 --- a/deploy/adapters/ansible/roles/ha/templates/keepalived.conf +++ b/deploy/adapters/ansible/roles/ha/templates/keepalived.conf @@ -14,9 +14,8 @@ vrrp_instance internal_vip { virtual_router_id {{ vrouter_id_internal }} state BACKUP nopreempt - preempt_delay 30 advert_int 1 - priority 100 + priority {{ 50 + (host_index[inventory_hostname] * 50) }} authentication { auth_type PASS @@ -33,9 +32,8 @@ vrrp_instance public_vip { virtual_router_id {{ vrouter_id_public }} state BACKUP nopreempt - preempt_delay 30 advert_int 1 - priority 100 + priority {{ 50 + (host_index[inventory_hostname] * 50) }} authentication { auth_type PASS -- cgit 1.2.3-korg