LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR add another http service question

To: arthur@xxxxxxxxxxxxx
Subject: Re: LVS-DR add another http service question
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Sun, 3 Sep 2006 05:36:37 -0700 (PDT)
On Sat, 2 Sep 2006, Arthur Kao wrote:

Here it is:

IP Virtual Server version 1.0.8 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port           Forward Weight ActiveConn InActConn
FWM  3141 wlc
-> realsrv2.uc.ca:0             Route   1      0          1
-> realsrv1.uc.ca:0             Route   1      0          4

you have port 0 here. I forget how this works, but I expect you aren't going to see load balancing if you're coming from the same client.

So why are you getting connections of any type (InActConn) with realsrv2 (the one that's refusing connection) when it's refusing connections?

do you have iptables rules interfering with connections?

Joe

FWM  9080 wrr persistent 7200
FWM  3003 wrr persistent 7200
-> wm4.acs.uc.ca:0     Route   1      2          161
-> wm5.acs.uc.ca:0     Route   1      6          99
-> wm6.acs.uc.ca:0     Route   1      5          116

Thank you.

On 9/2/06, Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
On Sat, 2 Sep 2006, Arthur Kao wrote:

>> From firefox:
> Unable to connect
> Firefox can't establish a connection to the server at mywebsite.net.

webbrowser aren't useful clients for testing

>
>> From telnet:
> [~]# telnet mywebsite.net 80
> Trying VIP...
> telnet: Unable to connect to remote host: Connection refused

the connection request is arriving on a machine that is not
listening on port 80.

>> what's the output of ipvsadm after an unsuccessful connect
>> attempt?

OK that's the output of ipvsadm -Lc|grep realsrv2. What's
the output of `ipvsadm`?

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!





--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

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