Mailing List Archive

[lvs-users] request is refused by lvs balance loader server
hi:
I have depoly a lvs cluster with 3 pc,and configure it well ,
but when I access index.html , balance loader not redirected it ,just RST
the request connection .for times and times .

Is there mothod to fix this and check it out?

thanks!
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] request is refused by lvs balance loader server [ In reply to ]
Hatt Tom <net.study.sea@gmail.com> asked:
> I have depoly a lvs cluster with 3 pc,and configure it well ,
> but when I access index.html , balance loader not redirected it ,just RST
> the request connection .for times and times .
>
> Is there mothod to fix this and check it out?

Certainly. First of all it involves you describing your network and your cluster setup. Without that info it's anybody's guess what's going on.

Cheers,
Thomas

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] request is refused by lvs balance loader server [ In reply to ]
these 3 machines are in one local network . their ip are :
192.168.1.107,192.168.1.116,192.168.1.125,.

125 is the balancer ,vip is set to 192.168.1.112 ,

after ipvsadm -A and -a , ipvsadm output this:

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP localhost:8888 rr
-> localhost:8888 Route 1 0 0
-> localhost:8888 Route 1 0 0

then I type http://192.168.1.112/index.html on the browser address
location , and capture the traffic , it shows me the vip server RST
connection actively.




2013/7/9 Thomas Bätzler <t.baetzler@bringe.com>

> Hatt Tom <net.study.sea@gmail.com> asked:
> > I have depoly a lvs cluster with 3 pc,and configure it well ,
> > but when I access index.html , balance loader not redirected it ,just
> RST
> > the request connection .for times and times .
> >
> > Is there mothod to fix this and check it out?
>
> Certainly. First of all it involves you describing your network and your
> cluster setup. Without that info it's anybody's guess what's going on.
>
> Cheers,
> Thomas
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] request is refused by lvs balance loader server [ In reply to ]
Hatt Tom <net.study.sea@gmail.com> wrote:
> these 3 machines are in one local network .  their ip are : 192.168.1.107,192.168.1.116,192.168.1.125,.
>
> 125 is the balancer ,vip is set to 192.168.1.112 , 
>
> after ipvsadm -A and -a , ipvsadm output this:
>
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  localhost:8888 rr
>   -> localhost:8888               Route   1      0          0
>  -> localhost:8888               Route   1      0          0
>
> then I type http://192.168.1.112/index.html on  the browser address location , and capture the traffic , it shows me the vip server RST connection actively.

Your ipvsadm ruleset looks wrong. It should have virtual/real server adresses instead of localhost.

Have you looked at http://kb.linuxvirtualserver.org/wiki/Mini_Mini_Howto ?

HTH,
Thomas

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] request is refused by lvs balance loader server [ In reply to ]
I configure it as the howto tells me.


2013/7/9 Thomas Bätzler <t.baetzler@bringe.com>

> Hatt Tom <net.study.sea@gmail.com> wrote:
> > these 3 machines are in one local network . their ip are :
> 192.168.1.107,192.168.1.116,192.168.1.125,.
> >
> > 125 is the balancer ,vip is set to 192.168.1.112 ,
> >
> > after ipvsadm -A and -a , ipvsadm output this:
> >
> > IP Virtual Server version 1.2.1 (size=4096)
> > Prot LocalAddress:Port Scheduler Flags
> > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > TCP localhost:8888 rr
> > -> localhost:8888 Route 1 0 0
> > -> localhost:8888 Route 1 0 0
> >
> > then I type http://192.168.1.112/index.html on the browser address
> location , and capture the traffic , it shows me the vip server RST
> connection actively.
>
> Your ipvsadm ruleset looks wrong. It should have virtual/real server
> adresses instead of localhost.
>
> Have you looked at http://kb.linuxvirtualserver.org/wiki/Mini_Mini_Howto ?
>
> HTH,
> Thomas
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] request is refused by lvs balance loader server [ In reply to ]
Hello Thomas,

