Bacula-users

Re: [Bacula-users] Client with multiple addresses

2012-03-22 12:02:21
Subject: Re: [Bacula-users] Client with multiple addresses
From: Gary Stainburn <gary AT ringways.co DOT uk>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 22 Mar 2012 15:59:58 +0000
> 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.

Gary

-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 

------------------------------------------------------------------------------
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>