All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Load balancing  and failover
@ 2003-11-19 14:34 hare ram
  0 siblings, 0 replies; 10+ messages in thread
From: hare ram @ 2003-11-19 14:34 UTC (permalink / raw)
  To: lartc

Hi all


i was going through the documents
i need to achive the following setup, but iam confused to deploy
but some one recomed me what will be good

        ------------------------
offic ------------------------  other office ----- Switch ----lan users
        ___________________


---  fiber link
___ wireless link


now i want fiber both the links to be load balance from other office to this
office
when one fiber down, it shoould shift to other fiber with full load
if other fiber down, it should shift to wireless

other side i have PC with 4 ethernet cards

1 connected to 1st fiber
2nd connected to 2nd fiber
3 is connected to wireless
4th is connect to local LAN of other side of office

OFFICE  side all connected to to my 3548XL Cisco Switch

i dont want to give any IP's to 1 2 3, they should work in bridge mode
4th will have one of the IP range of OFFICE .

iam using RH 9.0 with all patches

any one recomend me how can i achive this setup

thanks in advance for the advice

hare





_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [LARTC] load balancing and failover
@ 2006-02-09 11:58 Payal Rathod
  2006-02-09 14:34 ` Manish Kathuria
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Payal Rathod @ 2006-02-09 11:58 UTC (permalink / raw)
  To: lartc

Hi,
A friend of mine has 2 lines of 512kbps terminated in two Linux boxes.  
He now want to remove those 2 boxes and have some device which will 
loadbalance the two ISPs and also have a failover arrangement. But he 
has agreed to give me a chance to do it on Linux for my own 
satisfication.
Is this easy to do with lartc? How do I go about it exactly?  I have 
very less time to do it since his whole network will be done for that 
time and I cannot afford to play for long time. Is it worth trying it 
with lartc for academic sake atleast?
Can someone suggest some easy steps?
With warm regards,
-Payal
p.s. Is lartc.org down?
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
@ 2006-02-09 14:34 ` Manish Kathuria
  2006-02-09 14:40 ` Payal Rathod
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Manish Kathuria @ 2006-02-09 14:34 UTC (permalink / raw)
  To: lartc

Payal Rathod wrote:
> Hi,
> A friend of mine has 2 lines of 512kbps terminated in two Linux boxes.  
> He now want to remove those 2 boxes and have some device which will 
> loadbalance the two ISPs and also have a failover arrangement. But he 
> has agreed to give me a chance to do it on Linux for my own 
> satisfication.
> Is this easy to do with lartc? How do I go about it exactly?  I have 
> very less time to do it since his whole network will be done for that 
> time and I cannot afford to play for long time. Is it worth trying it 
> with lartc for academic sake atleast?
> Can someone suggest some easy steps?
> With warm regards,
> -Payal
> p.s. Is lartc.org down?

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

You will need to patch and recompile the linux kernel using the "routes" 
patch given at http://www.ssi.bg/~ja/#routes for dead gateway detection 
to work.

The load balancing part works fine but dead gateway detection (and hence 
failover) does not work always. It works best when your first hop 
gateway is down but may or may not work when a subsequent hop is down. 
In a recent case, I observed that dead gateway detection and the 
failover was working very well when one ISP failed but did not happen 
when the other one went down. So you can try your luck here.

--
Manish Kathuria
http://www.tuxspace.com/


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
  2006-02-09 14:34 ` Manish Kathuria
@ 2006-02-09 14:40 ` Payal Rathod
  2006-02-09 15:19 ` Manish Kathuria
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Payal Rathod @ 2006-02-09 14:40 UTC (permalink / raw)
  To: lartc

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.

Payal
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
  2006-02-09 14:34 ` Manish Kathuria
  2006-02-09 14:40 ` Payal Rathod
@ 2006-02-09 15:19 ` Manish Kathuria
  2006-02-09 15:34 ` Payal Rathod
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Manish Kathuria @ 2006-02-09 15:19 UTC (permalink / raw)
  To: lartc

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.
> 
> Payal
> 
> 
> .
> 
It is actually easy. The LARTC How To does not take care of failover but 
load balancing works fine. So if you want just load balancing you can go 
with it. You can also try out any of the following approaches / scripts:

http://yesican.chsoft.biz/lartc/MultihomedLinuxNetworking.html
http://www.burnpc.com/website.nsf/all/FE5F4F294F508EB786256E600019BC30
http://www.linux.com.lb/wiki/index.pl?node=Load%20Balancing%20Across%20Multiple%20Links
http://www.initzero.it/products/opensource/izbalancing/download/izbalancing
http://routeskeeper.sourceforge.net/Routeskeeper/

But nano.txt is probably the best way out.

You can get hold of a spare system or a hard disk and move it there 
after you set it up.

