Source:Newday Event-Jaglion: Difference between revisions

From SEPsesam
(Update: submit_notify (RS; #29169))
m (title-anchors)
Line 69: Line 69:


<translate><!--T:47-->
<translate><!--T:47-->
=== Preventing ''Newday'' from cancelling running activities ===
=== {{anchor|cancel_all}}Preventing ''Newday'' from cancelling running activities ===


<!--T:48-->
<!--T:48-->
Line 82: Line 82:


<translate>
<translate>
===Preventing ''sm_alarm'' or ''sm_notify'' interface from blocking ''Newday'' execution===
==={{anchor|submit_notify}}Preventing ''sm_alarm'' or ''sm_notify'' interface from blocking ''Newday'' execution===


If you use the [[Special:MyLanguage/How_to_Configure_Mail_Notification|SEP sesam email notification]] based on the [[Special:MyLanguage/SEP_sesam_Glossary#alarm|<tt>'''sm_alarm'''</tt>]] and/or [[Special:MyLanguage/SEP_sesam_Glossary#notify|<tt>'''sm_notify'''</tt>]] interface scripts, keep in mind that adding some long-running actions that take a lot of time can block the execution of the <tt>'''sm_newday'''</tt> event and possibly other SEP sesam actions, such as backups.  
If you use the [[Special:MyLanguage/How_to_Configure_Mail_Notification|SEP sesam email notification]] based on the [[Special:MyLanguage/SEP_sesam_Glossary#alarm|<tt>'''sm_alarm'''</tt>]] and/or [[Special:MyLanguage/SEP_sesam_Glossary#notify|<tt>'''sm_notify'''</tt>]] interface scripts, keep in mind that adding some long-running actions that take a lot of time can block the execution of the <tt>'''sm_newday'''</tt> event and possibly other SEP sesam actions, such as backups.  

Revision as of 12:04, 22 July 2021

Other languages:

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Beefalo/Beefalo V2. For previous documentation version(s), check Documentation archive.


Overview

SEP sesam Newday is a predefined SEP sesam daily event that resets the backup event calendar and is managed by SEPuler. It is accessible under schedules: Main Selection -> Scheduling -> Schedules. A Newday event is used by SEP sesam to reorder its database and enable uninterrupted activity of SEP sesam processes, therefore it must never be completely deactivated or it will cause SEP sesam to stop working properly. See Newday event roles.

How does it work – defining a backup day

Newday is used to define a new backup day. All SEP sesam protocol and log files are created with the date of the backup day.

If a Newday event is set for 08:00 (SEP sesam default), the backup day is defined from 8 a.m. of the current day to 8 a.m. of the next day. Backups that run after midnight – the actual date change – are 'time-stamped' with the previous day's date in order to avoid the creation of two backups for the same data (one saveset for day 1 and another for day 2).

With SEP sesam Newday, all media backed up from one sesam day, e.g., from Monday 8 a.m. to Tuesday 7.59 a.m., have the same date. SEP sesam Newday gives system administrators flexibility to extend backup routines to run after midnight and retain the backup date of the prior day. This is very useful when the computers requiring backups exceed the time allotment between the end of day and midnight.

When checking in SEP sesam GUI, for example, backups by state, the selected/displayed date always refers to sesam backup day with the timespan of hours defined by Newday. In the above example of a defined backup day (from 8 a.m. of the current day to 8 a.m. of the next day), the 13th of November would define the backup day from Monday, 13.11. from 8 a.m., to Tuesday, 14.11. to 7.59 a.m. Keep in mind that the backup day by default does not correspond to calendar day.

Information sign.png Note

To ensure error-free execution of the SEP sesam backup environment, SEP Newday should never be completely deactivated. Switching Newday off prevents SEP sesam from reordering its database. SEP sesam will no longer be able to delete old log files and will cause the system to exceed system disk drive storage.

Besides resetting the event calendar and setting a new backup day, Newday also performs the following:

  • Deletes files and database entries for savesets which no longer exist.
  • Finalizes the SEP sesam status and daily log files.
  • Reorganizes SEP sesam database.
  • Advances the event calendar (SEPuler) by one day.
  • Restarts the SMS- and STPD-processes.

Preventing Newday from cancelling running activities

You can set a Newday behaviour to allow for uninterrupted running of SEP sesam operations. If you do not want to abort any active tasks during the Newday event, go to Schedules -> Newday event properties -> tab Parameter, and then select the check box All Events next to Do not cancel these activities.

If Newday is configured as explained above, it won't interrupt any running backup upon its start, therefore Newday can be set to be active at all times.

Newday event Beefalo V2.jpg

Preventing sm_alarm or sm_notify interface from blocking Newday execution

If you use the SEP sesam email notification based on the sm_alarm and/or sm_notify interface scripts, keep in mind that adding some long-running actions that take a lot of time can block the execution of the sm_newday event and possibly other SEP sesam actions, such as backups.

Starting with version 5.0.0 Jaglion, you can use the submit_notify option to enable these scripts to run in the background and prevent them from blocking SEP sesam actions.

Steps

  1. From Main Selection -> Scheduling -> Schedules, double-click the Newday event.
  2. In the properties of the Newday event (tab Parameter), type submit_notify in the Options field and click OK.
  3. Newday-submit notify.jpg


For details on using SEP sesam email notifications and enabling interfaces, see How to Configure Mail Notification.