Forum Discussion
Lee_Payne_53457
Sep 16, 2014Cirrostratus
you need something like this:
if { [active_members [LB::server pool]] < 1 }
If the page never changes you could also host it on the LTm and use the iFile commands to serve pages directly from the device, that depends on how complicated you want the page though.
Here is a good example: https://devcentral.f5.com/wiki/irules.ltmmaintenancepage.ashx
- RSpangler_17032Sep 16, 2014NimbostratusThank you for the fast reply. I am still full of questions. What are the advantage of using 'LB::server pool' over HTTP::host'? Testing the original script seems to work. Also does the order matter of how the rules are placed in iRules on the resource page of the virtual server list? Sorry if these seem like dumb questions, I am still trying to wrap my head around these F5's.