Forum Discussion
Irule behavior when virtual servers are down
I know that when a virtual server is manually disabled, then no traffic is allowed to it, the irules attached to it won't be executed, i wanted to know, if the virtual server is in down state because of the associated pool member health check, and if there is an irule to the same vip, will the irule be executed?
- Lee_Sutcliffe
Nacreous
iRules are applied to a virtual server (VS), so if a VS has been marked down as a result of pool members being unavailable then the iRule will not be executed.
If the virtual server handles TCP traffic, then the default behavior is to respond to a request with a TCP RST in the event no pool members are available - as the connection is reset, there are no events for the iRule to execute, thus the iRule doesn't not execute under this condition.
https://support.f5.com/csp/article/K9812
- Stanislas_Piro2
Cumulonimbus
Hi,
hopefully, if the default pool which is the one giving the virtual server status is down, irule are executed...
it is required for scenario when you assign another pool for a specific URI and default pool is down!!! specific URI must continue to work.
another scenario is when you want to respond with a maintenance page... how can the page displays if the irule can't execute!
- computerli
Altostratus
Virtual server will process the iRule even if the pool members are down
- Alfred
Nimbostratus
Agree with computerli. Just tested the VS and when though members are down (Red Diamond), iRule will process as long as it is enabled. If the VS is manually disabled, the iRule will not process.
Recent Discussions
Related Content
* 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