Hi!
I am a new to LVS, and
have a question about the LVS.
the director's network interface is
:
eth0 Link encap:Ethernet
HWaddr
00:B4:00:80:02:98 inet
addr:10.10.10.51 Bcast:10.10.10.255
Mask:255.255.255.0 UP
BROADCAST RUNNING MULTICAST MTU:1500
Metric:1 RX
packets:17941 errors:0 dropped:0 overruns:0
frame:0 TX
packets:11820 errors:0 dropped:0 overruns:0
carrier:0 collisions:0
txqueuelen:100
Interrupt:9 Base address:0x9000
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:1468 errors:0 dropped:0 overruns:0
frame:0 TX
packets:1468 errors:0 dropped:0 overruns:0
carrier:0 collisions:0
txqueuelen:0
and I set file /etc/sysconfig/ipvs as:
ipvsadm -A -t 10.10.10.51:80 -s wrr ipvsadm -a -t
10.10.10.51:80 -r 10.10.10.101:80 -m -w 1 ipvsadm -a -t 10.10.10.51:80 -r
10.10.10.102:80 -m -w 1
and then I use /etc/rc.d/init.d/ipvs to startup the ipvs, the
status is
Prot LocalAddress:Port Scheduler Flags ->
RemoteAddress:Port Forward
Weight ActiveConn InActConn TCP 10.10.10.51:80 wrr ->
10.10.10.102:80
Masq 1
0 0 ->
10.10.10.101:80
Masq 1
0 0
the status is :
Prot LocalAddress:Port Scheduler Flags ->
RemoteAddress:Port Forward
Weight ActiveConn InActConn TCP 10.10.10.51:80 wrr ->
10.10.10.102:80
Masq 1
0 1 ->
10.10.10.101:80
Masq 1
0 0
and the client is in the waiting status until timeout, so how
can I make
this ipvs working . I need help! thanks a
lot.
Zhong Haoming
|