Looks like you faced the ipvs prod release ( incomplete unpatched bugs ) that exist in some mainstream Linux Distros.

A few weeks ago this was Discussed here at the list and Holms aggred to made an GIT for latest v 1.26 .

Please review the list threads past quater and try again with an selfcompiled ipvsadm


->>!! The mainStream Distriutions shuold - if one of them read this msg take the task - and update the ipvsadm from 1.21 to 1.26 as soure the Offical GIT repo of Holms.

and sorry not given feedback past weeks .
I was some bussy..

@Holms : the 1.26 GIT release worked for me on SuSE 12.3 , FC 18 , Debian 7.0 .
kernels tested with : 3.8.12 / 3.9.2

Test was done 4 weeks ago.


--
Mit freundlichen Grüßen / Best Regards

Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de

Legal Notice: This transmittal and/or attachments may be privileged or confidential. It is intended solely for the addressee named above. Any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.


> Gesendet: Mittwoch, 10. Juli 2013 um 13:38 Uhr
> Von: "Hatt Tom" <net.study.sea@gmail.com>
> An: "LinuxVirtualServer.org users mailing list." <lvs-users@linuxvirtualserver.org>
> Betreff: Re: [lvs-users] request is refused by lvs balance loader server
>
> I configure it as the howto tells me.
>
>
> 2013/7/9 Thomas Bätzler <t.baetzler@bringe.com>
>
> > Hatt Tom <net.study.sea@gmail.com> wrote:
> > > these 3 machines are in one local network . their ip are :
> > 192.168.1.107,192.168.1.116,192.168.1.125,.
> > >
> > > 125 is the balancer ,vip is set to 192.168.1.112 ,
> > >
> > > after ipvsadm -A and -a , ipvsadm output this:
> > >
> > > IP Virtual Server version 1.2.1 (size=4096)
> > > Prot LocalAddress:Port Scheduler Flags
> > > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > > TCP localhost:8888 rr
> > > -> localhost:8888 Route 1 0 0
> > > -> localhost:8888 Route 1 0 0
> > >
> > > then I type http://192.168.1.112/index.html on the browser address
> > location , and capture the traffic , it shows me the vip server RST
> > connection actively.
> >
> > Your ipvsadm ruleset looks wrong. It should have virtual/real server
> > adresses instead of localhost.
> >
> > Have you looked at http://kb.linuxvirtualserver.org/wiki/Mini_Mini_Howto ?
> >
> > HTH,
> > Thomas
> >
> > _______________________________________________
> > Please read the documentation before posting - it's available at:
> > http://www.linuxvirtualserver.org/
> >
> > LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> > Send requests to lvs-users-request@LinuxVirtualServer.org
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] request is refused by lvs balance loader server [ In reply to ]
hi:)

Must the arp_ignore do before it works?

what is the important meaning of arp_ognore?

thanks!


2013/7/9 Thomas Bätzler <t.baetzler@bringe.com>

> Hatt Tom <net.study.sea@gmail.com> wrote:
> > these 3 machines are in one local network . their ip are :
> 192.168.1.107,192.168.1.116,192.168.1.125,.
> >
> > 125 is the balancer ,vip is set to 192.168.1.112 ,
> >
> > after ipvsadm -A and -a , ipvsadm output this:
> >
> > IP Virtual Server version 1.2.1 (size=4096)
> > Prot LocalAddress:Port Scheduler Flags
> > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > TCP localhost:8888 rr
> > -> localhost:8888 Route 1 0 0
> > -> localhost:8888 Route 1 0 0
> >
> > then I type http://192.168.1.112/index.html on the browser address
> location , and capture the traffic , it shows me the vip server RST
> connection actively.
>
> Your ipvsadm ruleset looks wrong. It should have virtual/real server
> adresses instead of localhost.
>
> Have you looked at http://kb.linuxvirtualserver.org/wiki/Mini_Mini_Howto ?
>
> HTH,
> Thomas
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users