LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2013, 04:22 PM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Configuring Linux to load balance


Hey all,

Looking for a little advice for something that I'm hoping should be relatively simple.

Right now, we're running a load balancing server in front of a few Windows web servers. The Linux load balancer is running ldirectord, and is configured with a handful of virtual IP addresses on a single interface. The Windows systems are configured with their own IP addresses, and also have loopback devices set up with the same addresses that the load balancer has. This set up has been working great.

Now, I'm trying to do a similar set up using Linux systems as the web server, but I'm not having any luck finding a good writeup on how to do this. Setting up virtual adapters (ifcfg-lo:0) does not seem to work. I've seen recommendations on installing arptables_jf, setting the arp_announce and arp_ignore options in sysctl, but haven't been able to get them to work. Tomorrow I plan on trying to install a physical second network card in a real web server and set the shared IP on that interface to see if I can get something to work.

I guess what I'm looking for in a simple writeup on getting this working using only ldirectord with the real web servers running Linux (CentOS 5 for the LB, CentOS6 for the web servers). Any suggestions?

Thanks!
 
Old 11-02-2013, 01:48 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Phaethar View Post
Setting up virtual adapters (ifcfg-lo:0) does not seem to work.(..) Any suggestions?
"Does not seem to work" is not the technical kind of assessment of a problem anyone here can do anything with. Could be more efficient instead to run us through the steps and post relevant diagnostics / (error) message output?..
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Load balance ust Linux - Software 2 07-31-2013 08:38 AM
how do I load balance or failover two linux routers to the same ISP w/ multi IPs Micah Linux - Networking 4 02-15-2009 05:42 PM
Load Balance please Linux - Networking 4 10-28-2008 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration