Maintenance¶
Allegro computers also need maintenance, and an occasional reboot. This reboot is performed by the computer group, which can be contacted through helpdesk@strw.leidenuniv.nl. The user must be informed about the time of the reboot.
Scheduling Maintenance¶
Maintenance can be scheduled by running
$ schedule_maintenance
This opens a GUI that shows you the current maintenance status.

Clicking on Schedule Maintenance opens another window that allows you to set the date and time of the reboot, the expected downtime, the computers that are affected, and the reason for the reboot. Optionally, the users of the Allegro computers can be informed via email.

The GUI then generates the maintenance file, which is defined by the environment variable $ALLEGRO_MAINTENANCE. If that file exists, a maintenance is scheduled.

If maintenance is scheduled, this will not only be displayed in the GUI, but it can also be seen in the terminal
$ display_maintenance.sh
=== Maintenance ===
computer: chaxa, tebinquiche, helada, salada, escondida
time: Thu, 23-Apr-2015, 09:00
downtime: 30 min
reason: updates
If you have any objections, please contact Allegro.
Warning
Users should be informed at least 3 days in advance about a reboot.
Modifying the Maintenance Date¶
In case a user objects to the proposed date, you modify the date for maintenance by starting the GUI
$ schedule_maintenance
and click on the Re-Schedule Maintenance button in the GUI. Change the parameters and press OK.
Clearing Mainteance¶
Once the maintenance operation has finished, the maintenance should be cleared (and users should be informed). This can be done by simply firing up the maintenance-GUI and press the Clear Maintenance button. This simply deletes the maintenance file $ALLEGRO_MAINTENANCE.