what's behind the curtain?

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: what's behind the curtain?
From: "Michael Cunningham" <m.cunningham@xxxxxxxxxxx>
Date: Wed, 30 Jan 2002 22:30:55 -0500
Hiya all.. 

I am trying to setup LVS to DR and RR 2 servers on the same network
and TUN RR 2 servers on a remote network.

I have been looking over the howtos and other scripts. I am confused
as the what is going on behind the scenes with all these different setup
(Like configure). I want to be able to set everything up without the
of a script.
The Facts:) 
RS1 IP =
RS2 IP =
RS3 IP =
RS4 IP =
RS1/2 and Director gateway = (a router). 

I have fiigured out I need to run the following commands on the
modprobe ipip
echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig eth0:1 broadcast netmask
ipvsadm -A -t -s rr
ipvsadm -a -t -r -g -w 1
ipvsadm -a -u -r -g -w 1
ipvsadm -a -t -r -g -w 1
ipvsadm -a -u -r -g -w 1
ipvsadm -a -t -r -i -w 0
ipvsadm -a -u -r -i -w 0
ipvsadm -a -t -r -w 0
ipvsadm -a -u -r -i -w 0

On each DR RS I need to run
echo 1 > /proc/sys/net/ipv4/conf/all/hidden
echo 1 > /proc/sys/net/ipv4/conf/lo/hidden
ifconfig lo:1 netmask up

On each TUN RS I need to run
echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe ipip
ifconfig tunl0 up
echo 1 > /proc/sys/net/ipv4/conf/all/hidden
echo 1 > /proc/sys/net/ipv4/conf/tunl0/hidden
ifconfig tunl0 netmask broadcast up

Am I missing anything on the RSs or Director? 
Routing? Iptable stuff? I am confused.. 

Thanks.. Mike

<Prev in Thread] Current Thread [Next in Thread>