Bacula-users

Re: [Bacula-users] Client with multiple addresses

2012-03-22 12:56:11
Subject: Re: [Bacula-users] Client with multiple addresses
From: Jon Schewe <jpschewe AT mtu DOT net>
To: Gary Stainburn <gary AT ringways.co DOT uk>
Date: Thu, 22 Mar 2012 11:54:18 -0500
On Thu, Mar 22, 2012 at 10:59 AM, Gary Stainburn <gary AT ringways.co DOT uk> wrote:
> I don't know that it's directly possible. The way I would try to achieve
> this is working with DNS, looking into dynamic registration of your
> laptop's A record.
>
> If that's not feasible, an alternative may be to have the two IP
> addresses associated with your laptop's A record; perhaps Bacula's
> network code would try them sequentially. Not to be used with
> round-robin DNS, though. Also, it won't work if the addresses are
> dynamically assigned.
>
> And if the machines on your wired and wireless networks are assigned
> different DNS domain suffixes, then this won't work.

I had a go at getting dynamic DNS working and failed.

The way that I managed to get this working was to write a perl script that
monitors (tail -f basically) the DHCPD logs and then edits the client config
file and forces the director to reload.

This method also means that I can trigger other actions when a user's laptop
is connected, such as updating my inventory database, triggering bacula
backup jobs depending on which subnet (site) the laptop is on.

If you're interested, I could post some code.

That's one option, however my bacula server and my DHCP server are not the same box. So I'd rather have a solution that I can just specify both addresses and then use the reschedule job options for when the computer is offline.

--
Jon Schewe | http://mtu.net/~jpschewe


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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>