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?
About this post
- Posted
- Archived
- Score
- 16 · 100% up
- Kind
- Text
- ID
- 250be5
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
Naww, this guy! :)
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
I do some simple modelling in blender, and it is really easy to set up a render cluster for the finished video.
I take care of some clusters (think 400ish nodes worth) on a university campus. Notes:
I'm happy to share suggestions or whatnot, it's a great exercise to play with clusters.
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
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.
Deleted before we saved it.
thats a fair point, I forgot about that. I'll probably go with RHEL 7, like others have been suggesting
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.
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.
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.
Maybe this will help?
https://bbs.archlinux.org/viewtopic.php?id=117850
Check out plan 9 from bell labs. It was designed for cluster computing. You can actually mount processors over the network in it.
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!
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
FYI:
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.
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.