[geeks] Re: [rescue] web server loadbalancing...

Greg A. Woods geeks at sunhelp.org
Thu Aug 2 14:35:10 CDT 2001


[ On Thursday, August 2, 2001 at 10:33:11 (-0500), Bill Bradford wrote: ]
> Subject: [rescue] web server loadbalancing...
>
> Anybody know of a Linux distribution for UltraSPARC that's 
> currently being maintained?  I'm trying to build a software-based
> load balancer, and so far the only decent software solution looks
> to be the LinuxVirtualServer stuff.  I'd prefer not to have to run
> Linux, but if its the only thing that does what I want for the 
> price I want...

What about IP Filter?  From ipnat(5):

  LOAD-BALANCING
       Two options for use with  rdr  are  available  to  support
       primitive,  round-robin  based  load balancing.  The first
       option allows for a rdr to specify a  second  destination,
       as follows:

       rdr le0 203.1.2.3/32 port 80 -> 203.1.2.3,203.1.2.4 port 80 tcp

       This  would send alternate connections to either 203.1.2.3
       or 203.1.2.4.  In scenarios where the load is being spread
       amongst a larger set of servers, you can use:

       rdr le0 203.1.2.3/32 port 80 -> 203.1.2.3,203.1.2.4 port 80 tcp round-robin
       rdr le0 203.1.2.3/32 port 80 -> 203.1.2.5 port 80 tcp round-robin

       In   this   case,  a  connection  will  be  redirected  to
       203.1.2.3, then 203.1.2.4 and then 203.1.2.5 before  going
       back  to  203.1.2.3.   In  accomplishing this, the rule is
       removed from the top of the list and  added  to  the  end,
       automatically, as required.  This will not effect the dis-
       play of rules using "ipnat -l", only the internal applica-
       tion order.

IP Filter works in *BSD and SunOS-[45].

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods at acm.org>     <woods at robohack.ca>
Planix, Inc. <woods at planix.com>;   Secrets of the Weird <woods at weird.com>



More information about the geeks mailing list