Bacula-users

Re: [Bacula-users] automating windows client installs

2009-06-08 04:16:38
Subject: Re: [Bacula-users] automating windows client installs
From: Foo <bfoo33 AT yahoo.co DOT uk>
To: Bacula-users AT lists.sourceforge DOT net
Date: Mon, 08 Jun 2009 10:06:45 +0200
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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] automating windows client installs, Foo <=