Bacula-users

Re: [Bacula-users] [Bacula-devel] request: Allow tape drives to be associated with autochanger resource on different host

2008-07-21 19:24:53
Subject: Re: [Bacula-users] [Bacula-devel] request: Allow tape drives to be associated with autochanger resource on different host
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Kjetil Torgrim Homme" <kjetilho AT linpro DOT no>
Date: Mon, 21 Jul 2008 19:24:47 -0400
On Mon, Jul 21, 2008 at 6:31 PM, Kjetil Torgrim Homme
<kjetilho AT linpro DOT no> wrote:
> "Shad L. Lords" <slords AT lordsfam DOT net> writes:
>
>> Item  1: Allow tape drives to be associated with autochanger
>>           resource on different host
>>     Note: A single robot controls multiple drives but is only connected
>>           to one machine.  It is currently possible to work around
>>           things by having remote hosts issue mtx commands over ssh but
>>           nothing prevents multiple mtx commands from being issued at
>>           the same time.
>
> why not use something like
>
>   ssh robotmaster "flock /var/run/mtx.lock mtx ..."
>
> as your tapechanger command?  flock will wait until it gets a lock on
> the file, so there will never be two mtx processes running
> simultaneously.
> --
The reason is that he wants to split up his tape multi drive changer
so that the drives are on more than 1 machine to allow for higher
performance but at the same time he wants to have 1 changer resource
in bacula and send the jobs to the 1 changer.

John

-------------------------------------------------------------------------
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