Bacula-users

[Bacula-users] More than one instance of SD

2013-04-30 15:25:30
Subject: [Bacula-users] More than one instance of SD
From: Sergio Belkin <sebelk AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 30 Apr 2013 16:20:55 -0300
Hi folks,

I'd want to configure more than one instance of storage daemon each running on a different ip address, but when I add Address it complains as follows:


Config error: Keyword "Address" not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
            : line 15, col 10 of file /etc/bacula/bacula-sd.conf
  Address = mysd.example.com

(I've obfuscated the sensitive data, the actual fqdn is resolvable via DNS)

I have the following configuration of storage daemon, please could you help me?

Storage {                             # definition of myself
  Name = mysd.example.com-sd
  Address =mysd.example.com
  SDPort = 9103                  # Director's port     
  WorkingDirectory = "/var/lib/bacula/working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}
Director {
  Name = dir
  Password = "zzzzz"
}
Director {
  Name = dir-mon
  Password = "zzzz"
  Monitor = yes
}
Device {
  Name = LTO5
  ###Media Type = LTO-4
  Media Type = LTO-5
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Maximum Spool Size = 10gb
  Maximum Job Spool Size = 5gb
  Spool Directory = /extra/bacula_spool
  #Hardware End of Medium = no
  Fast Forward Space File = yes
  #Maximum Block Size = 262144
  #Maximum Network Buffer Size = 262144
  Maximum File Size = 5GB
  #Use MTIOCGET = no
 Alert Command = "sh -c 'smartctl -d scsi -H -l error /dev/sg6'" 
}
Messages {
  Name = Standard
  director =dir.example.com-dir = all
}

Thanks in advance!
--
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>