Parallel tasks

32 views
Skip to first unread message

Sergey Zaguba

unread,
Mar 22, 2021, 2:48:29 AM3/22/21
to bareos-users
Bareos 20.0.1

in /etc/bareos/bareos-sd.d/storage/bareos-sd.conf
Maximum Concurrent Jobs = 20

In the settings of the repository and the director, lithium simultaneous tasks> 1 are set. But I constantly see that only one task is being executed, after it the second, etc.

Jon SCHEWE

unread,
Mar 22, 2021, 9:28:20 AM3/22/21
to Sergey Zaguba, bareos-users
You need to have multiple storage devices defined to have multiple jobs executing at the same time. Bareos can only write one job at a time to each storage device.

Jon Schewe

Research Scientist


C: +1 612.263.2718

O: +1 952.545.5720

jon.s...@rtx.com


Raytheon Technologies

Raytheon Intelligence & Space

5775 Wayzata Blvd. Suite 630

St. Louis Park, MN 55416


RTX.com | LinkedIn | Twitter | Instagram



From: bareos...@googlegroups.com <bareos...@googlegroups.com> on behalf of Sergey Zaguba <dedy...@gmail.com>
Sent: Monday, March 22, 2021 01:48
To: bareos-users <bareos...@googlegroups.com>
Subject: [External] [bareos-users] Parallel tasks
 
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/ccd98127-7c74-480b-a54d-19f724292648n%40googlegroups.com.

Andrew Feldmann

unread,
Mar 23, 2021, 8:14:55 PM3/23/21
to bareos...@googlegroups.com

Unless I'm misunderstanding the situation, you do not need to have multiple storage devices.  Bareos can interleave jobs to one or more devices.

Check "Max Concurrent" settings for storage devices, storage daemon, and director.


Assuming you start multiple jobs against multiple clients, you should be able to get more than one job going at the same time.


I hope that helps.

Andrei

unread,
Mar 24, 2021, 9:41:49 AM3/24/21
to bareos...@googlegroups.com

I believe the "Max Concurrent" setting is for clients too if you want to have parallel jobs from the same client. Note that you have the client resource in the director config set to default value of 1 for "Maximum Concurrent Jobs" https://docs.bareos.org/Configuration/Director.html#config-Dir_Client_MaximumConcurrentJobs and on the client config you have the same setting set with a default to 20 https://docs.bareos.org/Configuration/FileDaemon.html#config-Fd_Client_MaximumConcurrentJobs.


If you're writing to tape I think you're better off if you can enable spooling and make sure you have enough spool capacity to store the full jobs before they get written to tape unless you have a tape library that can write to multiple tapes at once and the jobs go to different tapes. If you're writing to disk or S3/ceph then this does not matter.


--
Andrei

Sergey Zaguba

unread,
Mar 28, 2021, 5:35:03 AM3/28/21
to bareos-users
Thanks for the help

среда, 24 марта 2021 г. в 15:41:49 UTC+2, andr...@gmail.com:
Reply all
Reply to author
Forward
0 new messages