On Thursday 05 January 2006 01:24, Wolfgang Denk wrote:
> Hello,
>
> in message <[EMAIL PROTECTED]> you wrote:
> > people chose - apart from that, I never saw anything more complex than a
> > handfull of pools and a single DIR with a single SD in one installation.
>
> Well, I'm running a DIR with two SD's here (actually two such
> setups). This works fine, but I'm not doing any fancy stuff yet, just
> learning and trying to understand some things as I go. The setup is
> the result of historical and economic reasons; one drive is a DDS
> autoloader (where media are dirt cheap), the other one is a SLR100
> autoloader (which is much faster and can store much more data).
>
> What I'd _like_ to do is running two DIRs and two SD's in some kind
> of "cross-over" configuration, such that I have two independent
> systems (DIR + SD on each system), where both systems can access the
> volumes from the other system as well [the idea is to be able to
> recover even if one of the backup servers or parts of the hardware
> like a tape drive fail].
>
> I think this requires that both DIRs share one database (otherwise
> access to the "other" volumes would be non-trivial), but I have no
> idea if such a mode of operation is possible at all.
>
> Is such a setup possible at all?
My original idea some 5 years ago was to permit multiple Directors as well as
SDs and FDs. Today, you can run with multiple SDs and FDs, but running
multiple Directors on the same database is not yet possible. There are just
too many places in the current database access code where Bacula needs to
lock the multiple threads, and a second Director would almost surely turn it
into a catastrophy.
Having multiple Directors is something I would like to permit, but it will
take a lot of careful thought -- the two big problems that I see off hand is
that entering the directory and filenames into their appropriate tables has
to be atomic (i.e. locked at a higher level than the db -- or the code must
be changed), two Directors must be prohibited from trying to access the same
Medium (Volume) simultaneously.
--
Best regards,
Kern
(">
/\
V_V
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users