Hello,
On Mon, 21 Mar 2011, Tim Vaillancourt wrote:
> Hey guys,
>
> I am running into an issue with getting an LVS VIP running on localhost
> in what I understand to be called "LocalNode" mode. It was asked in 2004
> (link below), but there was no reply, and I am now in the same boat,
> trying to get this to work:
>
> http://archive.linuxvirtualserver.org/html/lvs-users/2004-06/msg00137.html
>
> Essentially, I have a machine with 2 socks proxies binded to localhost
> on 2 different TCP ports, 9100 and 9200. I would like a 3rd TCP port on
> localhost which will round-robbin between the 2 TCP ports of the 2 socks
> proxies binded on localhost.
>
> To do so, I have created a 3rd TCP port of 9000 on localhost, and am
> unable to get it to work, the same as the user in the link I mentioned.
> I also tried creating a lo:0 and lo:1 for the 2 proxies with 127.0.0.2
> and 127.0.0.3 and that didn't work either.
>
> There is some documentation on "LocalNode" below, but not enough to help
> me understand the issue. Is there any special behavior or limitations
> "LocalNode" imposes that is not mentioned?
>
> http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.localnode.html
>
> The ipvsadm syntax I've tried:
>
> ipvsadm -A -t 127.0.0.1:9000 -s rr
> ipvsadm -a -t 127.0.0.1:9000 -r 127.0.0.1:9100 -m
> ipvsadm -a -t 127.0.0.1:9000 -r 127.0.0.1:9200 -m
LocalNode is rewritten in 2.6.37. The above commands
should work with NFCT enabled or disabled:
http://archive.linuxvirtualserver.org/html/lvs-devel/2010-10/msg00134.html
What is the kernel version?
> PS: I have looked at just pure iptables with the '--nth' mode, and may
> just try that instead, but I figured LVS could do this.
>
> Cheers, thanks for your time!
>
> Tim Vaillancourt
Regards
--
Julian Anastasov <ja@xxxxxx>
_______________________________________________
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
|