Comment 3 for bug 1386406

Revision history for this message
Jerry Zhao (zhaoxinyu) wrote :

here is what my keepalived.conf looked like, https://review.openstack.org/#/c/104368/ seems to have changed keepalived element to support ha for more than one virtual ip. I will try building my overcloud image again to see if it fixes my problem.
:

vrrp_script chk_haproxy {
      script "killall -0 haproxy"
      interval 2
      weight 2
}

vrrp_instance VI_1 {
      interface br-ex
      state BACKUP
      nopreempt
      virtual_router_id 51
      priority 101 # 101 on master, 100 on backup
      virtual_ipaddress {
           162.3.121.200 dev br-ex
           162.3.121.74 dev br-ex
      }
      track_script {
           chk_haproxy
      }
}