Bacula-users

Re: [Bacula-users] How does the FD find the SD?

2009-02-08 04:40:05
Subject: Re: [Bacula-users] How does the FD find the SD?
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Sun, 8 Feb 2009 01:35:07 -0800
Dan Langille wrote:
>
> On Feb 7, 2009, at 11:23 AM, Kevin Keane wrote:
>
>> Hi,
>>
>> When you specify the FQDN of the SD in a Storage resource, does the
>> director or the FD do the host name lookup? The documentation seems to
>> suggest that it is the FD, but it isn't completely clear to me.
>>
>> http://www.bacula.org/en/dev-manual/Configuring_Director.html#StorageResource2
>>  
>>
>>
>> *Address = <address>*
>>    Where the address is a host name, a *fully qualified domain name*,
>>    or an *IP address*. Please note that the <address> as specified here
>>    will be transmitted to the File daemon who will then use it to
>>    contact the Storage daemon. Hence, it is *not*, a good idea to use
>>    *localhost* as the name but rather a fully qualified machine name or
>>    an IP address. This directive is required.
>
>
> You aren't saying why you're asking.
>
> The Dir get the <address> and passes it to the FD.  The FD does the DNS.
>
> Does this help?
>
Thanks! Indeed it does help, the last sentence clarified it for me. 
<address> in this case apparently is whatever you enter into the Storage 
resource, rather than an IP address (it's unfortunately, although 
probably unavoidable, that the same word has two different meanings in 
this context).

The reason I'm asking is buried in a very long question I posted a 
couple of days ago. Didn't get an answer to that (understandable, it 
really was far too long to wade through), so I am digging on my own and 
just trying to ask specific questions here and there.

Bottom line, I am trying to make bacula work over SSH, loosely based on 
the ssh script example.

One of the aspects I am trying to do differently is how the FD finds the 
SD. The script example says to create a separate SD with the address 
"localhost". I see a couple problems with that approach (mostly related 
to pool management), so instead I added <address> to /etc/hosts on the 
remote end as 127.0.0.1. That, of course, would break if the director 
did the DNS (it will also break if the FD ignores /etc/hosts, say, via 
nsswitch.conf for instance). Thus my question.

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>