configuration of ipvs in LAN
pmueller at sidestep.com
Fri Jul 15 19:27:07 BST 2005
> I want to do simple configuratio using three
> m/c(mandrake-10.1), making one as a load balancer and rest as
> a real server. So, I want to check this in LAN only without
> connecting to the outside wrorld. Is is possible to do so ?
> I want to do mapping as:
> for load balancer: 10.1.1.1:8000 to 10.0.0.3:8000(real server-1)
> for load balancer: 10.1.1.1:8000 to 10.0.0.4:8000(real server-2)
> I am using kernel-2.6 lvs and the ipvs is intalled on it.
Setup a direct-routing (DR) architecture on the private LAN. If you want to
do it without health checkers you can try the configure script. Otherwise,
you can try software like ldirectord (www.ultramonkey.org), keepalived
(www.keepalived.org), or Redhat's Pirahna.
Here is a good document to read from Wensong
http://www.linux-mag.com/2003-11/clusters_01.html. Also, be sure to read at
least the Mini-HOWTO for gotchas and the ARP problem. Since you use 2.6 you
should use arptables to work around the ARP problem.
More information about the lvs-users