-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I know this is probably a pretty stupid question, since it's got no
benifit what so ever. I want it setup so I can run 2 httpds (or rather 1
httpd listening on 2 ports) on my laptop, so I can code stuff on it
knowing it'll work right using ipvsadm (which btw is rather spiffy on my
network).
Anyway, I'm trying to use ipvsadm to setup a local redirect, using
127.0.0.1:81, which is redirected to either 127.0.0.1:82 or 127.0.0.1:83.
ipvsadm -A -t127.0.0.1:81 -s wrr
ipvsadm -a -t127.0.0.1:81 -r127.0.0.1:82
now, at this point, it goes a bit weird, since the first redirection is
put into the table as 127.0.0.1:81, not :82. If I add '-m' to the ipvsadm
line, it works, with 'Forward' set to Local, as you'd expect.
Maybe I'm just doing something completly stupid, but even using a
configuration along the lines of the 'local node' setup in the
documentation doesn't work right either. When I try to connect to
127.0.0.1:81 (via telnet), it simply fails to connect, as if ipvs wasn't
actually doing anything.
Can anyone spot my fatal error?
- --
__ ___ . . !!!
\ \ / /_\ Linux Systems * ( * ` _ _ '
\ V / _ \ * . * - (OXO) -
+-\_/_/-\_\--{ David Coulson }--{ technoir@xxxxxxxxx }---ooO--(_)--Ooo-+
+--{ themes.org Lead Developer }------{ http://technoir.themes.org/ }--+
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Comment: PGP Public Key - http://technoir.themes.org/public-key.txt
Charset: noconv
iQA/AwUBOJ+CZ2vDGUu9kKufEQKIkQCeKH6AgobbSDEU1/7s34lTpEx2HJsAn2xU
O00lseAgcLIz40BDbEYAAi5N
=ZVnL
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx
|