Unimus uses a job queuing system to coordinate device operations (Discovery, Backup, Automation) scheduled for the exact same time. The execution of these jobs is controlled by three mechanisms:
Job concurrency determines how many device operations of a given type can execute simultaneously.
Device-level coordination prevents multiple operations scheduled for the same time from executing concurrently against the same device.
Execution priority determines which operation executes first when multiple operations scheduled for the same time are waiting to run against the same device.
Job concurrency
By default, Unimus executes device operations (scheduled or manually triggered) concurrently, up to the configured concurrency limit for each job type.
The default maximum concurrency is 50 for the following job types:
Discovery
Backup
Automation
Network Scan
For more information about job concurrency and how to change the maximum concurrency, see: Changing maximum job concurrency.
Device-level coordination
Unimus coordinates operations at the device level when they are scheduled for the same start time, preventing conflicting operations from running concurrently against the same device.
This coordination applies to Discovery, Backup, and Automation operations.
Operations targeting different devices can run concurrently, even when they belong to different jobs.
For example, suppose two Automation jobs are scheduled at the same time:
Automation job | Target devices |
|---|---|
Automation 1 | A, B, C |
Automation 2 | D, E |
Because the jobs target different devices, they can execute concurrently.
If Automation 2 instead targets devices C, D, and E:
Automation job | Target devices |
|---|---|
Automation 1 | A, B, C |
Automation 2 | C, D, E |
The operations targeting device C cannot execute concurrently. Unimus therefore queues the conflicting Automation operation and executes it after the Automation currently running on device C has completed.
Execution priority
When different job types are scheduled for the same time and target the same device, Unimus uses the following priority order:
Discovery → Backup → Automation
This priority determines which operation is executed first when the scheduled jobs compete for the same device. It does not apply to jobs scheduled for different times, and operations targeting different devices can execute concurrently.
For example, if a Backup and an Automation are both scheduled for the same start time and target the same device, the Automation waits until the Backup has finished.
Automation execution order
When multiple Automation presets target the same device and are scheduled for the same time, Unimus executes them in alphabetical order by preset name.
Administrators can therefore influence the execution order by naming scheduled Automation presets appropriately.
This ordering applies only when Automation presets have overlapping target devices. Autoamtion presets targeting different devices can execute concurrently.
Compliance preset execution
Compliance presets are not scheduled in the same way as Backups or Automation presets. They can either be run manually or configured for automatic execution.
When automatic execution is enabled, the Compliance preset is rerun when Unimus detects a new Backup or Automation output for a targeted device, depending on the preset's configured source type. If the newly completed Backup or Automation output is identical to the existing source for that device, the compliance preset is not rerun.
Example scenario:
Suppose Unimus manages five devices:
A, B, C, D, and E
The following jobs are all scheduled to start at the same time:
Scheduled job | Target devices |
|---|---|
Backup | B, D, E |
Automation 1 | A, C |
Automation 2 | B, D |
Automation 3 | B, E |
In addition, suppose the following Compliance presets have automatic execution enabled:
Compliance preset | Source type | Target |
|---|---|---|
Compliance 1 | Backup | B, D, E |
Compliance 2 | Automation | Automation 1 |
The scheduled Backup first triggers a Discovery for devices B, D, and E.
Automation 1 targets A and C, which are not targeted by the Discovery or Backup. Automation 1 can therefore execute concurrently with the Discovery and Backup operations.
The jobs targeting B, D, and E are coordinated because multiple jobs scheduled to start at the same time target these devices.
The resulting execution order of the scheduled operations is:
Discovery of B, D, and E, concurrently with Automation 1 on A and C
Backup of B, D, and E
Automation 2 on B and D
Automation 3 on B and E
Automation 2 executes before Automation 3 because both presets target device B and Automation presets targeting the same device are ordered alphabetically by preset name.
Note: The Compliance presets in this example are event-driven, non-device-blocking jobs and are therefore not included in the execution order above for clarity. Compliance 1 is recalculated for B, D, and E immediately after their respective Backup operations complete. Compliance 2 is recalculated for A and C after the corresponding Automation 1 operation completes.