Re: [Bacula-users] Error talking to remote storage daemon
2017-07-31 17:31:23
The message that this is a reply to arrived here trashed, with all Ana's
reply text missing. So I'm answering here with my questions.
On 07/31/17 16:22, Steve Garcia wrote:
> ---- "Ana Emília M. Arruda" <emiliaarruda AT gmail DOT com> wrote:
>>
>> You have your Director running at sleipnir host:
>>
>> root@sleipnir:/etc/bacula# bconsole
>> Connecting to Director sleipnir:9101
>> 1000 OK: 102 sleipnir-dir Version: 7.4.3 (18 June 2016)
>>
>> with the Autochanger configuration on Director:
>>
>> From bacula-dir.conf on sleipnir (where the director is):
>> Storage {
>> Name = Library2
>> # Do not use "localhost" here
>> Address = odin # N.B. Use a fully qualified name here
>> SDPort = 9103
>> Password = "*****************"
>> Device = AutochangerOdin
>> Media Type = LTO6
>> Autochanger = yes # enable for autochanger device
>> }
>>
>> And you have your remote Storage Daemon installed in a host called
>> odin with the following configuration:
>>
>> From the bacula-sd.conf on odin (where the library is):
>> Autochanger {
>> Name = AutochangerOdin
>> Device = Drive-1
>> Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>> Changer Device = /dev/autochanger1
>> }
>>
>> Device {
>> Name = Drive-1 #
>> Description = "LT06 inside Dell TL2000 Library"
>> Drive Index = 0
>> Media Type = LT06
>> Archive Device = /dev/nst0
>> AutomaticMount = yes; # when device opened, read it
>> AlwaysOpen = yes;
>> RemovableMedia = yes;
>> RandomAccess = no;
>> AutoChanger = yes
>> SpoolDirectory = "/var/spool/bacula"
>> MaximumSpoolSize = 485G
>> Maximum Network Buffer Size = 65536
>> Offline On Unmount = no
>> Alert Command = "sh -c 'smartctl -H -l error %c'"
>> }
>> This is perfect.
So with the pretend-single-drive-is-an-autochanger hack, I'm supposed to
give the *DIRECTOR* a Storage resource pointed to the "autochanger", and
I give the *STORAGE daemon* an Autochanger resource pointing to its
standalone drive as a Device?
If so, then I currently have it configured wrong.
--
Phil Stracchino
Babylon Communications
phils AT caerllewys DOT net
phil AT co.ordinate DOT org
Landline: +1.603.293.8485
Mobile: +1.603.998.6958
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
ADSM.ORG Privacy and Data Security by https://kimlaw.us
|