menu:operate:job_status:scheduled_jobs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
menu:operate:job_status:scheduled_jobs [2021/10/22 05:42] – ↷ Links adapted because of a move operation pgels | menu:operate:job_status:scheduled_jobs [2024/07/03 12:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
+ | |||
+ | ====== Scheduled jobs ====== | ||
+ | |||
+ | ===== Overview ===== | ||
+ | |||
+ | The ' | ||
+ | |||
+ | Since all NetYCE (font-end) systems have their own scheduler, the jobs are collected from all servers in succession, a process that is listed at the top of the page. Servers that fail to connect will be disregarded when manipulating the jobs until the tool is re-opened from the menu. | ||
+ | |||
+ | {{menu: | ||
+ | |||
+ | |||
+ | Using this tool, the user can perform three kinds of actions on the submitted jobs: manipulation, | ||
+ | |||
+ | {{menu: | ||
+ | |||
+ | |||
+ | ===== Job manipulation ===== | ||
+ | |||
+ | The generic Job manipulation options (Cancel, Now, Suspend, and Resume) operate on the set checkboxes in the ' | ||
+ | |||
+ | See the article on Job-configuration for details on [[guides: | ||
+ | |||
+ | However, not all actions are available given the current job state. If a job is in the ' | ||
+ | |||
+ | {{menu: | ||
+ | |||
+ | The various states the NetYCE scheduler maintains has its own set of possible entry and exit actions associated. These are summarized in a ' | ||
+ | |||
+ | {{ menu: | ||
+ | |||
+ | The colours for each state in the diagram correspond to the colours used in the Job list. | ||
+ | |||
+ | See the article [[guides: | ||
+ | |||
+ | |||
+ | ===== Job Filtering ===== | ||
+ | |||
+ | The user can limit the jobs listed by applying filters. There are filters for User name, Change-id, Job state, Job-id and Server name. The default is not to filter any jobs. | ||
+ | |||
+ | These five filters can be used in combination without restriction. After selecting the appropriate filters, press '' | ||
+ | |||
+ | The JobID filter accepts a regular expression in its text box. Normally it is sufficient to type part of the JobID and click '' | ||
+ | Do not use wildcards like '' | ||
+ | |||
+ | All filters can be defaulted simply by using the '' | ||
+ | |||
+ | Each time the job list is modified, the actual list is updated and shown. It is reported directly by the scheduler by each of the actions. An update of the list can explicitly be requested using the '' | ||
+ | |||
+ | |||
+ | ===== Job Approvals ===== | ||
+ | |||
+ | NetYCE supports approval workflows where operational jobs require a second pair of eyes to confirm correct submission of network change. This second pair of eyes can be configured to be a peer-level operator or a higher-level engineer. | ||
+ | |||
+ | The job owner cannot approve his own jobs, but he is allowed to cancel them when in ' | ||
+ | |||
+ | Submitted jobs requiring approval will be will be put in ' | ||
+ | |||
+ | Per job-creating tool (like command-jobs) the approval requirements are configurable. For each tool the user-levels that are allowed to do the approvals (e.g. designers and managers) can be set and the number of jobs that can be submitted by a user before an approval is required for each level can be defined independently (e.g. operators may schedule up 5 jobs unapproved and engineers 20). See the article on [[guides: | ||
+ | |||
+ | The job approval configuration includes the operator levels (a list of levels) of the users that can approve the job. These are be dependent on the operator level of the job-owner. In each case, the level refers to the effective level of the user, i.e. the operator level for the node's client-type of the user-group. | ||
+ | |||
+ | Email notifications of the following events will be sent: | ||
+ | |||
+ | * to the job owner when a job is rejected //(note 1)// | ||
+ | * to the job owner when a job expires and is suspended | ||
+ | * to the job owner when a job is canceled | ||
+ | * to the owner' | ||
+ | |||
+ | To prevent mailbox flooding, email notifications will be sent at an appropriate interval (2 min) combining all jobs for the same user, grouped by change-id. | ||
+ | |||
+ | //note 1)// When a job is rejected or cancelled, a reason for the rejection is prompted for. \\ //note 2)// The list of mail addresses that should be informed on pending jobs is the list of emails in the user-group where the operator is a member of. | ||
+ | |||
+ | Notifications can be enabled or disabled per job-type (or in the inheritable default settings) for three states: pending (for approval), canceled (removed by auditor) or suspended (when expired waiting for a queue slot). | ||
+ | |||
+ | See the article on Job-configuration for details on [[guides: | ||
+ | |||
+ | |||
+ | ===== Job locks ===== | ||
+ | |||
+ | Jobs that are submitted for the same node at the same time could cause configuration dependencies or conflicts when committing these configurations. To prevent this, NetYCE uses a global locking mechanism on jobs. | ||
+ | |||
+ | Before launching a job the scheduler(s) will check if the node is locked by another job. If so, the job is put in a ' | ||
+ | |||
+ | Should many have jobs been scheduled for the same node, only one will be allowed to run at the time and all will be executed in their original scheduled order. However, to prevent a job at the back of the queue being started hours after the original scheduling time, a limit is imposed on the time a job can be kept ' | ||
+ | |||
+ | The locks are maintained globally and are shared between all schedulers ensuring that a job on one server will honour the lock set on that node by another server. | ||
+ | |||
+ | Note that the lock is set for the ' | ||
+ | |||
+ | Finally, if the job-locking by node is undesired, it can be disabled - globally! - by setting the Lookup Tweak '' | ||
+ | |||
+ | See [[guides: | ||
+ | |||
+ | |||