Hi,

On 5/31/2007 9:43 AM, Volker Lieder wrote:
> Hello,
> sorry for the late answer, the mails from the list are tagged as spam :-/
> But thats not your problem ;-)

Hopefully :-)

> Arno Lehmann schrieb:
>> Hi,
>>
>> On 5/25/2007 2:06 PM, Volker Lieder wrote:
>>
>>> Hello list,
>>> i have started to setup bacula and at this moment i am very happy with this
>>> decision ;-) We migrate our backups from amanda to bacula and everything 
>>> looks
>>> fine, but there is one little problem.
>>> I have several jobs with priority 10 which are scheduled over different
>>> schedule-entrys at the same time, only with different destinations for the
>>> storagedaemon. These jobs won't start simoultanously, they only start job 
>>> by job
>>> and i can't figure out why...
>>> I allready have setup the Maximum Concurrent Job variable in the given
>>> configfiles as described in the manual, but it won't work.
>>> Whats going wrong?
>>
>> Probably you overlooked something... As you simply state you set the 
>> "Maximum Concurrent Jobs" where it's necessary it's hard to give a 
>> detailed answer.
>>
>> As I know for sure that concurrent jobs worked from 1.36 to 2.0.3 you 
>> either use a different version, or your configuration is not yet 
>> complete... and keep in mind you've got to restart FDs and SDs to 
>> activate configuration changes, and need the 'reload' command for the DIR.
>>
> 
> My version of director is  Version: 1.38.11
> The setup is: We have one dir-server and a separate sd-server and of course,
> several clients.
> I paste my configfiles without client or passwordinformation into the list,
> perhaps your eyes see more than my ;-)

We'll see...

