LVS-DR add another http service question
Matthew Story
matthewstory at gmail.com
Tue Sep 5 17:32:08 BST 2006
Is the host that's not responding on the same subnet and behind the
same router as the other two machines? If not you'll likely get a
connection from the LVS director to the real server without a problem,
but when you try to connect from a client, you'll get a connection
refused error. If this is the case use LVS-TUN.
On 9/3/06, Arthur Kao <kaosphere at gmail.com> wrote:
> I have several test clients on completely seperate networks.
>
> Access realsrv2 directly is fine - webpage shows, telnet on 80 gets
> apache replies.
>
> I'll defintely re-check iptables.
>
> thank you.
>
> On 9/3/06, Joseph Mack NA3T <jmack at wm7d.net> wrote:
> > 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 at wm7d.net> 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!
> >
>
>
> --
> Arthur Kao
> http://arthurkao.com
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
--
regards,
matt
Search lvs-users Archives
More information about the lvs-users
mailing list