Hello all.  I'm 99% positive either I'm doing the configuration wrong - but 
I've read the manual and archives (maybe missing the answer) and have no clue 
as to what is going on...

I have the following setup - One machine running bacula-dir and bacula-sd 
(named backup1), another machine running bacula-sd (named backup2).  I am using 
file storage on both.  

On both are 3ware cards with disks that are allocated to the directory that 
holds the backup file storage (/bacula-nn).  My plan was to use a pool, and 
have bacula send the jobs to them as determined by the director.

Well, everything *sort of* works.  The problems I've encountered are as follows:

When backup1's disk space fills up, bconsole becomes practically unusable, as 
it slows down severely.  During this time I see a lot of these messages:

19-Mar 15:54 backup1.mydomain.com: ERROR in authenticate.c:382 Unable to 
authenticate console "*UserAgent*" at client:172.16.0.134:36131.

Also, during the slowdown, mysqld is being hit extremely hard.

Now, if I switch the order of the "Storage" lines in the "Pool" section, and 
restart the director, bconsole becomes snappy again, and backups to the pool go 
to backup2.  Mysqld is not taxed at all after the order is switched

Does any one have any idea on this?  Below are the relevant configuration 
sections.  I'm currently trying to restore a file from the 'backup1' server 
(its disks are full), and it is being extremely slooooow. :)

Backup1 - /etc/bacula/bacula-dir.conf:

Storage {
  Name = "backup1 - File"
  Address = backup1.mydomain.com
  SDPort = 9103
  Password = "password"
  Device = FileStorage
  Media Type = File
  Maximum Concurrent Jobs = 3
}

Storage {
  Name = "backup2 - File"
  Address = backup2.mydomain.com
  SDPort = 9103
  Password = "password"
  Device = FileStorage2
  Media Type = File2
  Maximum Concurrent Jobs = 3
}

Pool {
  Name = "File Storage"
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days         # one year
  Storage = "backup1 - File"
  Storage = "backup2 - File"
}

Backup1 - /etc/bacula/bacula-sd.conf:

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /bacula-01
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Backup2 - /etc/bacula/bacula-sd.conf:

Device {
  Name = FileStorage2
  Media Type = File2
  Archive Device = /bacula-02
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727 - Release Date: 3/19/2007 11:49
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to