Source:Newday Event-Jaglion: Difference between revisions
No edit summary |
(Update: submit_notify (RS; #29169)) |
||
Line 82: | Line 82: | ||
<translate> | <translate> | ||
=== | ===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 sm_newday 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. | ||
Starting with [[SEP_sesam_Release_Versions|version ''5.0.0 Jaglion'']], you can use the <tt>'''submit_notify'''</tt> option to enable these scripts to run in the background and prevent them from blocking SEP sesam actions.</translate> | |||
<translate> | <translate> |
Revision as of 13:00, 22 July 2021
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.
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.
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
- From Main Selection -> Scheduling -> Schedules, double-click the Newday event.
- In the properties of the Newday event (tab Parameter), type submit_notify in the Options field and click OK.
For details on using SEP sesam email notifications and enabling interfaces, see How to Configure Mail Notification.