Category: CommunityInterWorx Clustering on Raspberry Pis!

Share this post...Tweet about this on TwitterShare on Google+0Share on Facebook0

The Raspberry Pi began its life as a project devoted to providing a small and inexpensive single-board computer to aid in the teaching of basic computer science. While it has a long way to go before it has fully been adopted by the educational community, it has seen unprecedented success by electronics hobbyists and tinkerers alike. With its small form factor and alluring price point, it’s no wonder that it has become the go-to gadget for a myriad of projects.


Raspberry Pi Model B

Photo Credits:

On paper, the specs don’t appear to be anything special: two USB ports, an ethernet port, HDMI out, 512MB RAM, powered via micro-USB and the only storage to speak of is an SD card (not included). For a very large proportion of project ideas, however, that’s more than enough. From media servers, gaming platforms, web servers all the way to robotics, this tiny Linux machine has proven incredibly versatile. So, when the InterWorx development team received a pair of Raspberry Pis to play with, it was only natural to speculate that our clustering control panel could potentially run on them. Why on earth would anyone want to attempt this? To quote George Mallory (of Mt. Everest fame), “Because it’s there”.


InterWorx on Raspberry Pi

One glaring obstacle stood in our way, however. InterWorx is built to run in a stable Red Hat-like environment, preferably CentOS 5 or 6. Unfortunately, Red Hat has yet to release a similar distribution for the ARM architecture and we were forced to choose between porting our software to Debian (which presents a whole host of other issues unrelated to this article) or find a workable alternative.

That alternative came in the form of RedSleeve, a Red Hat-derived distribution for the ARM architecture with a reputation for compatibility with the initial run of Raspberry Pi boards. One hiccup was that the provided RedSleeve SD card images was incompatible with our newer Model B Pi, but we were able to complete a manual install without much difficulty.

The vast majority of the effort came in the form of rebuilding all of our software packages for the ARM architecture which, while by no means an easy task, was more time-consuming than it was difficult. However, once this was done and a few tweaks were made to our install script, we were ready to attempt an install.


After a bit of tweaking and streamlining of the install process — it worked! The install completed without any hiccups and we could successfully activate with our licensing server. We even managed to cluster both of the Pis without any modification to the software! Given the hardware limitations, things weren’t exactly blazing fast, but as a proof-of-concept of InterWorx on ARM servers we’re more than excited about the results.

As such, we are proud to unveil, a neat little page running on top of WordPress, InterWorx and, most importantly, a pair of credit-card sized computers nestled safely in our server room. Here you’ll find the wisdom we encountered over the course of this project, a place to voice your interest in future InterWorx ARM development, as well as the resources to do all of this yourself.


 InterWorx Pi Cluster

ARMFun ProjectsRaspberry Pi
Jun 7, 2013, 12:44 pmBy: InterWorx (4) Comments
  1. wlw1236: We are using the Interworx image of RedSleeve running Bind (the sole purpose of the Pi is a DNS server), and it's awesome. It's VERY fast. This is one of the perfect uses for the Pi, we're saving a lot on electric bills using the Pi instead of a full computer or VM for DNS purposes. In fact it's working so well, we are going to replace other systems as well.
    December 18, 2013 at 9:17 am
    • Trevor Bonomi: That's AWESOME. I want to run a PI with InterWorx as my home router. :) I've been trying to load the image on my Pi SD card, but I'm using OSX to load it with no luck. What OS were you using to clone the image to the SD card?
      December 19, 2013 at 12:29 pm
  2. interworx: Nice :) That's an interesting idea about just running DNS with them -- not sure offhand, but it would definitely be faster than running a full website.
    June 12, 2013 at 11:36 am
  3. CloudHopping: I wonder if you had a dns only version how fast these would run just dns :-) flat zone files would read like a champ I bet. I gotta get a few of these for my 10 year old to start playing with - he mastered his mcse and then told me - DAD why do they want me to do everything with a mouse?
    June 10, 2013 at 4:31 pm

Leave a Reply
Surround code blocks with <pre>code</pre>

Your email address will not be published.


Sign up to receive periodic InterWorx news, updates and promos!

New Comments

Current Poll

  • This field is for validation purposes and should be left unchanged.