Re: [Bacula-users] No parallel jobs running on diferente devices/tapes

2013-07-21 Thread Josh Fisher
On 7/20/2013 1:37 PM, Iban Cabrillo wrote:
 Hi,
OK but the device are different. I would understand this issue 
 using the same storage device. but this is not the case.

Priorities are used to control the ordering of jobs, not devices. For 
example, you might want a job to run after all other jobs, regardless of 
what device any of those jobs use. So priority MUST be independent of 
device.


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No parallel jobs running on diferente devices/tapes

2013-07-20 Thread Radosław Korzeniewski
Hello,

2013/7/20 Iban Cabrillo cabri...@ifca.unican.es

 Hi,
  I just attach the requested info.
  The director show jobs waiter for prio, but we are using different pools
 and different storage device. I will understand this behavior if the jobs
 were using the same storage device, but not in this king of configuration.


Too much... :)

So, your situation:

Running Jobs:
 JobId Level   Name   Status
==
38 FullCabas17.2013-07-15_09.31.33_58 is running
  2923 Increme  Doriiie2.2013-07-15_18.00.00_59 is waiting for higher
priority jobs to finish
  2924 Increme  BackCan.2013-07-15_18.00.01_00 is waiting execution
(...)

and

Job: name=Cabas17 JobType=66 level=Differential Priority=10 Enabled=0
Job: name=Doriiie2 JobType=66 level=Full Priority=9 Enabled=1

cannot run in the same time because they priorities are different.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No parallel jobs running on diferente devices/tapes

2013-07-20 Thread Iban Cabrillo
Hi,
   OK but the device are different. I would understand this issue using the
same storage device. but this is not the case.

regards, I


2013/7/20 Radosław Korzeniewski rados...@korzeniewski.net

 Hello,

 2013/7/20 Iban Cabrillo cabri...@ifca.unican.es

 Hi,
  I just attach the requested info.
  The director show jobs waiter for prio, but we are using different pools
 and different storage device. I will understand this behavior if the jobs
 were using the same storage device, but not in this king of configuration.


 Too much... :)

 So, your situation:

 Running Jobs:
  JobId Level   Name   Status
 ==
 38 FullCabas17.2013-07-15_09.31.33_58 is running
   2923 Increme  Doriiie2.2013-07-15_18.00.00_59 is waiting for higher
 priority jobs to finish
   2924 Increme  BackCan.2013-07-15_18.00.01_00 is waiting execution
 (...)

 and

 Job: name=Cabas17 JobType=66 level=Differential Priority=10 Enabled=0
 Job: name=Doriiie2 JobType=66 level=Full Priority=9 Enabled=1

 cannot run in the same time because they priorities are different.

 best regards
 --
 Radosław Korzeniewski
 rados...@korzeniewski.net




-- 

Iban Cabrillo Bartolome
Instituto de Fisica de Cantabria (IFCA)
Santander, Spain
Tel: +34942200969

Bertrand Russell:
*El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No parallel jobs running on diferente devices/tapes

2013-07-19 Thread Iban Cabrillo
Hi,
 Is there no Idea about this issue?

Regards, I


2013/7/17 Iban Cabrillo cabri...@ifca.unican.es

 Dear,
 We have a simple bacula configuration.
 And autochanger with two tape device (LTO3 and LTO5), for two kind of
 different backups. Both work when they run independently. But If  a job on
 LTO5 is running the other jobs related to LTO3 are waiting until this jobs
 has finished. This is  a pain in the ass, because the LTO5 run very long
 unique/full backups (along days) then I found that a couple of incremental
 backups on LT03 running on the same day. The jobs run on different clients
 and event sometimes in different catalogs.

These are the relevant configuration:

 *bacula-dir.conf*

  Director {# define myself
Name = bacula-dir
DIRport = 9101# where we listen for UA connections
QueryFile = /etc/bacula/scripts/query.sql
WorkingDirectory = /var/lib/bacula
PidDirectory = /var/run/bacula
Maximum Concurrent Jobs = 10
Password = YY # Console password
Messages = Daemon
DirAddress = xx
.

 *bacula-sd.conf*

  Storage { # definition of myself
  Name = bacula-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  SDAddress = x
  .

Autochanger {
   Name = TSM3500
Device = ULT3580-TD3
   Device = ULT3580-TD5
   Changer Device = /dev/sg7
   Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d
 # %c = changer device
 # %o = command (unload|load|loaded|list|slots)
 # %S = slot index (1-based)
 # %a = archive device (i.e., /dev/sd* name for tape
 drive)
 # %d = drive index (0-based)
 }

 Device {
 # The TSM3100's first tape drive
 Name = ULT3580-TD3
 Archive Device = /dev/nst0
 Device Type = Tape
 Media Type = LTO-3
 Autochanger = Yes
 # Changer Device = inherited from Changer
 Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg5 | /bin/sed -n
 /TapeAlert/p
 Drive Index = 1
 RemovableMedia = yes
 Random Access = no
 Maximum Block Size = 262144
 Maximum Network Buffer Size = 262144
 Maximum Spool Size = 40gb
 Maximum Job Spool Size = 30gb
 Spool Directory = /backup/spool
 AutomaticMount = Yes;
 }

 Device {
 # The TSM3100's second tape drive
 Name = ULT3580-TD5
 Archive Device = /dev/nst1
 Device Type = Tape
 Media Type = LTO-5
 Autochanger = Yes
 # Changer Device = inherited from Changer
 Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg6 | /bin/sed -n
 /TapeAlert/p
 Drive Index = 0
 RemovableMedia = yes
 Random Access = no
 Maximum Block Size = 262144
 Maximum Network Buffer Size = 262144
 Maximum Spool Size = 40gb
 Maximum Job Spool Size = 30gb
 Spool Directory = /backup/spool
 AutomaticMount = Yes;
 }

 *And the storage definitions:*

 Storage {
   Name = TSM3500-LTO3
   Address = xx
   SDPort = 9103
   Password = YYY
   Device = ULT3580-TD3
   Media Type = LTO-3
   Autochanger = yes
   Maximum Concurrent Jobs = 5
 }

 Storage {
   Name = TSM3500-LTO5
   Address = x
   SDPort = 9103
   Password = YYY
   Device = ULT3580-TD5
   Media Type = LTO-5
   Autochanger = yes
   Maximum Concurrent Jobs = 5
 }

  I think that  Maximum concurrent Jobs variable is well defined (well
 maybe the storage definition level should be 1, I do not see a tape writing
 jobs in parallel, I checked this and neither work )...but I am not able to
 find the misconfiguration.

 Any Idea ??

 Cheers, I.

 --
 
 Iban Cabrillo Bartolome
 Instituto de Fisica de Cantabria (IFCA)
 Santander, Spain
 Tel: +34942200969
 
 Bertrand Russell:
 *El problema con el mundo es que los estúpidos están seguros de todo y
 los inteligentes están llenos de dudas*




-- 

Iban Cabrillo Bartolome
Instituto de Fisica de Cantabria (IFCA)
Santander, Spain
Tel: +34942200969

Bertrand Russell:
*El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Bacula-users mailing list

Re: [Bacula-users] No parallel jobs running on diferente devices/tapes

2013-07-19 Thread Radosław Korzeniewski
Hello,

2013/7/19 Iban Cabrillo cabri...@ifca.unican.es

 Hi,
  Is there no Idea about this issue?


show storage
status director
status storage

send please

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] No parallel jobs running on diferente devices/tapes

