LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] load balancer IP limit?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] load balancer IP limit?
From: Steve Haneman <stevehaneman@xxxxxxxxx>
Date: Fri, 24 Oct 2008 13:00:20 -0700 (PDT)
Here is the change I made:

for (my $x=11; $x <= 62; $x++)
{
        my ($y) = $x + 110;
        #system("/sbin/ipvsadm -A -t 172.16.16.$x:443 -p 1500 -s rr");
        system("/sbin/ipvsadm -A -t 172.16.16.$x:443 -p 1500 -s dh");
        system("/sbin/ipvsadm -a -t 172.16.16.$x:443 -r 192.168.253.$x:443 -m 
-w 1");
        system("/sbin/ipvsadm -a -t 172.16.16.$x:443 -r 192.168.253.$y:443 -m 
-w 1");
}





________________________________
From: Joseph Mack NA3T <jmack@xxxxxxxx>
To: LinuxVirtualServer.org users mailing list. 
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, October 24, 2008 12:28:30 PM
Subject: Re: [lvs-users] load balancer IP limit?

On Fri, 24 Oct 2008, Steve Haneman wrote:

> That fixed it.  I changed from rr to dh and I'm seeing all goodness.  Thanks 
> Jeff!

well I'm impressed. Another way of getting persistence 
without invoking the -p.

It would be nice to know why the original installation 
didn't work.

Joe

> Not sure if this might help but have you tried using different
> scheduling algorithms? In particular maybe destination hashing?

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!




      

<Prev in Thread] Current Thread [Next in Thread>