Forum Discussion
Shivesh_Rege
Nimbostratus
May 20, 2009Irule Prefernce
Hi All:
I guess irules take prefernce from top to bottom.So if I have 2 irules .It will pass on 1st with one in top list and next 2nd .Please correct me if I am wrong?
Re...
Shivesh_Rege
Nimbostratus
May 22, 2009Hi Denny,
Thanks for reply.However I was more inclined to wards more faster mode of option in switching over irules as tere are many virtual servers which need maintance page depending on requirement.I.e like.
when LB_FAILED {
if{[active_members [LB::server]]<1}
HTTP::redirect "http://[HTTP::host]/error/404.html"}
This I guess will cover if pool memebers are not available i.e servers are down/port not listening on maintaince.
However we also have requirement that when the servers are up but want to place maintanance page for internal team to verify and make available after testing .I am placing a differnt irule which will re-direct based on content of [HTTP::host] which will replace this one.So found some stuff on command line.Could you tell me if it will work ?
Option to switchover in time of adhoc maintainance page required
login to Bigip console.
bp> virtual rule none
bp> virtual rule
and once the request is to place back normal irule
bp> virtual rule none
bp> virtual rule < normal_redirection_irule>
Or
bp> virtual rule
!!!!once the request is to place back normal irule!!!
bp> virtual rule < normal_redirection_irule>
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
