Bacula-users

Re: [Bacula-users] Changer on different host

2008-07-17 09:54:30
Subject: Re: [Bacula-users] Changer on different host
From: Dan Langille <dan AT langille DOT org>
To: "Shad L. Lords" <slords AT lordsfam DOT net>
Date: Thu, 17 Jul 2008 09:53:59 -0400
On Jul 17, 2008, at 9:51 AM, John Drescher wrote:

>> host1-sd.conf
>> =============
>>
>> Autochanger {
>>   Name = ait4-changer
>>   Device = ait4-drive1
>>   Device = ait4-drive2
>>   Device = ait4-drive3
>>   Device = ait4-drive4
>>   Changer Command = "/usr/lib/bacula/mtx-changer %c %o %S %a %d"
>>   Changer Device = /dev/sg0
>> }
>>
>> Device {
>>   Name = ait4-drive1
>>   Archive Device = /dev/nst0
>>   Drive Index = 0
>>   Auto Changer = yes
>>   Media Type = ait4
>>   ...
>> }
>>
>> Device {
>>   Name = ait4-drive2
>>   Archive Device = /dev/nst1
>>   Drive Index = 1
>>   Auto Changer = yes
>>   Media Type = ait4
>>   ...
>> }
>>
>> host2-sd.conf
>> =============
>>
>> Device {
>>   Name = ait4-drive1
>>   Archive Device = /dev/nst0
>>   Drive Index = 2
>>   Auto Changer = yes
>>   Media Type = ait4
>>   ...
>> }
>>
>> Device {
>>   Name = ait4-drive2
>>   Archive Device = /dev/nst1
>>   Drive Index = 3
>>   Auto Changer = yes
>>   Media Type = ait4
>>   ...
>> }
>>
>> Is this something that would even be possible to implement in the
>> future?  Would anyone else be interested in something like this?
>>
> That will not work, You need to have the storage daemon on only the
> host with the tape drives and modify mtx-changer to send mtx commands
> via ssh. This should not be too difficult.


I'd look into ssh keys without passphrases.  Adjust according to your
security situation.

BTW: I think this would be very interesting to document and write
up.

-- 
Dan Langille -- http://www.langille.org/






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users