Bacula-users

Re: [Bacula-users] Running 2 backup jobs simultaneously

2017-03-07 14:46:37
Subject: Re: [Bacula-users] Running 2 backup jobs simultaneously
From: "Mike Fröhner" <mikefroehner AT gmx DOT de>
To: "Jan Stefanovic" <jstefanovic AT tantalus DOT com>, "Wanderlei Huttel" <wanderleihuttel AT gmail DOT com>, "Dimitri Maziuk" <dmaziuk AT bmrb.wisc DOT edu>
Date: Tue, 7 Mar 2017 20:45:29 +0100
Actually as far as I know the director can just mount one volume from on pool simultaneously. If jobs use the same volume from the pool they would write and run at the same time. But in your case both jobs have different pools.
--
Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.
Am 07.03.17, 20:04, Jan Stefanovic <jstefanovic AT tantalus DOT com> schrieb:

thank you Wanderlei and Dimitry!!!

 

followed advice from both of you, changed Maximum Concurrent Jobs = 2 in configs:

 

[root@bacula bacula]# grep "Maximum Concurrent Jobs" *.conf

bacula-dir.conf:  Maximum Concurrent Jobs = 2

bacula-dir.conf:  Maximum Concurrent Jobs = 2

bacula-fd.conf:  Maximum Concurrent Jobs = 2

bacula-sd.conf:  Maximum Concurrent Jobs = 2

bacula-sd.conf:  Maximum Concurrent Jobs = 2   # Added by Jan to test 2 jobs

 

 

now second job is waiting for Storage “File”

 

Running Jobs:

Console connected at 07-Mar-17 10:56

JobId  Type Level     Files     Bytes  Name              Status

======================================================================

10891  Back Incr          0         0  Zabbix            is running

10892  Back Incr          0         0  OTRS              is waiting on Storage "File"

 

What’s the proper settings for Storage File, please?

 

 

Thanks, take care

 

Jan Stefanovic

IT Systems Administrator

 

 

From: Wanderlei Huttel [mailto:wanderleihuttel AT gmail DOT com]
Sent: Tuesday, March 07, 2017 10:58 AM
To: Jan Stefanovic
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Running 2 backup jobs simultaneously

 

Bacula treats "Maximum Concurrent Job" by Resource.

 

Sou you need to change as your need

 

I suggest increase this value in Director, and Storage, and in the Client let only 2.

 

Be careful with possible bottlenecks of disk writes


 

Best regards

 

Wanderlei Hüttel

 

2017-03-07 15:47 GMT-03:00 Jan Stefanovic <jstefanovic AT tantalus DOT com>:

Hi Wanderlei,

 

checked for Max jobs, this is what I have in /etc/bacula

 

[root@bacula bacula]# grep "Maximum Concurrent Jobs" *.conf

bacula-dir.conf:  Maximum Concurrent Jobs = 2

bacula-fd.conf:  Maximum Concurrent Jobs = 20

bacula-sd.conf:  Maximum Concurrent Jobs = 20

 

Should I change bacula-fd.conf and bacula-sd.conf to Maximum Concurrent Jobs = 2?

 

or is there anything else I should change/add?

 

 

 

Thanks, take care

 

Jan Stefanovic

IT Systems Administrator

 

 

From: Wanderlei Huttel [mailto:wanderleihuttel AT gmail DOT com]
Sent: Tuesday, March 07, 2017 10:31 AM
To: Jan Stefanovic
Subject: Re: [Bacula-users] Running 2 backup jobs simultaneously

 

Hello Jan

 

You need to configure "Maximum Concurrent Jobs" in these files/resources:

 

Maximum Concurrent Jobs = XXX

 

File: bacula-dir.conf

Resource:  Director, Storage, Client

 

File: bacula-sd.conf

Resource:  Storage, Device

 

File: bacula-fd.conf

Resource: FileDaemon


 

Best Regards

 

Wanderlei Hüttel

 

2017-03-07 15:06 GMT-03:00 Jan Stefanovic <jstefanovic AT tantalus DOT com>:

Good morning, Bacula gurus!

 

I have another question:

 

How do I run 2 backup jobs simultaneously?

 

I have 2 pools :

ITServersPool-A

ITServersPool-B

 

And I’ve changed bacula-dir.conf:  Maximum Concurrent Jobs = 2

 

Now I’ve started 2 backup jobs manually for servers in each pool

Zabbix server is a member of ITServersPool-A and OTRS is a member of ITServersPool-B

However, I can see only 1 backup is running, while second backup is waiting.

 

What’s the trick, please?

 

Running Jobs:

Console connected at 07-Mar-17 09:53

JobId  Type Level     Files     Bytes  Name              Status

======================================================================

10889  Back Incr          0         0  Zabbix             is running

10890  Back Incr          0         0  OTRS              is waiting on max Storage jobs

====

 

Many thanks in advance, would appreciate any input from you guys!!!

 

 

Thanks, take care

 

Jan Stefanovic

IT Systems Administrator

 


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

 

 

------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users