v11.1–External File Access from iRules via iFiles
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...
Updated Feb 01, 2023
Version 2.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
sandy16
May 12, 2015Altostratus
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?