I have just set up a test server with LVS. I've gone over the documenation
in the how-tos and the mini-howtos. I was not able to get the configure
script to work so I just went through it trying to see what it did.
I was planning on using the Transparent Proxy method on the real servers and
whatever the normal Direct Route method is on the Director. Everything is
under 2.2 kernel linux.
I set up an alias to eth0 on the director with the VIP.
I then added the following rules to the director machine
ipvsadm -C
ipvsadm -A -t VIP:80 -s lc
ipvsadm -a -t VIP:80 -r RIP1
ipvsadm -a -t VIP:80 -r RIP2
Then on the real machines I setup apache to listen to port 80 of the VIP and
ran the following.
ipchains -A input -j REDIRECT http -d VIP http -p tcp
This all appears to work. But I'm worried, considering the documentation,
this seems a bit simplistic.
Is there some problem I may run into with the way I set this up?
Thanks,
Sean Bickel
|