--
Manish Kathuria
http://www.tuxspace.com/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
                   ` (2 preceding siblings ...)
  2006-02-09 15:19 ` Manish Kathuria
@ 2006-02-09 15:34 ` Payal Rathod
  2006-02-09 15:53 ` gypsy
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Payal Rathod @ 2006-02-09 15:34 UTC (permalink / raw)
  To: lartc

On Thu, Feb 09, 2006 at 08:37:11PM +0530, Manish Kathuria wrote:
> It is actually easy. The LARTC How To does not take care of failover 
> but load balancing works fine. So if you want just load balancing you 
> can go with it. You can also try out any of the following approaches / 
> scripts:

Thanks for the links. They will make excellent reading. He has prper 
lease lines and so  I thought it will be a piece of cake to do it in 
Linux. Guess I have to eat my words ;)
With warm regards,
-Payal
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
                   ` (3 preceding siblings ...)
  2006-02-09 15:34 ` Payal Rathod
@ 2006-02-09 15:53 ` gypsy
  2006-02-11  9:08 ` Sandro Dentella
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: gypsy @ 2006-02-09 15:53 UTC (permalink / raw)
  To: lartc

Payal Rathod wrote:
> 
> Hi,
> A friend of mine has 2 lines of 512kbps terminated in two Linux boxes.
> He now want to remove those 2 boxes and have some device which will
> loadbalance the two ISPs and also have a failover arrangement. But he
> has agreed to give me a chance to do it on Linux for my own
> satisfication.
> Is this easy to do with lartc? How do I go about it exactly?  I have
> very less time to do it since his whole network will be done for that
> time and I cannot afford to play for long time. Is it worth trying it
> with lartc for academic sake atleast?
> Can someone suggest some easy steps?
> With warm regards,
> -Payal

Probably you are in over your head.  Have a look at these and decide for
yourself:
http://linux-ha.org/

http://www.ssi.bg/~ja/

http://www.geocities.com/mctiew/ffw/dual.htm

http://muse.linuxmafia.org/netsane/

> p.s. Is lartc.org down?

No, it just does not resolve.  Check this list from a couple of days ago
for the IP but it is dynamic so it may have changed since that posting.
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
                   ` (4 preceding siblings ...)
  2006-02-09 15:53 ` gypsy
@ 2006-02-11  9:08 ` Sandro Dentella
  2006-02-11 18:11 ` Jason Boxman
  2006-02-12 17:27 ` Sandro Dentella
  7 siblings, 0 replies; 10+ messages in thread
From: Sandro Dentella @ 2006-02-11  9:08 UTC (permalink / raw)
  To: lartc

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@e-den.it 
http://www.tksql.org                    TkSQL Home page - My GPL work
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
                   ` (5 preceding siblings ...)
  2006-02-11  9:08 ` Sandro Dentella
@ 2006-02-11 18:11 ` Jason Boxman
  2006-02-12 17:27 ` Sandro Dentella
  7 siblings, 0 replies; 10+ messages in thread
From: Jason Boxman @ 2006-02-11 18:11 UTC (permalink / raw)
  To: lartc

On Saturday 11 February 2006 04:08, Sandro Dentella wrote:
<snip>
> 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

$ host www.tksq.org
www.tksq.org does not exist, try again

-- 

Jason Boxman
http://edseek.com/ - Linux and FOSS stuff

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [LARTC] load balancing and failover
  2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
                   ` (6 preceding siblings ...)
  2006-02-11 18:11 ` Jason Boxman
@ 2006-02-12 17:27 ` Sandro Dentella
  7 siblings, 0 replies; 10+ messages in thread
From: Sandro Dentella @ 2006-02-12 17:27 UTC (permalink / raw)
  To: lartc

On Sat, Feb 11, 2006 at 01:11:35PM -0500, Jason Boxman wrote:
> On Saturday 11 February 2006 04:08, Sandro Dentella wrote:
> <snip>
> > 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
> 
> $ host www.tksq.org
> www.tksq.org does not exist, try again

Sorry, tksql:
   http://www.tksql.org/iprt2

*:-)
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-02-12 17:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 11:58 [LARTC] load balancing and failover Payal Rathod
2006-02-09 14:34 ` Manish Kathuria
2006-02-09 14:40 ` Payal Rathod
2006-02-09 15:19 ` Manish Kathuria
2006-02-09 15:34 ` Payal Rathod
2006-02-09 15:53 ` gypsy
2006-02-11  9:08 ` Sandro Dentella
2006-02-11 18:11 ` Jason Boxman
2006-02-12 17:27 ` Sandro Dentella
  -- strict thread matches above, loose matches on Subject: below --
2003-11-19 14:34 [LARTC] Load " hare ram

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.