SETI Remote Manager for Controlling Multiple Machines
Here is a direct link to the
zip
Here is what it says in the readme.
SETI@home Remote Manager v0.666
(c)Demon 2001
Proud Member of the LittleWhiteDog SETI@home team.
Are you a Windows NT/2K administrator?
Do you have hundreds, perhaps thousands, of NT/2K machines at your disposal?
Do you want to run SETI@home on all of them?
Are you too bloody lazy to install it manually on each of them?
If you can answer yes to those questions then this is for you.
What you need:
1) This package
2) The following Windows NT Resource Kit tools, preferably from Supplement 4:
REGINI.EXE
SC.EXE
SRVANY.EXE
3) The SETI@home command-line client. You *must* rename it to SETIclient.exe
4) The file USER_INFO.SAH from an existing SETI@home installation. This file
contains your SETI@home user details. If you don't have it then you can easily
create it by running the SETI@home command-line client manually and supplying
your details when asked.
5) The names of each PC you want to install SETI@home on.
6) Perhaps most important, you need to be using an account which has administrative
privileges (either directly or through group membership) on the target PCs.
I could re-write this so that you could specify specific accounts for each
machine, but I'm too lazy to do that. Besides, I've got automatic admin rights
on all of the boxes in my care; why haven't you?
Put all of the files and programs into the same directory.
I assume you're raring to go. Here is the information which is displayed if you run
SR.BAT without any parameters. Oh yeah, nearly forgot: if you try to run SR.BAT from
Windows it will run through without stopping and you won't see anything. You need
to be using a command prompt. Scary, huh?
=============================
Usage: SR [ INSTALL | REMOVE | START | STOP | STATUS | HELP ] <computer name>
<computer name> is optional. If you do not specify it then you
must have a list of computer names in the file PCNAMES.TXT. In this
file the computer names must each be on a separate line. The file
must be placed in the directory
E:\SETI\
INSTALL
This option deploys the SETI@home command-line client, configures
and starts the service.
Example: SR INSTALL
This will set up the SETI@home service on all PCs
listed in PCNAMES.TXT
SR INSTALL HOMER
This will set up the SETI@home service only on the
PC called HOMER
You must edit the file SETIREG.TXT if your network uses a proxy
server (including SETIqueue, if you use it). You must put
-proxy <address>:<port>
at the end of the line
Application = C:\SETI\SETIclient.exe
For example:
Application = C:\SETI\SETIclient.exe -proxy 192.168.0.1:8000
REMOVE
This option stops and removes all traces of the service. You will
lose all progress made on work units currently being processed.
START
This option starts the service, if it is not already running.
STOP
This stops the service, if it is running.
STATUS
This reports the status of the service and current WU progress.
If any errors are generated they will be in the file E:\SETI\RESULTS.TXT.
=============================
Every one of those options will take a computer name. I know I only gave an example
for the first option (INSTALL) but it will work for the rest, too.
If you want to manipulate one machine at a time then just put a computer name in the
command. If you want to manipulate lots of machines then you need to create a text
file with the names of the PCs you want to use. This file must be called PCNAMES.TXT
and in that file every PC name must be on a different line, e.g.
HOMER
MAGGIE
LISA
BART
MARGE
FLANDERS
SKINNER
You get the picture. There must be no other text in that file. SR.BAT will assume that
any text in that file is a PC name and will try to manipulate it accordingly.
HINT: If you've got tons of PCs and don't know what they're all called then the Resource
Kit can help you there, too...
If you're behind a proxy server then you'll need to edit the file SETIREG.TXT. In that
file is the line
Application = "C:\SETI@home\SETIclient.exe"
You'll need to change that line to
Application = "C:\SETI@home\SETIclient.exe -proxy <address>:<port>"
where <address> is the IP address of your proxy server and <port> is the port needed.
If you use SETI Queue you can set the address and port of the SETI Queue machine as
the proxy server.
The STATUS option reads the progress directly from the STATE.SAH file. The value
you'll see is a number between 0 and 1, where 0 is no progress at all and 1 is a
complete work unit. The Windows NT scripting language can only cope with integers which
is why you won't see any fancy multiplication to turn that figure into a percentage.
Limitations:
1) You must use an account which has admin priviliges on the target machines. This won't
work otherwise.
2) Only one instance of the service can be created on each machine. Once I finally get my
greasy mitts on a dual-processor machine I'll rewrite this to cope with multi-processor
systems.
3) Depending on your situation you might want to disguise the processing. C:\SETI@home is
a bit obvious, after all. If you can work out the syntax of the script file you should
be able to rewrite it to install the service somewhere more discreet.
4) The SETI@home command-line client *must* be called SETIclient.exe.
That's it, as far as I can tell. This works on my systems; I hope it works on yours.