Bacula-users

Re: [Bacula-users] How to share a tape library between two bacula servers.

2012-04-13 06:37:55
Subject: Re: [Bacula-users] How to share a tape library between two bacula servers.
From: Manuel Trujillo <mtrujillo AT grupointercom DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Fri, 13 Apr 2012 12:34:54 +0200
2012/4/12 John Drescher <drescherjm AT gmail DOT com>:
> Did you try assigning the SD to both directors? Although not
> officially supported that used to work. Remember a director can have
> many SD devices and they do not have to be local to the director
> machine.

I defined a new storage into bacula-dir file:

Storage {
  Name = server-sd
  Address = 1.1.1.1
  SDPort = 9103
  Password = bacula-dir-very-long-password
  Device = LTO-5
  Media Type = LTO-5
}

And in the storage.conf file:

Storage {
  Name = LTO-5
  Address = 1.1.1.1
  SDPort = 9103
  Password = "bacula-dir-very-long-password"
  Device = LTO-5
  Media Type = LTO-5
  Autochanger = yes
}

Job file configured to use it:

JobDefs {
  Name = "Drake-LTO"
  Type = Backup
  Level = Full
  Client = Drake
  FileSet = "Config_Drake-LTO"
  Schedule = "Full_Drake"
  Storage = LTO-5
  Messages = Standard
  Pool = Jobisjob
  Priority = 10
}

Job {
  Name = "Drake-LTO"
  JobDefs = "Drake-LTO"
  Reschedule On Error = yes
  Reschedule Interval = 30 seconds
  Reschedule Times = 1
  Write Bootstrap = "/var/bacula/working/Drake.bsr"
}

FileSet {
  Name = "Config_Drake-LTO"
  Include {
    File = /etc
    Options {
      compression=GZIP1
      noatime=yes
    }
  }
  Exclude {
    File = /etc/selinux
    File = /data/tomcat-solr-master/log
    File = /data/tomcat-solr-master/logs
    File = /data/tomcat-solr-master/solr-data

  }
}

Schedule {
  Name = "Full_Drake-LTO"
  Run = Level=Full monthly 1st sun at 1:30
  Run = Level=Incremental daily at 1:30
}

And this is the error when I try to execute a run from this job:

13-Apr 12:04 moria-dir JobId 1911: Fatal error: authenticate.c:120
Director unable to authenticate with Storage daemon at
"10.12.50.140:9103". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the SD or
SD networking messed up (restart daemon).
Please see 
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000
for help.
13-Apr 12:04 moria-dir JobId 1911: Error: Bacula moria-dir 5.0.3
(04Aug10): 13-Apr-2012 12:04:16
  Build OS:               x86_64-unknown-linux-gnu redhat (Final)
  JobId:                  1911
  Job:                    Drake-LTO.2012-04-13_12.03.32_05
  Backup Level:           Full
  Client:                 "Drake" 2.4.4 (28Dec08)
x86_64-unknown-linux-gnu,redhat,(Final)
  FileSet:                "Config_Drake-LTO" 2012-04-12 17:22:18
  Pool:                   "Jobisjob" (From Job resource)
  Catalog:                "Catalogo" (From Client resource)
  Storage:                "LTO-5" (From Job resource)
  Scheduled time:         13-Apr-2012 12:03:30
  Start time:             13-Apr-2012 12:04:11
  End time:               13-Apr-2012 12:04:16
  Elapsed time:           5 secs
  Priority:               10
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               no
  Volume name(s):
  Volume Session Id:      0
  Volume Session Time:    0
  Last Volume Bytes:      0 (0 B)
  Non-fatal FD errors:    1
  SD Errors:              0
  FD termination status:
  SD termination status:
  Termination:            *** Backup Error ***

The SD is able to manage more than 10 connections but, every time I
try this job, no job is running...

Thank you!

Manu.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users