On Thu, Mar 22, 2012 at 10:59 AM, Gary Stainburn <g...@ringways.co.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users