Thank you!!!
I did this (via /proc/sys/net/ipv4/conf/...) and now load balancing is
working great, and the statistics all look right as well.
If you were here I would be buying the beer.
- tony
> -----Original Message-----
> From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Todd Lyons
> Sent: Tuesday, August 10, 2004 6:05 PM
> To: LVS List
> Subject: Re: Strange LVS behavior -- any thoughts?
>
>
> Tony Requist wanted us to know:
>
> >I have a LVS-DR setup using keepalived balancing HTTP and SMTP
> connections
> >without persistence. This was working fine and seemingly load balancing
> >fine, though with little traffic. I have a custom compiled 2.6.7 kernel.
> >
> >Now I am seeing a couple of odd things:
> >
> >1) All requests are sent to one server, even though "ipvsadm"
> shows all the
> >servers available. If I reboot or restart keepalived, another server is
> >seemingly picked at random to get all the requests. I am
> sending requests
> >from several different clients and seeing this.
>
> Adjust the arp_ignore and arp_announce settings for each of the real
> machines.
>
> site12 root # tail -6 /etc/sysctl.conf
> # For load balanced machines
> 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
>
> --
> Regards... Todd
> They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety. --Benjamin Franklin
> Linux kernel 2.6.3-15mdkenterprise 2 users, load average:
> 0.02, 0.10, 0.04
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
>
|