FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 08-22-2008, 03:50 PM
"Wojciech Ziniewicz"
 
Default best apache loadbalancing techniques

Hi,
I am planning to deploy the following structure:

--------------internet----------------

proxy1 proxy2 proxy3 ---->

apache1 apache2 apache3 ---> common storage server via NFS
/
mysql1 mysql2 mysql3 /



As You see, there are 3 exactly same copies of one branch that demand
load balancing.

Of course there's one obvious option - DNS loadbalancing when I will
put alll proxies under one host.domainname .

What I want to achieve is simple administration - I want to be able to
make our customers no to use one branch but use others while making
updates etc, while 2 existing branches are online.

What loadbalancing technique should I use to obtain a non-interrupted service ?
We don't want to buy any loadbalancers vrrp protocol etc. . The
infrastructure will be also connected to switch that we dont have
access to.

regards and thank You for your time,
WZ

--
Wojciech Ziniewicz
Unix SEX :{look;gawk;find;sed;talk;grep;touch;finger;find;f l
ex;unzip;head;tail; mount;workbone;fsck;yes;gasp;fsck;more;yes;yes;eje
ct;umount;makeclean; zip;split;done;exit:xargs!!}


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-22-2008, 04:31 PM
emilio
 
Default best apache loadbalancing techniques

hello,

Wojciech Ziniewicz wrote:


As You see, there are 3 exactly same copies of one branch that demand
load balancing.


lvs (http://www.linuxvirtualserver.org/) is a good solutions, and it
also scale very well to big numbers (of users/pages and servers too).


if you want you may use more instance of lvs, one to balance the
proxies, one for the apache and another for the mysql.


you will get better balancing then dns roundrobin and more availability
as if one server goes down then the balancer can automatically put it
out of the balancing.



--
bye,
emilio


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-22-2008, 04:57 PM
Keith Edmunds
 
Default best apache loadbalancing techniques

Another vote for LVS - we've implemented it in a few places and it does
exactly what it is supposed to.

Keith

--
Keith Edmunds

+-------------------------------------------------------------------------+
| Tiger Computing Ltd | Helping businesses make the most of Linux |
| "The Linux Specialists" | http://www.tiger-computing.co.uk |
+-------------------------------------------------------------------------+


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-22-2008, 05:11 PM
Cole Tuininga
 
Default best apache loadbalancing techniques

On Fri, 2008-08-22 at 18:31 +0200, emilio wrote:
> hello,
>
> you will get better balancing then dns roundrobin and more availability
> as if one server goes down then the balancer can automatically put it
> out of the balancing.

Can't argue with the fact that lvs will do better balancing, but if you
want to do it automagically with DNS, I know that Dynect has a product
that will monitor a server and take it out of DNS if it doesn't respond.

There's a blurb at http://www.dynect.com/features-failover/

I'm sure there's other folks that do the same thing, this is just the
one I happen to be familiar with.

--
Cole Tuininga <colet@code-energy.com>
Code Energy


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-23-2008, 06:57 AM
Maarten Vink
 
Default best apache loadbalancing techniques

On 22 aug 2008, at 17:50, Wojciech Ziniewicz wrote:



What loadbalancing technique should I use to obtain a non-
interrupted service ?

We don't want to buy any loadbalancers vrrp protocol etc. . The
infrastructure will be also connected to switch that we dont have
access to.



Here's another vote for LVS loadbalancers. Get two simple linux
machines running, and set up keepalived. It's packaged for Debian, and
includes loadbalancing, active checks of your HTTP servers and
failover (including state information) to a secondary loadbalancer in
case of problems with the first.


Regards,

Maarten


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-23-2008, 02:24 PM
"Wojciech Ziniewicz"
 
Default best apache loadbalancing techniques

2008/8/23 Maarten Vink <vink@interstroom.nl>:
>
> Here's another vote for LVS loadbalancers. Get two simple linux machines
> running, and set up keepalived. It's packaged for Debian, and includes
> loadbalancing, active checks of your HTTP servers and failover (including
> state information) to a secondary loadbalancer in case of problems with the
> first.
>

Thank You everybody for your responses , it was very helpful, we will
probably use LVS

regards



--
Wojciech Ziniewicz
Unix SEX :{look;gawk;find;sed;talk;grep;touch;finger;find;f l
ex;unzip;head;tail; mount;workbone;fsck;yes;gasp;fsck;more;yes;yes;eje
ct;umount;makeclean; zip;split;done;exit:xargs!!}


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org