关于haresource 的配置

我的haresource配置如下:
loadbalancer lvsDR ldirecotrd
lvsDR为一脚本,放在/etc/init.d下,内容为:
#!/bin/sh
#create in 20060812 by ghb
# description: start LVS of Directorserver
VIP=192.168.1.200
RIP1=192.168.1.175
RIP2=192.168.1.176
RIP3=192.168.1.252
#RIPn=192.168.0.128~254
GW=192.168.1.1

. /etc/rc.d/init.d/functions

case "$1" in
start)
echo " start LVS of DirectorServer"
# set the Virtual IP Address
/sbin/ifconfig eth0:0 $VIP broadcast $VIP netmask 255.255.255.255 up
/sbin/route add -host $VIP dev eth0:0
#Clear IPVS table
/sbin/ipvsadm -C
#set LVS
/sbin/ipvsadm -A -t $VIP:80 -s wlc
/sbin/ipvsadm -a -t $VIP:80 -r $RIP1:80 -g
/sbin/ipvsadm -a -t $VIP:80 -r $RIP2:80 -g
/sbin/ipvsadm -a -t $VIP:80 -r $RIP3:80 -g
#/sbin/ipvsadm -a -t $VIP:80 -r $RIP3:80 -g
#Run LVS
/sbin/ipvsadm
#end

;;
stop)
echo "close LVS Directorserver"
/sbin/ipvsadm -C
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
不知道haresource的配置就象上面这样,已经可行?
看了些资料说这个配置文件中必须放IPaddr项,但我将其改成如下形式时:
loadbalancer IPaddr::192.168.1.200/24/192.168.1.255 lvsDR ldirecotrd
却会提示
INFO:IPaddr resource is stopped.
虚拟IP192.168.1.200也没有起来,请大家帮忙分析下,这个haresource具体应该怎样配置才对?

Forums:

randomness