Hello all,
is it possible to store anywhere at the LB an image (e.g. “blank.gif”) and to deliver this image to clients if all members of a pool are down?
I wrote this simple IRule ad its works fine, however i would like to prefer not to redirect the request but to deliver the image directly from LTM.
when HTTP_REQUEST {
if {[active_members my_pool] == 0 } {
if {[http_uri] starts_with “/xyz”} {
set Content-Type “application/x-javascript”
HTTP::respond 200 content {
var n1 = ‘’; var n2 = ‘’;
}
}
else {
HTTP::respond 302 Location “http://my.failover.net/blank.gif”
}
}
}
Regards
Ilona