Forum Discussion
Philippe_CLOUP
Jun 24, 2010Employee
In few cases, using the "log" command with external IP of SYSLOG servers is a way (even if it is not very "standard") to do this kind of job.
Perhaps we can imagine something like that (should work between 2 boxes, not sure if this can work on the same box).
On your standard VS, send the request to "broadcast" to all the nodes of a pool, using the "log" command and targetting another VS in charge of reverting the syslog message to an HTTP REQUEST (my example take care only of the HTTP request, not the headers, cookies and so on):
like:
when HTTP_REQUEST {
if { [HTTP::uri] ends_with "/broadcast"}{ log 2.2.2.2 local0.info "NODE-IP:1.2.3.4 - URI:[HTTP::uri]"
local0.info "NODE-IP:1.2.3.5 - URI:[HTTP::uri]"
local0.info "NODE-IP:1.2.3.6 - URI:[HTTP::uri]"
}
}
On the VS 2.2.2.2, port 514 UDP, create another iRule, in charge of catching the trafic, converting it to the original URI, and sending it using the pool member ... command, to the node extracted from the log.
It is not a very beautiful way to do the job, but it is an idea ;-)