Hi Horms,
Attached is the ldirectord.cf regarding the problem indicated:
*********************************************
# virtual services for TCP.
virtual=10.226.193.230:8070
real=10.226.193.189:8070 gate
real=10.226.193.190:8070 gate
#fallback=127.0.0.1 gate
checktype=connect
service=none
scheduler=rr
#persistent=600
#netmask=255.255.255.255
#checkcount=3
protocol=tcp
virtual=10.226.193.230:9005
real=10.226.193.189:9005 gate
real=10.226.193.190:9005 gate
checktype=connect
service=none
scheduler=rr
protocol=tcp
virtual=10.226.193.230:9007
real=10.226.193.189:9007 gate
real=10.226.193.190:9007 gate
checktype=connect
service=none
scheduler=rr
protocol=tcp
*********************************************
- Jiang -
On 6/30/06, Horms <horms@xxxxxxxxxxxx> wrote:
In article <d6e10810606282035n419425danb80dd71f9569474c@xxxxxxxxxxxxxx> you
wrote:
> Hi,
>
> I recently upgraded to heartbeat version 2, but when I do a ipvsadm
> -ln, for those services not running all showing weight of 1, but in
> version 1.2.3, it showed correctly.
>
> Could it be a bug?
The difference is very surprising to me.
What kind of checks are you using in your ldirectord.cf?
negotiate is the most thorough check and the lest likely
to return false positives.
--
Horms
H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/
--
Regards,
Jiang Lei
|