hello list,
I setup my network as following.
========
Cluster
========
LVS Director RIP = 192.168.0.1(on eth1,HWaddress:00:01:8E:21:B9:14)
LVS Director VIP = 210.200.2.5(on eth0,HWaddress:00:90:CC:0D:88:32)
===========
Real Server
===========
Real Server1 RIP = 192.168.0.2(on eth0,HWaddress:00:C0:4E:AB:2F:4E)
Real Server1 VIP = 210.200.2.5(on eth0:0,HWaddress:00:C0:4E:AB:2F:4E)
Real Server1 RIP = 192.168.0.3(on eth0,HWaddress:00:90:CC:0D:BA:F2)
Real Server1 VIP = 210.200.2.5(on eth0:0,HWaddress:00:90:CC:0D:BA:F2)
========
About ARP info( by run the command arp, is it right ?)
========
on Cluster
---------
Address HWtype HWaddress Flags Mask Iface
192.168.0.2 ether 00:C0:4E:AB:2F:4E C eth1
192.168.0.3 ether 00:90:CC:0D:BA:F2 C eth1
on Real Server1
----------
Address HWtype HWaddress Flags Mask Iface
192.168.0.1 ether 00:01:8E:21:B9:14 C
eth0
on Real Server1
----------
Address HWtype HWaddress Flags Mask Iface
192.168.0.1 ether 00:01:8E:21:B9:14 C
eth0
=======
About ipvs info
=======
[root@VS1 root]# ipvsadm
IP Virtual Server version 0.8.1 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 210.200.2.5:http wlc
-> 192.168.0.2:http Route 1 0 0
-> 192.168.0.3:http Route 1 0 0
I think I have disabled the arp on the real servers for VIP address,is it
right ?
I use NAT and the gateway is 192.168.0.1.I enabled the ip_forward on
Cluster. All real servers can connect to internet.But the client can't
connect to anyone of real servers.When I try to connect to the 210.200.2.5,I
found the following information on real server1(192.168.0.2)
[root@RS1 root]# netstat -nt
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 210.200.2.5:80 219.218.10.17:38167
SYN_RECV
on the client,
[root@client root]# telnet 210.200.2.5 80
Trying 210.200.2.5...
telnet: connect to address 210.200.2.5: Connection timed out
I can via cluster's 80 port from client if I run the apache on cluster. I
can also via the real server's 80 port only from cluster and LAN.So I think
the firewall's configuration should be ok.
Would someone give me some hints ?
Thanks !
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
|