Re: [Bacula-users] Changer on different host
2008-07-17 10:16:57
On Jul 17, 2008, at 10:06 AM, Shad L. Lords wrote:
> 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.
>
>
> That is too bad in addition to possibly having issues with multiple
> mtx
> commands attempting to be sent at the same time it also makes it
> impossible to define all 4 drives as available for use from a job.
> Because all 4 drives are in the same autochanger and they all have
> access to the same tapes it would be nice to just use ait4-changer,
> ait4
> for the storage definition and have it pick one of the 4 (or all 4)
> for
> writing. One of the reasons for splitting drives between hosts was to
> improve the speed of the backup. By having the restriction of the
> autochanger and drives belonging to the same host you are complicating
> the setup.
This is subjective. You see it as a complication. I see it as a
simplification.
--
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
|
|
|