> Bacula-Monitoring-Server:
> 
> bacula-dir.conf:
> #########################
> Director {                            # define myself
>   Name = MY-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

Ok. I would set that higher, though.

>   Password = "SECRET"         # Console password
>   Messages = Daemon
>   DirAddress = MY-ADDRESS
> }
> 
> # Backup-Jobs
> # Job and client-Configs in /etc/bacula/confs
> @/etc/bacula/confs/includes.conf
> 
> # List of files to be backed up
> # view /etc/bacula/confs/filesets.conf
> @/etc/bacula/confs/filesets.conf
> 
> #
> # When to do the backups,
> @/etc/bacula/confs/schedule.conf
> 
> # Other Storages included via /etc/bacula/confs/storages.conf
> @/etc/bacula/confs/storages.conf
> #########################
> 
> bacula-fd.conf
> #########################
> Director {
>   Name = MY-BACULA-MON
>   Password = "SECRET"
> }
> 
> Director {
>   Name = MY-BACULA-MON
>   Password = "SECRET"
>   Monitor = yes
> }
> 
> FileDaemon {                          # this is me
>   Name = bacula-mon
>   FDport = 9102                  # where we listen for the director
>   WorkingDirectory = /var/lib/bacula
>   Pid Directory = /var/run/bacula
>   Maximum Concurrent Jobs = 10

Good. That allows up to ten jobs from this client.

>   FDAddress = MY-FD-ADDRESS
> }
> #########################
> 
> bacula-sd.conf
> #########################
> Storage {                             # definition of myself
>   Name = MY-BACULA-SD-ON-MON
>   SDPort = 9103                  # Director's port
>   WorkingDirectory = "/var/lib/bacula"
>   Pid Directory = "/var/run/bacula"
>   Maximum Concurrent Jobs = 10

Ok, a maximum of ten jobs for the whole SD.

>   #SDAddress = 127.0.0.1
> }
> 
> Director {
>   Name = MY-BACULA-MON
>   Password = "SECRET"
> }
> 
> Director {
>   Name = MY-BACULA-MON
>   Password = "SECRET"
>   Monitor = yes
> }
> 
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /ext/default
>   LabelMedia = yes;                   # lets Bacula label unlabeled media
>   Random Access = Yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = no;
> }
> ##########################
> 
> storages.conf:
> ##########################
> # default-SD
> # Definition of file storage device
> Storage {
>   Name = File
>   Address = MY-BACULA-MON-SD                # N.B. Use a fully qualified name 
> here
>   SDPort = 9103
>   Password = "SECRET"
>   Device = FileStorage
>   Media Type = File
>   Maximum Concurrent Jobs = 10

Ok, up to ten concurrent jobs, too.

> }
> 
> # Plusline Storage-Server
> Storage {
>   Name = Mynameinc
>   Address = INC-SERVER1                # N.B. Use a fully qualified name here
>   SDPort = 9103
>   Password = "SECRET"
>   Device = PluslineInc
>   Media Type = pluslineinc
>   Maximum Concurrent Jobs = 10

Ok.

> }
> 
> Storage {
>   Name = Mynameinc
>   Address = FULL-SERVER1                # N.B. Use a fully qualified name here
>   SDPort = 9103
>   Password = "SECRET"
>   Device = PluslineFull
>   Media Type = pluslinefull
>   Maximum Concurrent Jobs = 10

Ok.

> }
> ##########################
> 
> one-example-client-conf, included in bacula-dir.conf
> ##########################
> Job {
>   Name = "SEVERNAME"
>   Enabled = yes
>   Type = Backup
>   Level = Incremental
>   Client = CLIENTNAME
>   FileSet = "Files SERVER"
>   Schedule = "MYSCHEDULE"
>   Storage = PluslineInc
>   Messages = Standard
>   Pool = MY-POOL
>   Priority = 10
>   Maximum Concurrent Jobs = 10

Ok.

> }
> 
> Client {
>   Name = MY-CLIENT
>   Address = MY-CLIENT-IP
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = "SECRET"                  # password for
>   File Retention = 60d                # 30 days
>   Job Retention = 180d                # six months
>   AutoPrune = yes                     # Prune expired Jobs/Files
>   Maximum Concurrent Jobs = 10

Ok.

> }
> 
> FileSet {
... doesn't matter here.

> Schedule {
>    Name = "MY-SCHEDULE"
>    Run = Level=Full Pool=MY-POOL Storage=PluslineFull 1st sun at 20:10
>    Run = Level=Incremental Pool=MY-POOL Storage=PluslineInc mon-sat at 23:10
> }
> 
> Pool {
>   Name = MY-POOL
>   Pool Type = Backup
>   LabelFormat = "MY-LABEL-"
>   Use Volume Once = yes

This might stop you...
(This directive is deprecated, by the way.)

If you allow only one job per volume, Bacula can't run multiple jobs 
concurrently. You either need more storage devices, or set up a virtual 
autochanger.

>   Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>   Recycle Oldest Volume = yes
>   Purge Oldest Volume = yes
>   AutoPrune = yes                     # Prune expired volumes
>   Volume Retention = 31 days         # one year
>   Maximum Volumes = 30
>   Accept Any Volume = yes             # write on any volume in the pool
> }
> 
> Pool {
>   Name = MY-POOL-FULL
>   Pool Type = Backup
>   LabelFormat = "MY-FULL-LABEL-"
>   Use Volume Once = yes
>   Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>   Recycle Oldest Volume = yes
>   Purge Oldest Volume = yes
>   AutoPrune = yes                     # Prune expired volumes
>   Volume Retention = 8 days         # one year
>   Maximum Volumes = 2

Not really the number of volumes I'd expect to see for full backups.

>   Accept Any Volume = yes             # write on any volume in the pool
> }
> 
> ##########################
> 
> 
> Config-Files on Storage-Server for Full and inc-Backups:
> 
> bacula-sd.conf
> ##########################
> 
> Storage {                             # definition of myself
>   Name = MY-INC1-SERVER
>   SDPort = 9103                  # Director's port
>   WorkingDirectory = "/var/lib/bacula"
>   Pid Directory = "/var/run/bacula"
>   Maximum Concurrent Jobs = 10

Ok.

>   #SDAddress = 127.0.0.1
> }
> 
> Director {
>   Name = MY-BACULA-MON
>   Password = "SECRET"
> }
> 
> Director {
>   Name = MY-BACULA-MON
>   Password = "SECRET"
>   Monitor = yes
> }
> 
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /tmp
>   LabelMedia = yes;                   # lets Bacula label unlabeled media
>   Random Access = Yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = no;
> }
> 
> # Include more devices via seperate configfiles:
> 
> @/etc/bacula/confs/2810-plusline.conf
> @/etc/bacula/confs/2810-plusline-full.conf
> 
> ##########################
> 
> And 2810-plusline.conf
> ##########################
> Device {
>   Name = PluslineInc
>   Media Type = pluslineinc
>   Archive Device = /ext/2810-plusline
>   Device Type = File
>   LabelMedia = yes                   # lets Bacula label unlabeled media
>   Random Access = Yes
>   MaximumOpenWait = 120
>   AutomaticMount = yes               # when device opened, read it
>   RemovableMedia = no
>   AlwaysOpen = no
> }
> 
> ##########################
> 
> Hope you can help we within this issue :-)

Try removing the "use volume once" line. Alternatively, use more storage 
devices.

> Regards,
> Volker Lieder
> 


Arno


-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to