On Fri, Jun 17, 2005 at 09:14:40AM -0700, Jack Wei wrote:
> malcolm,
>
> i've updated ldirector.cf, but ipvsadm is still showing my realsevers as
> weight
> 0.
>
>
> ldirectord.cf
> ================
> # A virtual service for SER
> virtual=10.1.201.189:5060
> real=10.1.201.191:5060 gate
> real=10.1.201.193:5060 gate
> scheduler=wlc
> protocol=udp
> checktype=connect
> persistent=600
> checkport=5060
>
>
> ipvsadm output
> ==================
> IP Virtual Server version 1.2.0 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> UDP 10.1.201.189:5060 wlc persistent 600
> -> 10.1.201.193:5060 Route 0 0 0
> -> 10.1.201.191:5060 Route 0 0 0
>
>
>
> if i change protocol to "tcp", then the realservers have weight of 1. also,
> i've tried different checkpot # such as 80, 22, etc., but they all came back
> with 0's when protocol is set to "udp".
>
> anything thoughts or suggestions?
This came up in a separate discussion the other day.
The problem is, there is no such thing as a general connect check for UDP.
And when you think about it, such a thing doesn't really make any sense.
There is a negotiate check for DNS. Other protocol specific UDP
negotiate checks can be added, but I am going to update ldirectord
so it flags UDP+connect as a configuration error.
--
Horms
|