Pietro Ravasio wrote:
>
> >Hummm. First I've heard of this. I personally never tried to use
> >piranha against cvs but it should work. Since a udp server
> >cannot be tested via just a connect (since it's connectionless),
> >you do have to perform some sort of send and/or expect test that
> >works with a udp server. And, unfortunately, right now that
> >test is limited to test type data.
I get older, my typing seems to get worse. that should be "text"
type data.
> How do you handle udp service failover detection?
Your "send" string is sent to the udp server, and a receive is
posted. If the server responds well (i.e. doesn't return a refused
error or timout), then the connection is assumed ok. If you have
a receive string, then the reponse is also tested against
that and logged as failed if it mismatches.
The easiest way to test UDP is with the echo server.
> didn't handle ipvsadm call. Now with 0.4.16-4 version this DOES work
Is piranha REALLY reporting a version of 16-4? This should be 16-3.
> but only with tcp protocol.
UDP should work, provided piranha can handle sending something useful.
A future version will be able to handle binary data.
16-2 didn't have all the udp logic, so there was no hope that that
version was going to work.
--
Keith Barrett
Red Hat Inc. HA Team
kbarrett@xxxxxxxxxx
|