Forum Discussion
Brandon_Van_849
Nimbostratus
Mar 23, 2012HELP! using LB_fail
So i'm trying to get html to display when active members of the pool are not available. I have tried 4 or 5 different rules and i get the same result which is just the standard IE message.
Here is my latest....
when CLIENT_ACCEPTED {
set my_pool [LB::server pool]
}
when LB_FAILED {
log local0. "[active_members $my_pool]"
if { [active_members $my_pool] < 1 } {
HTTP::respond 200 content {
}
}
}
Please help, i'm kind of a noob to irules.
- hoolio
Cirrostratus
Hi Brandon, - Brandon_Van_849
Nimbostratus
I do not see anything in the logs. I was wondering about using the DNS_REQUEST event for the IF statement. for some reason i don't get the desired results with multiple tries on different irules i configured to do the same thing. - i would start some basic debugging, output something in client_accepted event to check if that part is reached.
- Sashi_81625
Nimbostratus
what do you mean by "standard IE message." are you seeing connection reset error? - Brandon_Van_849
Nimbostratus
Boneyard, - Brandon_Van_849
Nimbostratus
our web addy is https, i dont know if that is causing a problem or if there is something not enabled. i added additional log inputs and i do not see them in the logs at all. What could be the issue - Brandon_Van_849
Nimbostratus
I also realized under the statistics page for irules that nothing has been counted even the default irules have nothing. - Brandon_Van_849
Nimbostratus
Thanks for the help, i resolve my problem, but now i have another one. I will create a new string with it.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects