Hi,
since days I'm struggling with the setup of the mentioned configuration,
perhaps anyone
on the list see's my mistake...
Initial situation: 3 host (all SLES9 kernel 2.6.5 and 3 nic ports)
connected to a switch (Cisco C3548), one should act as director, the two
others as Apache/MySQL host. These both nodes have respectively
an additional uplink to the director.
My first try was to setup this as described in the howto:
director:
echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig eth0:222 192.168.222.222 broadcast 192.168.222.222 netmask
255.255.255.255
route add -host 192.168.222.222 dev eth0:222
ipvsadm -C
ipvsadm -A -t 192.168.222.222:http -s wlc
ipvsadm -a -t 192.168.222.222:http -r 141.53.7.41:http -g -w 100
ipvsadm -a -t 192.168.222.222:http -r 141.53.7.43:http -g -w 100
hosts:
ifconfig lo:222 192.168.222.222 broadcast 192.168.222.222 netmask
255.255.255.255 up
route add -host 192.168.222.222 dev lo:222
echo 1 >/proc/sys/net/ipv4/conf/lo/arp_ignore
echo 2 >/proc/sys/net/ipv4/conf/lo/arp_announce
echo 1 >/proc/sys/net/ipv4/conf/all/arp_ignore
echo 2 >/proc/sys/net/ipv4/conf/all/arp_announce
Apache is running on both hosts, but when connecting to director with
telnet I get a timeout.
Scanning with nmap shows, that http port is in state 'filtered'.
Is there any "better" configuration (e.g. utilizing the both seperate
connections from host to director) or
can somebody give me an advice whats wrong?
Thanks!
Jan
|