Running on multiple computers sharing home directories with NFS

Message boards : Questions and problems : Running on multiple computers sharing home directories with NFS
Message board moderation

To post messages, you must log in.

AuthorMessage
John Bray

Send message
Joined: 17 Aug 08
Posts: 5
United Kingdom
Message 19525 - Posted: 17 Aug 2008, 7:25:56 UTC

I would like to run multiple instances of the boinc client on Linux machines sharing their home directories with NFS, but run_client refuses to start up, claiming another instance is already running, presumably one on another machine.

How can I keep the instances separate other than the really crude approach of different installation directories for each machine.
ID: 19525 · Report as offensive
Keck_Komputers
Avatar

Send message
Joined: 29 Aug 05
Posts: 304
United States
Message 19526 - Posted: 17 Aug 2008, 8:45:55 UTC

I would advise installing BOINC locally on each machine. In addition to solving your current problem it may prevent some others, it may also speed your processing up slightly.
BOINC WIKI

BOINCing since 2002/12/8
ID: 19526 · Report as offensive
John Bray

Send message
Joined: 17 Aug 08
Posts: 5
United Kingdom
Message 19552 - Posted: 18 Aug 2008, 6:15:54 UTC

I'm surprised this issue has not come up before, as cross-mounting user directories like this is standard practice for Linux clusters, and many people must think of running Boinc as a default activity when its not in active use for some reason or other. I've only got a couple of nodes in my trial system, but if you had 20 in a rack, no-one is going to have 20 different boinc installations in different directories to manage.

John
ID: 19552 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 19555 - Posted: 18 Aug 2008, 7:28:55 UTC

It has come up before.
BOINC is just not designed for clustering.

ID: 19555 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 19564 - Posted: 18 Aug 2008, 14:06:23 UTC - in response to Message 19552.  

I'm surprised this issue has not come up before, as cross-mounting user directories like this is standard practice for Linux clusters, and many people must think of running Boinc as a default activity when its not in active use for some reason or other. I've only got a couple of nodes in my trial system, but if you had 20 in a rack, no-one is going to have 20 different boinc installations in different directories to manage.

John


If you run BOINC from your home directory this is an issue. But if you run it on Linux as a daemon then each instance can run out of it's own directory (such as /var/lib/boinc) and not interfere with the other.

You can then control them all via setting preferences, or control individual ones with BOINC Manager pointed at the particular one of interest. As long as each machine has a separate working directory there is no problem with clustering.


-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 19564 · Report as offensive
John Bray

Send message
Joined: 17 Aug 08
Posts: 5
United Kingdom
Message 19650 - Posted: 20 Aug 2008, 22:16:01 UTC - in response to Message 19564.  

I've now switched to the daemon approach, though it didn't like my moving personal files across after the installation, at least malariacontrol has quick work units, so little was lost.
ID: 19650 · Report as offensive

Message boards : Questions and problems : Running on multiple computers sharing home directories with NFS

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.