keepalived not removing realhosts on reload

stephan schultchen <[email protected]> Fri, 11 Nov 2011 15:47:58 +0100
Newsgroups gmane.linux.keepalived.announce
Message-ID <CAL_KE38kpF7pzPHc5TXK7Yx1jADWFLmiC+n3Qsqo+-gE_xMy6w@mail.gmail.com>
hey,

i just setup a keepalived vrrp & ipvs-dr installation on scientific linux 6=
.1.

the vrrp stuff works ok, but the lvs stuff is driving me nuts.

the problem is, that whenever i modify the configuration, remove a
realhost & reload the configuration. keepalived will not remove this
realhost.

here is the configuration port for lvs:

virtual_server 10.1.0.102 3128 {
  delay_loop 120
  lb_algo rr
  lb_kind DR
  protocol TCP

  real_server 10.1.0.31 {
    weight 1
    TCP_CHECK {
      connect_port    3128
      connect_timeout 3
    }
  }

  real_server 10.1.0.32 {
    weight 1
    TCP_CHECK {
      connect_port    3128
      connect_timeout 3
    }
}

is this a bug or a feature that can be turned of with a switch that i
do not know?

cheers

btw, i=B4m used to ldirectord, where this would work. but since rhel 6
(and the clones centos 6 und scientific linux 6) ldirectored is not
included anymore. or at least i do not know what package would provide
it. so i was going to give keepalived a chance.

---------------------------------------------------------------------------=
---
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1