On Thu, Jul 26, 2001 at 09:37:50AM +0800, Xiong Zhao wrote:
> i want to use a linux 2.4.5 box as director and two windows 2000
> as real servers. i patch the kernel with linux-2.4.5-ipvs-0.8.1.patch,
> but which version of ipvsadm should i install?
This patch should have come in a tar ball
http://linuxvirtualserver.org/software/kernel-2.4/ipvs-0.8.1.tar.gz
When you unpack this tarball there is a directory, ipvs/ipvsadm/
that contains the version of ipvsadm that you should use.
> where is the explaination
> of the command parameters of ipvsadm?
ipvsadm comes with a man page that explains the parameters that
can be passed to ipvsadm. Try "man ipvsadm".
> is there anything to
> do on windows 2000 besides setting the director as gateway?
Is the windows 2000 machine a real-server or a client. If you are lusing
LVS-NAT and windows 2000 is a real-server then you just set up the linunx
director as the default gateway. You will also need to configure the
windows 2000 machine to run whatever services (web server?) you wish to
have load balanced.
> how to
> make a linux box work as a gateway? should i check any kernel options
> or something else? now the two realservers can ping either two NICs
> on director, but cannot ping the outside computers. brief and clear
> suggestion is in need. i'm almost confused with the howto.
I would really suggest looking at
http://linuxvirtualserver.org/Joseph.Mack/mini-HOWTO/LVS-mini-HOWTO-5.html
or the HOTWO itself as it has detailed information on how to configure
the system.
Briefly:
You need to ensure that you have IPV4 forwarding turned on.
echo 1 > /proc/sys/net/ipv4/ip_forward
You also need to ensure that you are masquerdaing the internal network.
e.g.
/sbin/iptables -t nat -A POSTROUTING -s 192.168.61.0/24 -j MASQUERADE
--
Horms
|