I'm having problems trying to get LVS-TUN to work. I was hoping to draw
on the experience of those who have done it before.
Firstly let me explain the setup.
The director and realserver1 is on the same publically available network.
Eg Director has an IP of 1.1.1.1, and the realserver1 has an ip of 1.1.1.2
The VIP is on 1.1.1.3
So far LVS has been setup in LVS-DR and all it working fine.....
Now i'd like to add realserver2 which has a public ip at 2.2.2.1 (on a
different network).
These are the steps i've taken to try to get the tunneling working in
conjunction with DR.
On realserver2:
echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe ipip
ifconfig tunl0 0.0.0.0 up
echo 1 > /proc/sys/net/ipv4/conf/all/hidden
echo 1 > /proc/sys/net/ipv4/conf/tunl0/hidden
ifconfig tunl0 1.1.1.3 netmask 255.255.255.255 broadcast 1.1.1.3 up
and on the director:
ipvsadm -a -t 1.1.1.3:554 -r 2.2.2.1:554 -i
This is not working for me. I'm unable to connect to realserver2. Even
when I set the weight of realserver2 to be higher than that of
realserver1 in WLC mode, it attempts to connect to realserver2, fails,
then falls back to realserver1.
Can anyone see anything glaringly wrong ? Is it not possible to have
LVS-TUN working in conjunction with LVS-DR ?
Any help will be appreciated as this is fairly urgent.
Thanks in advance
Brandon
|