On Wed, 27 May 2009 23:55:47 +0200, Jayson Broughton
<jbroughton AT truecos DOT com> wrote:
> Surely there is an easier way to automate installs than to create
> an NSIS file from scratch.
What I eventually did:
- got Sysinternals' (now Microsoft) psexec utility from
http://download.sysinternals.com/Files/PsTools.zip
- copy psexec, the Bacula client installer and a textfile containing one
server per line to a central location on the network
- use 'psexec.exe @servers.txt -c winbacula-2.4.4.exe /S' to silently
install.
- 'psexec.exe @servers.txt -c sc failure Bacula-fd reset= 3600 actions=
restart/5000/restart/5000/restart/5000' (set FD service to restart
automatically in case of problems).
- bash script mounting admin shares + sed the config files into shape
(passwords, client names, IP addresses etc.)
- start the service on each server with 'psexec @servers.txt sc start
"Bacula-fd"'
Do the psexec stuff in a DOS box to see the output, not all services may
start correctly immediately etc.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|