Hi,

05.01.2008 14:59,, Kern Sibbald wrote::
> On Saturday 05 January 2008 11:35, Lars Köller wrote:
>> Hi Arno,
>>
>> thanks for your suggestions!
>>
>> Arno Lehmann schrieb:
>>>> I'm looking for a solution to backup my Windows Professional Laptop over
>>>> multiple network adapters (LAN and WLAN) with different IP addresses.
>>> Tricky... sometimes.
>> Yes, it seems so ;-)
>>
>>> As I suppose the two network adapters are in different networks, you'd
>>> need a secondary IP address for the client in Bacula - that's not
>>> possible currently.
>> No they are in the same subnet.
>>
>>>> Another solution would be the possibility to configure more than one IP
>>>> address in bacula for an client and the director tries to connect to
>>>> them.
>>> Exactly :-)
>>>
>>> I see two possible approaches.
>>>
>>> The one I usually use is to use dynamic DNS updates with the DHCP
>>> server, so that my notebook always has the same DNS name assigned,
>>> independent of its IP address. In the DIR configuration, I then use
>>> the FQDN as the address.
>> Hmm, dynamic update is working, but when I'm connected per wire both
>> network adapters are active ... I think this will not work, cause static
>> IP assignment for different MAC accresses leads to some trouble inside
>> the DHCP server.
>>
>>> The other possible solution is more fun:
>>> Set up a run before job to ping the client. Also set up a retry
>>> interval etc.
>>>
>>> The run before script could, if the ping fails, change the DIR
>>> configuration to use the next possible address and use bconsole to
>>> trigger a configuration reload.
>>>
>>> The DIR would retry that job later, with the new IP address.
>>>
>>> A bit of shellscript and possibly AWK would be necessary... unless you
>>> include the client configuration with the @-operator and, for example,
>>> only swap through the possible configuration files.
>>>
>>> Rather simple, now that I think about it :-)
>> Yes, but it seems so simple, that trouble from Murphy will come with it,
>> too ;-)
>>
>> I hope Kern would be able to schedule a solution into the roadmap of
>> bacula for more than one IP or FQDN for a client.
> 
> If you don't have or cannot use Dynamic DNS updates, then use the Bacula 
> console command SetIP (if I remember right) to have the Laptop tell the 
> Director what IP it is using ...

That's a bit tricky here, because you'd have to do that manually if 
both interfaces are available... you'd have to trigger that manually, 
and manually != reliable in my opinion.

Or rather, finding out which IP to use seems more difficult to me (at 
the moment) than using a DIR-integrated solution :-)

Arno

> Good luck,
> 
> Kern
> 
>> Best regards
>>
>> Lars
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to