Re: [Bacula-users] Adding a client remotely
2014-12-19 19:30:46
ok, so here's what I have so far:
The director is set to read files from /etc/bacula/conf.d (see
13.2.3 in the latest bacula manual)
The client creates a special conf file.
The client uses scp to copy that file to /etc/bacula/conf.d in the
director
So far this works ok, now the problem is how do I tell the director
to reload?
Well, to do that, I just set up incron! incron listens to changes to
the cond.d directory, and calls /sbin/service bacula-dir reload when
it detects a changed file there.
I hope all this helps someone.
Roberto
On 12/19/2014 10:24 AM, Roberto Leibman
wrote:
On 12/17/2014 12:59 PM, Roberto
Leibman wrote:
I'm not sure I get what you're saying... the bacula server is
not managed by chef, there's only one of those. It's my clients
that are managed by chef.
If I understand what you're suggesting:
If client creates a config file. This file is somehow put on the
bacula server. The server then somehow adds this file to the
configuration.
There's no way to tell the director to add a client through
bconsole?
On 12/17/2014 12:51 PM, Romeo
Theriault wrote:
If you're using chef I'd suggest splitting out each of
your client config files into their own conf file and use
chef templates to create them. Then have a cron script
check if there are any new/changed conf files and reload
the director config if their are. This is what I do.
|
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|