LinuxQuestions.org
Help answer threads with 0 replies.
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
  Search this Thread
Old 05-13-2011, 05:12 AM   #1
romeo_tango
Member
 
Registered: Nov 2006
Distribution: Mint
Posts: 148

Rep: Reputation: 15
Error on Load Balancer ipvsadm or what?


-SOLVED-

I forgot to add the local loopback in the server 3 to the loadbalancer's IP.

Thanks.



Hi,

I have this setup already running :
Quote:
Load Balancer - Server1 | Server2
I then tried to add another server
Quote:
SOURCE WWW -> Load Balancer -> Server1 | Server2 | Server 3
using the same configuration just like the Server 1 and Server 2.

The errors on SOURCE WWW were something like :

Quote:
[error] (110)Connection timed out: proxy: HTTP: attempt to connect to :80 (a.b.c.d) failed
[Fri May 13 16:53:14 2011] [error] (110)Connection timed out: proxy: HTTP: attempt to connect to a.b.c.d:80 (a.b.c.d) failed
[Fri May 13 16:53:14 2011] [error] ap_proxy_connect_backend disabling worker for (a.b.c.d)
[Fri May 13 16:53:14 2011] [error] proxy: HTTP: disabled connection for (a.b.c.d)
notes :
virtualIP_loadbalancer : a.b.c.d
virtualIP_Server1 : e.f.g.1
virtualIP_Server2 : e.f.g.2
virtualIP_Server3 : e.f.g.3


the ipvsadm script is something like this :
Quote:
echo " -A -t a.b.c.d:80 -s wrr
-a -t a.b.c.d:80 -r e.f.g.1:80 -g -w 1
-a -t a.b.c.d:80 -r e.f.g.2:80 -g -w 2
-a -t a.b.c.d:80 -r e.f.g.3:80 -g -w 2
" | /sbin/ipvsadm -R
For additional information :
  • my previous setup using only two servers were all okay. If I add the 3rd server, the first two also works fine but I get the errors on SOURCE WWW just like I mentioned above.
  • selinux and firewall are disabled
  • accessing the Server 3's Apache directly is working fine

Last edited by romeo_tango; 05-16-2011 at 02:56 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Load balancer izghitu Linux - Software 1 04-14-2010 10:02 AM
Load balancer mahmoud Linux - Server 9 04-24-2008 07:01 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:42 AM.

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