Source:Newday Event-Jaglion: Difference between revisions

From SEPsesam
mNo edit summary
(modified explanation for handling running activities)
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:


<!--T:2-->
<!--T:2-->
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3 ''Beefalo''''Jaglion'']]|link=[[Special:MyLanguage/4_4_3:NEWDAY_Event|Documentation archive]]}}</div></translate><br />
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3 ''Beefalo''/5.0.0 ''Jaglion'']]|link=[[Special:MyLanguage/4_4_3:NEWDAY_Event|Documentation archive]]}}</div></translate><br />
<translate>==Overview== <!--T:3--></translate>
<translate>==Overview== <!--T:3--></translate>
<div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 25%; "><center><b><translate><!--T:4-->
<div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 25%; "><center><b><translate><!--T:4-->
Line 20: Line 20:
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:7-->
| rowspan="2" style="padding:0px 10px 0px;" | <translate><!--T:7-->
[[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ#SEP_sesam_newday|FAQ]]</translate>
[[File:SEP Tip.png|45px|link=Special:MyLanguage/4_4_3_Beefalo:FAQ#SEP_sesam_newday|FAQ]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:8-->
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:8-->
Check [[Special:MyLanguage/FAQ#SEP_sesam_newday|FAQ]] for additional information on NEWDAY.</translate>
Check [[Special:MyLanguage/4_4_3_Beefalo:FAQ#SEP_sesam_newday|FAQ]] for additional information on NEWDAY.</translate>
|}
|}


Line 32: Line 32:
|}</div></noinclude>
|}</div></noinclude>
<translate><!--T:11-->
<translate><!--T:11-->
SEP sesam ''Newday'' is a predefined SEP sesam daily [[Special:MyLanguage/SEP_sesam_Glossary#event|event]] that resets the backup event calendar and is managed by  [[Special:MyLanguage/SEP_sesam_Glossary#SEPuler|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 [[Special:MyLanguage/NEWDAY_Event#roles|Newday event roles]].
SEP sesam ''Newday'' is a predefined SEP sesam daily [[Special:MyLanguage/SEP_sesam_Glossary#event|event]] that resets the backup event calendar and is managed by  [[Special:MyLanguage/SEP_sesam_Glossary#SEPuler|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. It must therefore never be completely disabled, otherwise it will cause SEP sesam to stop working properly. See [[Special:MyLanguage/NEWDAY_Event#roles|Newday event roles]].</translate>
<noinclude>== {{anchor|function}}How does it work – defining a backup day == </translate>
 
<noinclude>== {{anchor|function}}<translate><!--T:59--> How does it work – defining a backup day</translate> ==


</noinclude><translate><!--T:13-->
</noinclude><translate><!--T:13-->
Line 39: Line 40:


<!--T:14-->
<!--T:14-->
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).  
If a ''Newday'' event is set to 08:00 (SEP sesam default), the backup day is defined from 8am of the current day to 8am of the next day. Backups that run after midnight – the actual date change – are given a timestamp with the date of the previous day to avoid creating backups for the same data (one saveset for day 1 and another for day 2).  


<!--T:15-->
<!--T:15-->
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.
With SEP sesam ''Newday'', all media backed up from one sesam day, e.g., from Monday 8am to Tuesday 7.59am, will have the same date. SEP sesam ''Newday'' gives system administrators the 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 that need to be backed up exceeds the time span between the end of the day and midnight.


<!--T:37-->
<!--T:37-->
When checking in SEP sesam GUI, for example, [[Special:Mylanguage/4_4_3_Beefalo:Backups_by_State|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 13<sup>th</sup> 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.</translate>
When checking in SEP sesam GUI, for example, [[Special:Mylanguage/4_4_3_Beefalo:Backups_by_State|backups by state]], the selected/displayed date always refers to the sesam backup day with the timespan of hours defined by ''Newday''. In the above example of a defined backup day (from 8am of the current day to 8am of the next day), 13 November would define the backup day from Monday, 13.11. from 8am, to Tuesday, 14.11. to 7.59am. Keep in mind that the backup day by default does not correspond to the calendar day.</translate>


{{<translate><!--T:22-->
{{<translate><!--T:22-->
Line 57: Line 58:
<!--T:20-->
<!--T:20-->
<ul><li><translate><!--T:32-->
<ul><li><translate><!--T:32-->
Deletes files and database entries for savesets which no longer exist.</translate></li>
Deletes files and database entries for savesets that no longer exist.</translate></li>
<!--T:21-->
<!--T:21-->
<li><translate><!--T:33-->
<li><translate><!--T:33-->
Finalizes the SEP sesam status and daily log files.</translate></li>
Finalizes the SEP sesam status and daily log files.</translate></li>
<li><translate><!--T:34-->
<li><translate><!--T:34-->
Reorganizes SEP sesam database.</translate></li>
Reorganizes the SEP sesam database.</translate></li>
<li><translate><!--T:35-->
<li><translate><!--T:35-->
Advances the event calendar ([[Special:MyLanguage/SEP_sesam_Glossary#SEPuler|SEPuler]]) by one day.</translate></li>
Advances the event calendar ([[Special:MyLanguage/SEP_sesam_Glossary#SEPuler|SEPuler]]) by one day.</translate></li>
<li><translate><!--T:36-->
<li><translate><!--T:36-->
Restarts the [[Special:MyLanguage/SEP_sesam_Glossary#SMS|SMS-]] and [[Special:MyLanguage/SEP_sesam_Glossary#STPD|STPD-processes]].</translate></li></ul>
Restarts the [[Special:MyLanguage/SEP_sesam_Glossary#SMS|SMS-]] and [[Special:MyLanguage/SEP_sesam_Glossary#STPD|STPD-processes]].</translate></li>
<li><translate>
<!--T:60-->
Starts garbage collection on Si3 and Si3 NG deduplication stores.</translate></li>
<li><translate><!--T:61--> Deletes log files and database entries for savesets which no longer exist on SEP sesam Server and RDS.</translate></li></ul>


<translate>=== {{anchor|cancel_all}}Preventing ''Newday'' from cancelling running activities === <!--T:47-->
==== {{anchor|cancel_all}}<translate><!--T:62--> Preventing ''Newday'' from cancelling running activities</translate> ====  
 
<translate><!--T:48-->
<!--T:48-->
You can set a ''Newday'' behaviour to allow uninterrupted execution of SEP sesam operations. The activities that are still running can be cancelled by the ''Newday'' event, or they can continue to run through ''Newday''. If you want to enable active tasks to continue running through ''Newday'' event, go to ''Schedules'' -> ''Newday event properties'' -> tab ''Parameter'', and select the check box '''All Events''' next to ''Do not cancel these activities''. Note that by default this option is selected and active tasks are continued.
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''.


<!--T:49-->
<!--T:49-->
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.
If the ''Newday'' is configured as explained above, it does not interrupt any ongoing backup when it starts, so the ''Newday'' can be set to be active at all times.


<!--T:50-->
<!--T:50-->
Line 80: Line 84:
<br clear=all>
<br clear=all>


<translate>
==={{anchor|submit_notify}}Preventing ''sm_alarm'' or ''sm_notify'' interface from blocking ''Newday'' execution=== <!--T:51-->


<!--T:52-->
===={{anchor|submit_notify}}<translate><!--T:63--> Preventing the ''sm_alarm'' or ''sm_notify'' interface from blocking the ''Newday'' execution</translate>====
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.  
 
<translate><!--T:52-->
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, be aware 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.</translate>


<!--T:53-->
<translate><!--T:53-->
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>
Starting with [[SEP_sesam_Release_Versions|version ''5.0.0 Jaglion'']], you can use the <tt>'''submit_notify'''</tt> option to let these scripts run in the background and prevent them from blocking SEP sesam actions.</translate>


<translate>
<translate>
Line 94: Line 98:
<ol><li><translate><!--T:55--> From ''Main Selection'' -> '''Scheduling''' -> '''Schedules''', double-click the '''Newday''' event.</translate></li>
<ol><li><translate><!--T:55--> From ''Main Selection'' -> '''Scheduling''' -> '''Schedules''', double-click the '''Newday''' event.</translate></li>


<li><translate><!--T:56--> In the properties of the Newday event (tab ''Parameter''), type <tt>'''submit_notify'''</tt> in the '''Options''' field and click '''OK'''.</translate></li>
<li><translate><!--T:56--> In the properties of the Newday event (tab ''Parameter''), enter <tt>'''submit_notify'''</tt> in the '''Options''' field and click '''OK'''.</translate></li>


<translate>
<translate>
<!--T:57-->
<!--T:57-->
[[image:newday-submit_notify.jpg|600px|link=|]]</translate></ol>
[[image:newday-submit_notify.jpg|600px|link=|]]</ol></translate>
<br clear=all>
<br clear=all>


<translate><!--T:58-->
<translate><!--T:58-->
For details on using SEP sesam email notifications and enabling interfaces, see [[Special:MyLanguage/How_to_Configure_Mail_Notification|How to Configure Mail Notification]].
For details on using SEP sesam email notifications and enabling interfaces, see [[Special:MyLanguage/How_to_Configure_Mail_Notification|How to Configure Mail Notification]].</translate>
 
</translate>


<translate><div class="noprint"><noinclude>
<translate><!--T:26-->
==See also== <!--T:26-->
<div class="noprint"><noinclude>
==See also==


<!--T:27-->
<!--T:27-->
[[Special:MyLanguage/4_4_3_Beefalo:SEPuler_-_an_event_calendar|The SEPuler - an event calendar]] – [[Special:MyLanguage/Creating_a_Schedule|Creating a Schedule]]</noinclude></div></translate>
[[Special:MyLanguage/4_4_3_Beefalo:SEPuler_-_an_event_calendar|The SEPuler - an event calendar]] – [[Special:MyLanguage/Creating_a_Schedule|Creating a Schedule]]</noinclude></div></translate>

Revision as of 12:35, 12 December 2022

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/5.0.0 Jaglion. 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. It must therefore never be completely disabled, otherwise 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 to 08:00 (SEP sesam default), the backup day is defined from 8am of the current day to 8am of the next day. Backups that run after midnight – the actual date change – are given a timestamp with the date of the previous day to avoid creating 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 8am to Tuesday 7.59am, will have the same date. SEP sesam Newday gives system administrators the 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 that need to be backed up exceeds the time span between the end of the day and midnight.

When checking in SEP sesam GUI, for example, backups by state, the selected/displayed date always refers to the sesam backup day with the timespan of hours defined by Newday. In the above example of a defined backup day (from 8am of the current day to 8am of the next day), 13 November would define the backup day from Monday, 13.11. from 8am, to Tuesday, 14.11. to 7.59am. Keep in mind that the backup day by default does not correspond to the 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 that no longer exist.
  • Finalizes the SEP sesam status and daily log files.
  • Reorganizes the SEP sesam database.
  • Advances the event calendar (SEPuler) by one day.
  • Restarts the SMS- and STPD-processes.
  • Starts garbage collection on Si3 and Si3 NG deduplication stores.
  • Deletes log files and database entries for savesets which no longer exist on SEP sesam Server and RDS.

Preventing Newday from cancelling running activities

You can set a Newday behaviour to allow uninterrupted execution of SEP sesam operations. The activities that are still running can be cancelled by the Newday event, or they can continue to run through Newday. If you want to enable active tasks to continue running through Newday event, go to Schedules -> Newday event properties -> tab Parameter, and select the check box All Events next to Do not cancel these activities. Note that by default this option is selected and active tasks are continued.

If the Newday is configured as explained above, it does not interrupt any ongoing backup when it starts, so the Newday can be set to be active at all times.

Newday event Beefalo V2.jpg


Preventing the sm_alarm or sm_notify interface from blocking the Newday execution

If you use the SEP sesam email notification based on the sm_alarm and/or sm_notify interface scripts, be aware 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 let these scripts 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), enter 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.