Forum Discussion
Siddarth_84779
Nimbostratus
Dec 13, 2010Can I have time based Irule?
Hi all,
I need to do the below tasks, can anyone help.
1.I need to create a maintenance page on big ip instead of creating it in a web server so that i can redirect the trafic to page on Big ip whenever the nodes are taken offline rather redirecting to the web server.
2.Also can i know if there is anything like time based irule. Suppose nodes will be taken into maintenance mode from 18:00 to 19:00, is there any kind of irule which irule triggers at 18:00 and redirects the traffic into maintenance page which is on Big ip.
I am a newbie..
kindly help.
Regards,
Sid.
2 Replies
- Nicolas_Menant
Employee
Hi,
check this link :
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/70/iRule-Maintenance-Windows.aspx
it will give you a nice iRule
for something just doing what you want:
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/afv/topic/aft/1173123/aff/5/showtab/groupforums/Default.aspx
HTH
N. - Siddarth_84779
Nimbostratus
Hi,
Thanks a lot for the link, especially iRule maintenance window by Joe was really helpfull.But there are some problem which I am facing in this code,
1. I am having trouble with code in that the STATS profile fields do not seem to hold the values set in them or rather are not consistent. What might be the solution.
2. Is there any commmand to flush the value in STATS profile field (othere than setting 0).
regards,
Siddarth.
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
