Book Image

Raspberry Pi Super Cluster

By : Andrew K. Dennis
Book Image

Raspberry Pi Super Cluster

By: Andrew K. Dennis

Overview of this book

A cluster is a type of parallel/distributed processing system which consists of a collection of interconnected stand-alone computers cooperatively working together. Using Raspberry Pi computers, you can build a two-node parallel computing cluster which enhances performance and availability. This practical, example-oriented guide will teach you how to set up the hardware and operating systems of multiple Raspberry Pi computers to create your own cluster. It will then navigate you through how to install the necessary software to write your own programs such as Hadoop and MPICH before moving on to cover topics such as MapReduce. Throughout this book, you will explore the technology with the help of practical examples and tutorials to help you learn quickly and efficiently. Starting from a pile of hardware, with this book, you will be guided through exciting tutorials that will help you turn your hardware into your own super-computing cluster. You'll start out by learning how to set up your Raspberry Pi cluster's hardware. Following this, you will be taken through how to install the operating system, and you will also be given a taste of what parallel computing is about. With your Raspberry Pi cluster successfully set up, you will then install software such as MPI and Hadoop. Having reviewed some examples and written some programs that explore these two technologies, you will then wrap up with some fun ancillary projects. Finally, you will be provided with useful links to help take your projects to the next step.
Table of Contents (15 chapters)
Raspberry Pi Super Cluster
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building a Lego enclosure


Building a case for your device helps to protect it from getting damaged. One fun, popular, and cheap method of doing this is to use Lego bricks.

For those of you who don't have them, these can be purchased from most toy stores, Amazon, or can be ordered directly from the following Lego website:

http://shop.lego.com/en-US/#shopxlink

Lego also allows custom brick ordering; for example, you can order all red, green, or white bricks for your case at the following link:

http://shop.lego.com/en-US/Customized-Items-ByCategory

For each Raspberry Pi case you will need the following:

  • Flat Lego panels to make a 13 x 9 stud rectangle.

  • Bricks to go around the edges of this rectangle. These should be two-studs wide.

  • Four flat tiles. These have no studs on top and cover an area of 1 x 2 studs when connected.

  • Pieces to make a wall, three bricks high and one stud wide, to ring the 13 x 9 dimensions.

So let's get started with building our Lego enclosure. The steps for this are as follows...