LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] request is refused by lvs balance loader server

To: LinuxVirtualServer.org users mailing list. <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] request is refused by lvs balance loader server
From: Thomas Bätzler <t.baetzler@xxxxxxxxxx>
Date: Tue, 9 Jul 2013 08:03:37 +0000
Hatt Tom <net.study.sea@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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