Hi 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>