Forum Discussion
3 Replies
Sort By
- Hannes_RappNimbostratus
Hello, Greg
Give it a shot
when HTTP_REQUEST { Respond from F5 with HTTP 503 error, if no pool members are available for the selected pool. If other iRules or LTM policies don't specify otherwise, then the selected pool is the same as the Default Pool as configured in Virtual Server settings. if { [active_members [LB::server pool]] < 1 } { HTTP::respond 503 content "Page Not AvailablePage is currently unavailable. Please click on the following links to connect to respective environment directly: \ \ \ " event disable TCP::close } }
- Greg_Donohoe_25Nimbostratus
Thanks Hannes. The syntax you gave is correct and the irule is now in place. I will test and let you know the outcome.
- Greg_Donohoe_25Nimbostratus
This worked perfectly. Thanks Hannes.