[SR-Users] LCR and gateways resource.
Juha Heinanen
jh at tutpro.com
Wed Dec 29 07:43:02 CET 2010
Ricardo Martinez writes:
> Thanks for your answer. I will try something like that.
> Question. The defunct_gw() function works with the gateway selected with
> the next_gw() function??
yes.
> Another question. How would be the logic to mark a gateway down
> automatically in the LCR?. I mean trying to emulate the "ping" function
> from the 1.5 version.
there is no such thing in 3.1. it is now up to the script to decide
what to do if a gw cannot serve the request. set your timeout to a
small value, such as 3 seconds, and then decide based on the response
code what to do.
-- juha
More information about the sr-users
mailing list