PDA

View Full Version : Running Muon No-Net


MikeTimbers
16th April 2005, 05:58
I thought I'd post a quick "How-to" for running Muon no-net as I seem to get a fair bit of interest around other forums as to how it's done. It's actually the simplest DC client to run no-net I've ever seen so none of the following is rocket science at all.

Install all the clients as per usual on the non-internetworked machines configuring each client to be non-net-connected by running the provided config_nonet.bat file.

On any net connected machine, have the same version of the client installed but configured for net access using the config_net.bat file.

Assuming all the non-net clients are at least network accessible and you have admin rights (if you haven't, should you be running Muon on them? http://users.pandora.be/eforum/emoticons4u/happy/045.gif ), the next step is to harvest the completed results.

I create a \harvest directory on my local drive. Then I have a harvest.bat batchfile to copy the results to unique directories for each machine. In my network each machine has a hostname like "WKS0001" so this becomes the directory into which the results are copied:

@echo off
md \harvest\WKS%1
del \harvest\WKS%1\results.txt /q
copy \\WKS%1\C$\muon\results.txt \harvest\WKS%1
del \\WKS%1\C$\muon\results.txt /q

To run the file: "harvest xxxx" where xxxx is the machine's unique number. The "md" part will normally fail as the directory will probably be there from the previous harvest but this is not a problem. The "del" line is to remove any previous results.txt you may have.

I have a superharvest.bat which gets all of the clients:

@echo off
call harvest 0001
call harvest 0002
call harvest 0003
call harvest 0004
etc.

Once all are collected, I run combine.bat:

@echo off
cd \harvest
del results.txt
copy 0001\*.txt+0002\*.txt+0003\*.txt+\0004\*.txt results.txt

This creates a single results.txt in the \harvest directory which I compress and e-mail to myself at home where it is uncompressed into the directory prepared earlier. Run manualsend.bat to upload.

From time to time, it is worth distributing new sample files to the nonet machines. I use Muon Cockpit to monitor all the machines.

The above process allows you to take advantage of machines which may not have ftp access due to pesky firewalls but is only useful where the machines have some network access and you have admin rights. None of it is terribly clever and I'm sure it could be improved but it works for me...