How do scheduler activations work?

bintec router series and be.IP series - Notes on time-controlled reboot (warm start) of the device using the scheduling function (event scheduler)

bintec router series and be.IP series - Notes on time-controlled reboot (warm start) of the device using the scheduling function (event scheduler)

Preliminary remarks

  • With the help of the scheduling function, an automatic daily reboot of the device can (among other things) be carried out at a predefined time - e.g. at night.
  • In the example, a bintec RS353jw with software version 10.1.27 is used; the configuration is carried out using the GUI.
  • Other devices of the bintec router series and the be.IP series with comparable software versions are partly identical or have to be configured in the same way.
  • Before making any changes to the configuration, export your active configuration to an external file.

The basic function of the scheduling is described in the online help and in the manual as follows: "Your device has a
Task planner with which certain standard actions (e.g. activation or deactivation of interfaces) are carried out
can be. In addition, every existing MIB variable can be configured with any value. You set the actions you want
and define the triggers that control when and under which conditions the actions are to be carried out. "

"Note: A prerequisite for the operation of the task planner is a date set on your device from 1.1.2000."

method

In this example, the device should be automatically rebooted every day shortly after 3:00 a.m.
The scheduling configuration required for this takes place in the GUI menu "Local Services" under "Scheduling" in three essential steps:

  1. Set up the trigger
  2. Establishing the action
  3. Activation of the scheduling function

Step 1: Configure the trigger

The configuration takes place in the GUI menu "Local Services" under "Scheduling" on the menu card page "Trigger".

A new trigger is added here by clicking on "NEW". In the example, the automatic reboot of the bintec RS353jw should take place shortly after 3:00 a.m. every day.

GUI menu for configuring a new trigger for daily activation at around 3:00 a.m.:

Image 1: GUI menu of the new trigger for a daily activation at 3:00 a.m.

Step 2: Configure the action

The configuration takes place in the GUI menu "Local Services" under "Scheduling" on the menu card page "Actions".

By clicking on "NEW", a new action is created here, including the integration of the configured trigger.
In the example, the device is to be rebooted when the trigger is active (command type = restart).

GUI menu for creating the scheduling action "restart" depending on the configured scheduling trigger:

Fig. 2: GUI menu for the "restart" scheduling action

Specifying "device restart after 60 seconds" in the example causes a corresponding reboot delay in order to avoid multiple reboots.

Step 3: Activation of the event scheduler

The configuration takes place in the GUI menu "Local Services" under "Scheduling" on the menu card page "Options".

GUI menu "Options" for activating the scheduling function by entering the "Schedule interval":

Fig. 3: GUI menu "Options" with scheduling activation and "Schedule interval"

It is important to set the size of the "schedule interval", for example 50 seconds, smaller than the activation duration set in the example
the trigger of one minute to ensure at least one scheduler query within the relatively short activation period.

Control of the function of the configured scheduling action

  • Syslog message at the prompt of the router console (Telnet, SSH or serial) using the "debug all &" command:
rs353jw_ks:> debug all & 03:00:43 NOTICE / CONFIG: SCHEDULED: cmd (1: Reboot) changed inactive-> active 03:00:43 NOTICE / CONFIG: SCHEDULED: cmd (1: Reboot) insert row 03:00: 43 NOTICE / CONFIG: SCHEDULED: cmd (1: Reboot) set var: 1 -> 9 03:00:43 NOTICE / CONFIG: SCHEDULED: cmd (1: Reboot) set var: 0 -> 60 The system is coming down. ...

"Set var: 1 -> 9" stands for setting the "reboot" command and "set var: 0 -> 60" for the timeout setting for the reboot delay.

Final remark

Don't forget to save your desired setting in a boot-proof manner and regularly export your active configurations to external files.

Base

Created: 07/26/2017
Product: bintec router series and be.IP series
Release: 10.1.27
KW: 35/2017
kst