LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: ipvsadm and kernel 2.2.22 and apache load balancing

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: ipvsadm and kernel 2.2.22 and apache load balancing
From: laurie.baker@xxxxxx
Date: Wed, 23 Oct 2002 13:00:45 +0100
Just a stab in the dark .. have you got a firewall rule (ipchain /table)
blocking port 80 on that address (10.0.0.200 80)
ipchains -L (or the like to check) ??

Laurie :¬)

-----Original Message-----
From: Marc-Christian Petersen [mailto:m.c.p@xxxxxxx]
Sent: 23 October 2002 12:51
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ipvsadm and kernel 2.2.22 and apache load balancing


On Wednesday 23 October 2002 13:33, Joseph Mack wrote:

Hi Jospeh,

> > > telnet to 10.0.0.200 80 gives connection refused.
>
> sorry spoke to soon.
np :)

>
http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO-32.html#ss32.

fw-rot:~# ipvsadm -L -n
IP Virtual Server version 1.0.8 (size=4096)                    
Prot LocalAddress:Port Scheduler Flags                         
  -> RemoteAddress:Port             Forward Weight ActiveConn InActConn
TCP  10.0.0.200:80 wlc
  -> 10.0.1.12:80                   Route   1      0          0
  -> 10.0.1.11:80                   Route   1      0          0
  -> 10.0.1.10:80                   Route   1      0          0
         
fw-rot:~# telnet 10.0.1.12 80
Trying 10.0.1.12...
Connected to 10.0.1.12.
Escape character is '^]'.
quit
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>501 Method Not Implemented</TITLE>
</HEAD><BODY>
<H1>Method Not Implemented</H1>
quit to / not supported.<P>
Invalid method in request quit<P>
</BODY></HTML>
Connection closed by foreign host.

fw-rot:~# telnet 10.0.1.11 80
Trying 10.0.1.11...
Connected to 10.0.1.11.
Escape character is '^]'.
quit
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>501 Method Not Implemented</TITLE>
</HEAD><BODY>
<H1>Method Not Implemented</H1>
quit to / not supported.<P>
Invalid method in request quit<P>
</BODY></HTML>
Connection closed by foreign host.

fw-rot:~# telnet 10.0.1.10 80
Trying 10.0.1.10...
Connected to 10.0.1.10.
Escape character is '^]'.
quit
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>501 Method Not Implemented</TITLE>
</HEAD><BODY>
<H1>Method Not Implemented</H1>
quit to / not supported.<P>
Invalid method in request quit<P>
</BODY></HTML>
Connection closed by foreign host.
fw-rot:~#


quoting the HOWTO you posted:

> 32.8 I get "connection refused" from the client
> This means that no service is listening for your client's requests and
that 
> some machine at the end is replying that it is not listening for that 
> service. Possibly
it listens. See above. It listens at the realservers, not at 10.0.0.200 and
I 
don't get it why.

> * ipvsadm (on the director) has not added the service to the forwarding 
> table (seen in the output of ipvsadm)
it has. See above.

> * if the service is in the ipvsadm table, then the director is forwarding 
> packets to a realserver which doesn't have the service running.
services are running. See above.

What do I miss? :-(

BTW: thnx for your help!

ciao, Marc



_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users


<Prev in Thread] Current Thread [Next in Thread>