On Tue, 2005-07-26 at 09:16 +0200, Alessandro Tarchi wrote:
> Hi,
> I set up 2 server as lvs-dr balancer in HA and 2 realserver apache in
> the same subnet.
> For lvr-dr nodes I used rhES3 with rpm packages ipvsadm and piranha
> (pulse + nanny).
> For apache nodes I used rhES3 with kernel 2.4.29 and these settings:
>
> net.ipv4.conf.lo.arp_ignore = 1
> net.ipv4.conf.lo.arp_announce = 2
> net.ipv4.conf.all.arp_ignore = 1
> net.ipv4.conf.all.arp_announce = 2
>
> in /etc/sysctl.conf to solve the arp problem.
>
> The system seems to work right, but when I stop apache on a realserver
> (i.e. for maintenance), I see (ipvsadm -l) the weight change from 1 to 0
> but the entry is still present and the client directed on that
> realserver lose the connection.
Are you using persistence? If so you should set the weight to 0 in
ldirector, then wait for all peristent connection to expire before
taking out the RS.
--
pc
|