Forum Discussion
Heiko_Engemann_
Nimbostratus
Sep 22, 2008message when all poolmembers are offline, dynamically
Hello,
i have an irule that is displayed when all the poolmembers are offline,
Is there a variable that inserts the poolname when it is assigned to an vserver?
In this example I would like to replace test_www whith an variable for the pool:
if {[active_members test_www] == 0} {
when RULE_INIT {
set sorry ">test
This website is currently offline. Please try again later."
}
when HTTP_REQUEST {
if {[active_members test_www] == 0} {
HTTP::respond 200 content $::sorry
}
}
hope you know what I mean.
greetings
1 Reply
Sort By
- Check out the LB::server command
http://devcentral.f5.com/wiki/default.aspx/iRules/LB__server.html
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