Hello,

I've worked up something which I think is useful following the
discussion on bacula-devel regarding automated installing and
upgrading of Bacula on large sites with a big Windows element.

The scripts require some customisation which is the nature of these
things but I hope they are useful to others.

Once you have done the preparatory work of creating a security group
which will contain your Bacula clients, downloading the version of the
Windows FD you want to run and setting paths appropriately all you
need to do to deploy to a machine is to add it to the security group
and wait for someone with admin rights (often the user) to log in.
Upgrades are similarly easy. The new version of the installer is
downloaded, a single variable in the script is updated and from then
on upgrades will commence as systems log in.

When combined with the PHP script and a little site specific code you
can easily have it reconfigure the Director too so that both client
and server configuration is fully automated.

Contents:

 1. bacula-install-and-upgrade.vbs

>From the script:
' Bacula Automatic Install & Upgrade VBScript
' -----------------------------------------------------
'
' This script is designed to be customised into a
' organisations domain logon script. The Bacula client
' will be conditionally installed on the presence of
' the executing computer's membership of a Bacula
' group.
'
' When a user with administrator rights logs in to a
' system on a Computer which is present in the Bacula
' group (in ActiveDirectory) the client will be
' installed or upgraded if the existing version is older.
'
' Optionally the client can be automatically configured
' with the director by querying a PHP script residing on
' a Web server (possibly on the director, but that is not
' a requirement)
'
' The PHP script is also designed to be customised into an
' organisations own systems. The supplied template just
' generates a password and a very simple bacula-fd.conf
' storing the password and computer name in a comma
' delimited file.
'
' Most organisations will want to customise this to store
' these details in a database table from which they can
' generate their bacula-dir and bacula-sd conf(s) using a
' template.
'

http://goodforbusiness.eu/~dom/bacula-install-and-upgrade.vbs

 2. fdconf.php

A minimal implementation of a script to configure the client and
possibly the server. This area is site specific however and needs to
be customised so this is just a starting point.

http://goodforbusiness.eu/~dom/fdconf.phps

Comments welcome.

Thanks,
Dominic


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to