LVS/DR方式配置有问题,请各位高手指点!谢谢!!

我的配置方法,访问时总是路由到第一个实体机上,不知道什么问题,请各位高手指点一下,在下感激不尽!!

LB 和 2台RS 的 Kernel is 2.4.21-4EL, 系统均是RedHat Enterprise AS3
1)
rpm -ivh ipvsadm-1.21-9.ipvs108.i386.rpm
rpm -ivh piranha-0.7.6-1.i386.rpm

2) service piranha-gui start

3) # more /etc/sysconfig/ha/lvs.cf
serial_no = 18
primary = 192.168.1.1
service = lvs
network = direct
debug_level = NONE
virtual RTSP {
active = 1
address = 192.168.1.2 eth0:1
port = 554
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
use_regex = 0
load_monitor = none
scheduler = rr
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server RS1 {
address = 192.168.1.3
active = 1
weight = 1
}
server RS2 {
address = 192.168.1.4
active = 1
weight = 1
}
}

4) service pulse start

5) 配置LB的IP
ifconfig eth0:1 192.168.1.2 netmask 255.255.255.255 broadcast 192.168.1.2 up
route add -host 192.168.1.2 dev eth0:1

6) 在RS上的操作
ifconfig lo:0 192.168.1.2 netmask 255.255.255.255 broadcast 192.168.1.2 up
route add -host 192.168.1.2 dev lo:0
在2个RS机器上放有文件名相同但是内容不同的demo.avi文件

当我在4台PC上输入 rtsp://192.168.1.2/demo.avi
却没有按照rr的调度方式,4台客户机, 他们的访问情况是3:1,有时甚至是4:0;理论上应该是1:1,我不知道是哪里出现了问题,还请高手指点。谢谢!!!

Forums:

把下边命令的结果贴上来
ipvsadm -Ln

把酒当歌,黎曼几何。

IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn

IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn

I am totally wowed and prerepad to take the next step now.

You can always tell an expert! Thanks for cognuibrtitn.

Ab fab my goldoy man.