Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

scheduled service time for VS

Is it possible to stop a VS from accepting traffic some time during a day? Of course I mean BigIP does it automatically. Thanks a lot.
0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
The best way to do this, that I can think of, would be to have an iControl script that switches the particular VS off and on depending on the time of day and state you want associated with it.

There is no timer function in the BIG-IP that would allow traffic only during a certain part of the day by default.

I'd recommend checking out the iControl section of DevCentral for some more details on what it is, and how to get started: Click here.

Hope this helps,
#Colin
0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
You can also use an iRule for that. You can create a really simple one that you apply during the maintenance window only, or you can use the tcl "clock" command to schedule a regualar window. You could either reject connections outright when the maintenance condition is true, redirect to an alternate server, or serve an HTML page explaining the outage.

In classic Joe style, he takes it to the next level (and then some) in this TechTip from last year, which is still valid today:
Click here

HTH
/deb
0