Right. I'll take the time to compile a post with my methodology for automating the process of spawning many
BOINC instances under Linux.
If you are running Windows, you can simply spin up a VM.Several things to keep in mind:
1. Each BOINC client requires its own data directory so that it may have an independent set of tasks, regardless of their names. It is unlikely but you can even end up running the same task on two clients (as long as it needs a second verification run).
2. You will need a way to conveniently manage all the running instances; attaching manually to each instance is nuts when you run over 1,000 clients across several VMs.
applies to attaching and updating any projects you want the clients to run.My workarounds:
1. I have one bash script which, upon initial configuration, creates all the necessary scripts which would then initialize, run, and attach projects to all the instances I want to create.
2. BoincTasks is a very convenient software which has a human-readable configuration file, which can be easily manipulated (under Windows) and thus there is no need to manually connect to all of the machines and clients. The script generates a xmlconfig
file whose content you should copy-paste in %appdata%\eFMer\BoincTasks\computers.xml
I suggest making a backup copy of it, especially if you are going to run many clients (BoincTasks gets VERY slow and CPU-intensive if you have 500 clients attached to it)!!!
3. I do not recommend updating more than 5-6 clients on the same machine at once from BoincTasks - this can trigger a defer in communications from the server. Use the project_update script - it updates one client per 15 seconds.The script
You can find my script with added comments here:
https://pastebin.com/6aTJ48K1Please take your time to read through it because there are several variables you will need to change.
It is very, very simple and you should have no problems with modifying it.
Since I've only had to run it five times (for a total of 1200 BOINC clients in my case), I never bothered to further optimize it.
Do not hesitate to contact me with any questions.Edited by fragamemnon - 4/27/17 at 4:46am