New in BIG-IP version 11.1 are iFiles, a feature that allows users to load files through tmsh or the GUI onto the BIG-IP which can be referenced from iRules. This has an immediate use case of supplan...
Awesome stuff Jason, I need some help in getting an irule for this. Aim is to get the sample ifile "helloworld" triggered when the active pool members is < 1. I created the following irule -
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 1 } {
HTTP::respond 200 content [ifile get helloworld]
} else { discard }
}
It is working fine when all the members of a pool are down, BUT when they are up I do not get any response back from the VS. Can you please advise?