2013-07-17 Thread Iban Cabrillo
Dear,
We have a simple bacula configuration.
And autochanger with two tape device (LTO3 and LTO5), for two kind of
different backups. Both work when they run independently. But If  a job on
LTO5 is running the other jobs related to LTO3 are waiting until this jobs
has finished. This is  a pain in the ass, because the LTO5 run very long
unique/full backups (along days) then I found that a couple of incremental
backups on LT03 running on the same day. The jobs run on different clients
and event sometimes in different catalogs.

   These are the relevant configuration:

*bacula-dir.conf*

 Director {# define myself
   Name = bacula-dir
   DIRport = 9101# where we listen for UA connections
   QueryFile = /etc/bacula/scripts/query.sql
   WorkingDirectory = /var/lib/bacula
   PidDirectory = /var/run/bacula
   Maximum Concurrent Jobs = 10
   Password = YY # Console password
   Messages = Daemon
   DirAddress = xx
   .

*bacula-sd.conf*

 Storage { # definition of myself
 Name = bacula-sd
 SDPort = 9103  # Director's port
 WorkingDirectory = /var/lib/bacula
 Pid Directory = /var/run/bacula
 Maximum Concurrent Jobs = 20
 SDAddress = x
 .

   Autochanger {
  Name = TSM3500
   Device = ULT3580-TD3
  Device = ULT3580-TD5
  Changer Device = /dev/sg7
  Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d
# %c = changer device
# %o = command (unload|load|loaded|list|slots)
# %S = slot index (1-based)
# %a = archive device (i.e., /dev/sd* name for tape
drive)
# %d = drive index (0-based)
}

Device {
# The TSM3100's first tape drive
Name = ULT3580-TD3
Archive Device = /dev/nst0
Device Type = Tape
Media Type = LTO-3
Autochanger = Yes
# Changer Device = inherited from Changer
Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg5 | /bin/sed -n
/TapeAlert/p
Drive Index = 1
RemovableMedia = yes
Random Access = no
Maximum Block Size = 262144
Maximum Network Buffer Size = 262144
Maximum Spool Size = 40gb
Maximum Job Spool Size = 30gb
Spool Directory = /backup/spool
AutomaticMount = Yes;
}

Device {
# The TSM3100's second tape drive
Name = ULT3580-TD5
Archive Device = /dev/nst1
Device Type = Tape
Media Type = LTO-5
Autochanger = Yes
# Changer Device = inherited from Changer
Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg6 | /bin/sed -n
/TapeAlert/p
Drive Index = 0
RemovableMedia = yes
Random Access = no
Maximum Block Size = 262144
Maximum Network Buffer Size = 262144
Maximum Spool Size = 40gb
Maximum Job Spool Size = 30gb
Spool Directory = /backup/spool
AutomaticMount = Yes;
}

*And the storage definitions:*

Storage {
  Name = TSM3500-LTO3
  Address = xx
  SDPort = 9103
  Password = YYY
  Device = ULT3580-TD3
  Media Type = LTO-3
  Autochanger = yes
  Maximum Concurrent Jobs = 5
}

Storage {
  Name = TSM3500-LTO5
  Address = x
  SDPort = 9103
  Password = YYY
  Device = ULT3580-TD5
  Media Type = LTO-5
  Autochanger = yes
  Maximum Concurrent Jobs = 5
}

 I think that  Maximum concurrent Jobs variable is well defined (well
maybe the storage definition level should be 1, I do not see a tape writing
jobs in parallel, I checked this and neither work )...but I am not able to
find the misconfiguration.

Any Idea ??

Cheers, I.

-- 

Iban Cabrillo Bartolome
Instituto de Fisica de Cantabria (IFCA)
Santander, Spain
Tel: +34942200969

Bertrand Russell:
*El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users