Hi;
sorry Wensong i didnt know we had a mailing list !!!
The first day i found the vs website
"http://www.linuxvirtualserver.org/VS-IPTunneling.html" i had chills how much
it's technically cool/perfect ...
now i'm eating up my fingernails trying to figureout why it doesnt work for me
... :(
What i'm trying to do is :
change the physical location of few servers with zero downtime ...[lots a fun!]
i'm testing with some spare IPs i have ...
so the machine DEMO [how original] will pick up the old RealServer IP
:212.43.221.77
the RealServer's new IP is be 212.73.232.200 ...
i'v sent you all the relevant detail further down ...
after few hours i finally got to setup everything without any errors and
everything ping allright ...
Is there a slightest chance you could tell me where i screwed up ?
I'll be very gratefull
Respectuously, Djamil.
the realserver is 2.2.19
the Director is 2.4.9 ..
the config on the realserver:
[root@ns0 (13:46:01) linux]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:B7:11:5C:36
inet addr:212.73.232.200 Bcast:212.73.232.255 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:402808 errors:0 dropped:0 overruns:0 frame:0
TX packets:407783 errors:0 dropped:0 overruns:0 carrier:0
collisions:10301 txqueuelen:100
Interrupt:10
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:12795 errors:0 dropped:0 overruns:0 frame:0
TX packets:12795 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:212.43.221.77 Mask:255.255.255.255
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
[root@ns0 (13:57:27) linux]#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
212.43.221.77 * 255.255.255.255 UH 0 0 0 tunl0
212.73.232.192 * 255.255.255.192 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 212.73.232.193 0.0.0.0 UG 1 0 0 eth0
[root@ns0 (13:58:48) linux]#
config on the Director
[root@demo (13:58:15) LVS]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:B7:00:B1:DC
inet addr:212.43.221.146 Bcast:212.43.221.159 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21928 errors:0 dropped:0 overruns:0 frame:125
TX packets:4279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10
eth0:0 Link encap:Ethernet HWaddr 00:D0:B7:00:B1:DC
inet addr:212.43.221.77 Bcast:212.43.221.77 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
[root@demo (13:58:17) LVS]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
212.43.221.77 * 255.255.255.255 UH 0 0 0 eth0
212.43.221.128 * 255.255.255.224 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 212.43.221.129 0.0.0.0 UG 1 0 0 eth0
[root@demo (13:58:40) LVS]# ipvsadm
IP Virtual Server version 0.9.4 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 212.43.221.77:www wlc
-> ns0.tgv.net:www Tunnel 1 0 0
[root@demo (13:59:02) LVS]#
[root@demo (13:59:02) LVS]# ipvsadm-save
-A -t 212.43.221.77:www -s wlc
-a -t 212.43.221.77:www -r ns0.tgv.net:www -i -w 1
[root@demo (13:59:17) LVS]#
--
Djamil ESSAISSI
Tel:01.58.64.22.44 - Fax:01.58.64.26.81
System Administrateur / Support Technique
www.francexpress.com - www.serveur-express.com
--
Djamil ESSAISSI
Tel:01.58.64.22.44 - Fax:01.58.64.26.81
System Administrateur / Support Technique
www.francexpress.com - www.serveur-express.com
|