Skip to content

Cluster computing

Hi, my dad's office recently replaced 9 workstations, and allowed me and my brother to take them. We decided to build a cluster once all 9 are thoroughly wiped. How would you reccommend we do the OS? are there package builds for parallelization, or is there any particular distro we should go for? Arch is my first choice because of the modularity, but are there any distros designed for clusters?

16 points19 comments
Open on Reddit
About this post
Posted
Archived
Score
16 · 100% up
Kind
Text
ID
250be5

Author

4
posts
14
comments
0
media
View profile

20 comments

What is something useful that cluster computing can do for the average user? Something fun, interesting, anything?

I am in a position where I have some free time coming up and have a spare 8 identical workstations. Would be fun to nerd out with some beers and try something new while the missus is away for the weekend.

Yes, I know...mylifeisprettysheltered

10 points

When we get it setup, we'll probably run a minecraft and teamspeak server, maybe also something for media streaming and storage. Its mostly for shits and giggles, honestly

2 points

I do some simple modelling in blender, and it is really easy to set up a render cluster for the finished video.

1 points

I take care of some clusters (think 400ish nodes worth) on a university campus. Notes:

  • You don't want fully independent nodes if you can avoid it, management gets ugly fast. Set up as 8 nodes +1 master and keep all your user storage and state on the master.
  • We use warewulf to provision most of our machines so the nodes are entirely stateless. There are a whole variety of similar things like ROCKS, xCat, etc. Pick one that appeals to you.
  • None of the tools I know play particularly nice with Arch, Warewulf really only treats RHEL-like distros (CentOS and friends) as first class citizens, and can sort of handle Debian.
  • I did once set up a small Arch cluster for funsies, software from the HPC world is really set up for RHEL, and there are tools for stripping that down even further than a hand-tuned Arch system would be.
  • You will want a parallel shell tool like pdsh when you start working with machines in groups.
  • Some things are easy to parallelize because you can just run multiple instances, distcc is a pretty cool example of that. In ~2005ish I built a rather large i586 package set for Arch by setting up makepkg to use distcc on a cluster, it was fun.
  • Parallel programming is hard. MPI is the usual interface, and there are bindings for lots of languages. It's a great skill to pick up, but don't expect it to be easy.

I'm happy to share suggestions or whatnot, it's a great exercise to play with clusters.

9 points

I took a look at Warewulf, and it seems to be great. I think i'm going to run that alongside RHEL 7, once its out. I've always wondered about parallel programming. It seems especially useful today, since cpu's are more often than not multithreaded

3 points

Cool, that should be a good stack. I've met the developers at conferences and sent patches and such, Greg and the Warewulf folk are good people, and given that most of the National Labs are using it (LLNL is currently employing the core developers) it's pretty well battle-tested.

Trying to migrate at least some test machines to CentOS7 (not RHEL, you pay for updates with RHEL, CentOS is the same packages without support or subscription) when it drops is on my project list, I have a feeling because I'm grudgingly already on systemd from Arch and have been administrating older CentOS boxes (featuring the init setup bad enough to justify systemd) for years I'm going to find RHEL7 pretty comfortable, but big migrations always bring up weird problems.

2 points
unknown author1 hidden

Deleted before we saved it.

5 points

thats a fair point, I forgot about that. I'll probably go with RHEL 7, like others have been suggesting

3 points

What exactly are you trying to do with a cluster... if it is just High availablility, pacemaker used to be fine in the AUR, but I would still wait for rhel/centos7 and just do it with those, since that is what RHEL 7 is supposed to switch to for clustering instead of using the RedHat Cluster Suite. But this stuff is mostly just used for making sure things like... your Mysql Database or something have a fail over plan, and you just reference the floating IP address between them.

If you are doing clustered computing... no idea.

For things like clustering together to do large map reduce shit and all those cool things, hadoop clusters are pretty cool, also, making a cluster of glusterfs nodes to do clustered storage might be usefull.

Lastly would be something like doing an openstack cluster for hosting virtual machines and shit... I am looking at moving some of the openstack stuff into [community] at some point in the nearish future... but I haven't had time to look at it in a minute.

3 points

We'll most likely be running a minecraft and teamspeak server, and maybe some media streaming stuff down the line. I'm seriously thinking about RHEL 7 now, since it seems to be just what i'm looking for.

1 points

You likely won't get any benefits from running minecraft/teamspeak servers on a cluster. Normally the benefit of a cluster is that you want to do something computation heavy that was written in a way that you would be able to use the processors from each node on the cluster at the same time. People doing this type of computing would use something like mapreduce or MPI. If you are doing something you are interested in running on multiple processors you could run something like Rocks Cluster Distribution. Rocks can use Scientific Linux, Red Hat, or CentOS (probably other RPM based distros as well) and provides tools that allow you to sync user accounts across all machines, distribute jobs to other machines, track what the load is on each machine, etc. It is important to keep in mind, however, that the program you want to run on all of the machines needs to be capable (parallelized) of running on multiple machines.

1 points

Check out plan 9 from bell labs. It was designed for cluster computing. You can actually mount processors over the network in it.

3 points

Hi fellow clusters maker! Me and a friend are doing a similar thing at school, and we made a little script to automagically install arch. If you are interested, here's the link: https://github.com/ned98/ArchDeploy Anyway, we're using TORQUE for job despatching. Please remember to edit thoroughly the code as it includes some specific configurations and SSH keys!

2 points

Thanks for the script, I might use that when I switch my desktop over to Arch. I got it back in November, but the UEFI bios were givingt me trouble, so I ended up on Windows 8. Someone else pointed out rolling-release OS's aren't the best for servers, so I don't think I'll be using Arch, but I'll definitely give that script a try

1 points

FYI:

  1. You should edit the boot loader section to use LILO (for uefi)
  2. We use as much LTS packages as possible, to enhance stability and so on
1 points

You could build a mini hadoop cluster with that. One of our smaller development clusters where I work is about that size and is still decently capable. Maybe check out /r/hadoop

Edit: Cloudera has prebuilt distros for this, but I don't know of any based on Arch.

2 points

I use Rocks Linux on mine - if you have some understanding of networking (or just google things a lot like I did) then setup is pretty easy. The documentation on rocks is not terribly easy to find, so if you need links I will provide.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.