Re: load balancing and failover

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 09, 2006 at 08:37:11PM +0530, Manish Kathuria wrote:
> Payal Rathod wrote:
> >On Thu, Feb 09, 2006 at 07:52:32PM +0530, Manish Kathuria wrote:
> >
> >>You can try out implementing configuring a load balancing and failover 
> >>system referring to the following documents:
> >>
> >>http://www.ssi.bg/~ja/nano.txt
> >>http://www.ssi.bg/~ja/dgd-usage.txt
> >
> >
> >Sigh!!!!!!!! I thought it must be very easy with lartc.
> >Also,  I cannot patch the kernel. It is a live system and the person 
> >there will definitely kill me if I even ask him.

I made a script that uses a simple conf file and allows quite a lot of work
to be done in minutes. You can give it a chance even thought I guess you
need a basic knowledge of what you are doing (eg: what 'ip rule' does):
http://www.tksq.org/iprt2


There is also a man page with some examples


I don't even know if other such script exists, so I'm not pretending this is
any better that others. It is just wat fitted to my need.


A nice option is to test links using tables to force packets to choose one
particular link. In a way this allows for an easy script that tests the
link/route (without a kernel patch) and takes decision in case the link is
down. To achieve thi I use mangle feature (OUTPUT) + ip rule fwmark. 


I wrote to this list some days ago on this purpouse, becouse kernel does not
always seem to understand wich ip should attach to the packets (this is my
compehension, at least  ;-).



sandro
*:-)


-- 
Sandro Dentella  *:-)
e-mail: sandro@xxxxxxxx 
http://www.tksql.org                    TkSQL Home page - My GPL work
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux