
sylvain at easyrencontre
Apr 17, 2008, 8:52 AM
Views: 629
Permalink
|
|
[lvs-users] using LVS on the director with a local VIP directing to realserver ?
|
|
Hi, I'm not sure it's possible in fact, I explain. I've a box on which I would like to run LVS for load balancing purpose only + ldirectord for health check Incoming traffic --> box + LVS : VIP 10.0.10.1 => lobalance to 10.0.2.150, 10.0.2.150 The box is not a router nor a loadbalancer, it as squid reverse proxy in accelerator configuration. The purpose of the LVS is to correct squid reverse proxy wrong weighted loadbalancing. I've something like : ipvsadm -L -n IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 10.0.10.1:8081 rr -> 10.0.2.151:80 Masq 0 0 0 -> 10.0.2.150:80 Masq 0 0 0 the box has also an incoming IP address 10.0.1.1 What I would like is to : * incoming 10.0.1.1:80 * redirecting to local 0.0.10.1:8081 When I'm on the director, on DirectRouting, it doesn't work, I'm trying on NAT... Can it works? Regards, Sylvain. _______________________________________________ LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org Send requests to lvs-users-request[at]LinuxVirtualServer.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|