LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 04-23-2008, 05:53 AM   #1
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
Load balancer


Hi
i want to implement a load balancer on my network but i am not sure which one to use and which has an easy configuration and administration also
i have been looking at linux virtual server load balancer
but the confusing part is is it part of the linux vserver or what because the have different site and dont refer to them self it confusing
 
Old 04-23-2008, 07:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
well how about you take a step back and explain what you want to get out as an end result. load balancing is a very broad expression and takes many many forms which have little in common with each other in terms of technology, architecture and so on.
 
Old 04-23-2008, 08:07 AM   #3
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Exclamation My experience

As far as load balancing is concerned as in any other project, you have to mix complexity required and budget.

First off, LVS has nothing to do with vserver. You can accomplish simple and robust load balancing with LVS as long as you go through the documentation.

Other more expensive solutions I've worked with in the past are Cisco content switches and F5 Big-IP. CSS's are used in very highly solicitated web environments and can include an SSL acceleration hardware module. On the other hand, F5 permits a lot of coding and HTTP request manipulations.

Keep this in mind though, if you are serious about uptime for your web services, I suggest 2 of each from the solution you choose to provide redundancy.

Hope this helps.
 
Old 04-23-2008, 08:08 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
you forgot that F5 gear is awesome whilst CSS is a bit pants....

if it is just local web balancing, nginx would be a good starting point for zero pennies.
 
Old 04-23-2008, 09:07 AM   #5
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Original Poster
Rep: Reputation: 30
well thanks for clearing out that vserver and LVS are not the same havent said that
what i want to do i split the load on my mail server it keeps getting over worked and sometimes
we cant get mail it processes quit alot of mails so what i want to do is
get a load balancer split the load so one server will processes and receive mail and the other will be for the smtp, pop3 and web interface connections
 
Old 04-23-2008, 09:17 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
ok, well i'll rerecommend nginx, which acts as an smtp proxy as well as http. it's generally nicer to live at the highest level of the OSI model as you can (in my experience at least) so lvs could do ip level stuff, but nginx can pull it up to understand the data as well as direct it.
 
Old 04-23-2008, 10:35 AM   #7
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Original Poster
Rep: Reputation: 30
nginx is to complicated nothing much more simpler to use i am only using it for two servers
for now any other one i have tried balance and balancNG but cant get around LVS
 
Old 04-23-2008, 10:38 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
nginx is very very simple for a basic config. There's a point where if things are too straight forward, they simply can not do a good job without being psychic. see that Microsoft Windows thing as a good example.
 
Old 04-23-2008, 11:30 AM   #9
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Original Poster
Rep: Reputation: 30
ok i have installed it with no problem i was looking at the site for sample config files but they just seem to much config for what i wanted but thanks will have a go at it again
 
Old 04-24-2008, 07:01 AM   #10
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
nginx is very very simple for a basic config. There's a point where if things are too straight forward, they simply can not do a good job without being psychic. see that Microsoft Windows thing as a good example.
Amen to that :-).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
suggestion to own a load balancer dianarani Linux - Server 4 06-18-2007 02:02 AM
load balancer ? spx2 Linux - Networking 4 05-29-2007 02:00 AM
Load Balancer shane200_ Linux - Networking 1 09-16-2005 02:17 PM
Load Balancer shane200_ Mandriva 1 05-12-2005 11:59 AM
using mod_backhand as a load balancer with apache subhasis_ray Linux - Networking 0 09-23-2002 03:11 PM


All times are GMT -5. The time now is 07:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration