Many computers, one owner


Advanced search

Questions and Answers : Macintosh : Many computers, one owner

Author Message
delpeso
Send message
Joined: 21 Dec 16
Posts: 1
Credit: 275
RAC: 0
  
Message 5857 - Posted: 22 Dec 2016, 18:43:21 UTC

In case I would like to contribute with more than one computer, is it possible to link my account to many computers?
Are there templates of an automatic installation system to install/configure the software on the computers o do I have to do it manually one by one ?

PHILIPPE
Send message
Joined: 24 Jul 16
Posts: 84
Credit: 53,413
RAC: 0
    
Message 5872 - Posted: 24 Dec 2016, 14:58:27 UTC - in response to Message 5857.
Last modified: 24 Dec 2016, 15:06:34 UTC

Welcome delpeso ,
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Perhaps an automatic way is possible using boinccmd tool.

official documentation

Look at the bottom of this page

Examples

It's not hard to write useful scripts based on boinccmd, as long as you know your way around Unix tools. Here's one to run 'update' on all attached projects on your client:

for url in $(boinccmd --get_project_status | sed -n 's/\s*master URL: //p'); do
boinccmd --project ${url} update;
done


If you have remote RPCs set up on your clients, it's easy to, for example, attach a project on all 50 machines, by looping over a list of IPs instead of a list of projects:

for num in $(seq 2 50); do
boinccmd --host 192.168.42.${num} --passwd 1234 \
--project_attach http://project_url/ a84dc0bec631cbf81e25e6e7cd9ca826;
done;


That will connect to the machines 192.168.42.2 - 192.168.42.50 using the RPC password '1234' and make them attach to http://project_url/ with the specified account key.

----------------------------------------------------------------------------------------------------------------------------------------------------------------
another way is to use BoincTask
advised in add-on boinc software

read this page
----------------------------------------------------------------------------------------------------------------------------------------------------------------
another way is to use powershell (open source and multi platforms:windows,linux,mac) with PSBoinc:

Attach multiple remote clients to a project
example:
"pc-01","pc-02","pc-03" | foreach {
Enter-BoincSession $_ "9096083b1c5a02d473a81784eb8e0862"
Add-BoincProject "http://boinc.bakerlab.org/rosetta" "johndoe@example.com" "P@ssW0rD!"
}

--> to adapt to atlas and your personal case.

I don't use these tools because i have only one computer but perhaps other peolple know a better way to manage their computers,as simply as possible.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Hope it helps you...

Questions and Answers : Macintosh : Many computers, one owner