LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS balancing real server with 2 ip address

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS balancing real server with 2 ip address
Cc: Roberto Galluzzi <Roberto.Galluzzi@xxxxxxxxxxxx>
From: David Coulson <david@xxxxxxxxxxxxxxxx>
Date: Tue, 27 Sep 2011 03:04:05 -0400
On 9/27/11 2:47 AM, Roberto Galluzzi wrote:
>
> ipvsadm -A -t 172.16.1.139:8080 -s lblc
> ipvsadm -a -t 172.16.1.139:8080 -r 172.16.1.56:8080 -g
> ipvsadm -a -t 172.16.1.139:8080 -r 172.16.1.52:8080 -g
Your problem is a packet routed through the load balancer hitting either 
of these real server rules is going to look the same to the real server 
- It will have no way of distinguishing between them and handling the 
packet with the correct squid instance.

I'm not sure the reasoning behind trying to route to two squid instances 
on the same box, but doing NAT rather than direct routing will probably 
make it work.

David

_______________________________________________
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>