Forum Discussion
Naumin_Dave_144
Nimbostratus
Nov 12, 2016Irule to change VS status
Hi All,
we need your help to achieve one requirement. Not sure we can achieve this with Irule or not.
we have following Irule on our production VS.
when HTTP_REQUEST {
switch -glob [string ...
Nov 14, 2016
This irule will reject connections if no pool members in the default pool are down, but like Odaah mentioned maybe you could do a redirect to a maintenance page instead of a reject.
when HTTP_REQUEST {
reject connection if all servers are down in the default pool
if { [active_members [LB::server pool]] < 1 } {
reject
}
switch -glob [string tolower [HTTP::path]] {
"/axis/*" {
SSL::disable serverside
pool pool1
}
default {
pool default_pool
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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