Bacula-users

Re: [Bacula-users] Bacula 7 does not like duplicate Address for Storage

2015-01-16 11:52:06
Subject: Re: [Bacula-users] Bacula 7 does not like duplicate Address for Storage
From: Dan Langille <dan AT langille DOT org>
To: Kern Sibbald <kern AT sibbald DOT com>
Date: Fri, 16 Jan 2015 11:48:44 -0500
> On Jan 16, 2015, at 11:41 AM, Kern Sibbald <kern AT sibbald DOT com> wrote:
> 
> Hello,
> 
> If you do not already have an answer, please read the release notes. 
> They explain that Bacula version 7 attempts to list only unique SD
> names, because any duplicate names will produce exactly the same
> listing.  If you want the old behavior, you can get it -- I forget the
> details, but they are in the version 7 ReleaseNotes.
> 
> Best regards,
> Kern


I did get an answer.  Thanks.

All seems fine now.  I was initially concerned because I was unable to run copy 
jobs.
I now see that that problem was unrelated.

This issue is mentioned in the New Features:

   
http://www.bacula.org/7.0.x-manuals/en/main/New_Features_in_7_0_0.html#SECTION00314000000000000000

I hope to start playing with SD to SD over VPNs to remote sites soon.

Thanks.



> 
> On 14.01.2015 01:58, Dan Langille wrote:
>> I tried upgrading from Bacula 5 to Bacula 7 today on FreeBSD 9.3 with 
>> PostgreSQL 9.4
>> 
>> However, running status storage, I'm missing a storage.
>> 
>> Theory: bacula-dir is not properly treating all Storage resources with the 
>> same Address.
>> 
>> If they all have distinct values for Address, it works. If not, one or more 
>> Storage are silently ignored.
>> 
>> $ bconsole 
>> Connecting to Director bacula.int.unixathome.org:9101
>> 1000 OK: 1 bacula-dir Version: 7.0.5 (28 July 2014)
>> Enter a period to cancel a command.
>> *status storage
>> The defined Storage resources are:
>>     1: File
>>     2: CreyFile
>>     3: DLT
>> Select Storage resource (1-3): .
>> Selection aborted, nothing done.
>> *
>> 
>> But the configuration contains four Storage Resources.  I'll show you two to 
>> demonstrate the problem:
>> 
>> # Definition of Overland DLT 8000 tape storage device
>> Storage {
>>  Name       = CompaqStorageWorksTapeLibrary
>>  Address    = 10.55.0.10
>>  SDPort     = 9103
>>  Password   = "passwd"
>> 
>>  AutoChanger = Yes
>> 
>>  Device     = DTL03
>>  Media Type = SDLT
>> }
>> 
>> # Definiton of file storage device
>> Storage {
>>  Name       = CreyFile
>>  Address    = crey.int.unixathome.org                # N.B. Use a fully 
>> qualified name here
>>  SDPort     = 9103
>>  Password   = "passwd"
>>  Device     = CreyFile
>>  Media Type = File
>> 
>>  Maximum Concurrent Jobs = 40
>> }
>> 
>> If I swap the order of these two devices, I see:
>> 
>> *st st
>> The defined Storage resources are:
>>     1: File
>>     2: DLT
>>     3: CompaqStorageWorksTapeLibrary
>> 
>> 
>> If I change the Address of one of those Storage resources to an IP address 
>> instead of a FQDN, I see:
>> 
>> *st st 
>> The defined Storage resources are:
>>     1: File
>>     2: DLT
>>     3: CompaqStorageWorksTapeLibrary
>>     4: CreyFile
>> Select Storage resource (1-4): 
>> 
>> Can anyone confirm this behavior?
>> 
>> — 
>> Dan Langille
>> http://langille.org/
>> 
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

— 
Dan Langille
http://langille.org/






------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users