Home > Store

Linux Cluster Architecture

Register your product to gain access to bonus material or receive a coupon.

Linux Cluster Architecture


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2003
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 264
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32368-0
  • ISBN-13: 978-0-672-32368-3

Cluster computers provide a low-cost alternative to multiprocessor systems for many applications. Building a cluster computer is within the reach of any computer user with solid C programming skills and a knowledge of operating systems, hardware, and networking. This book leads you through the design and assembly of such a system, and shows you how to mearsure and tune its overall performance.

A cluster computer is a multicomputer, a network of node computers running distributed software that makes them work together as a team. Distributed software turns a collection of networked computers into a distributed system. It presents the user with a single-system image and gives the system its personality. Software can turn a network of computers into a transaction processor, a supercomputer, or even a novel design of your own.

Some of the techniques used in this book's distributed algorithms might be new to many readers, so several of the chapters are dedicated to such topics. You will learn about the hardware needed to network several PCs, the operating system files that need to be changed to support that network, and the multitasking and the interprocess communications skills needed to put the network to good use.

Finally, there is a simple distributed transaction processing application in the book. Readers can experiment with it, customize it, or use it as a basis for something completely different.



Download Instructions


You can download all the source files by chapter, or get a complete Linux userís environment that includes all the source and header files, their make files, etc.

  1. Each zip file contains all the source listings for one chapter. Click to begin the download:

  2. The file named chief.tar.gz contains a complete set of files for a newly created userid named chief. Add a new user named chief, set its password, and extract all the files inside this tar file. Log out, then back in again, and you should have all the source and other files discussed in the book. You will also find a README.txt file in each sub-directory, describing each of its files, and how to test then in some cases.

Here are the details, assuming you have downloaded chief.tar.gz into the /tmp directory. (It can be in a directory of your choosing, but the example assumes it's in /tmp.)

As root,

  • > adduser chief

It will remind you to set chief's password. Do it

  • > passwd chief

It will ask you for a password, and then ask you to retype that same password for confirmation.

Log out as root, and in as chief. From it's home directory, extract all the files from the tar file:

  • > tar zxvf /tmp/chief.tar.gz

Now log out as chief, and back in again as chief. (This is an easy way to set up the new environment, etc., for this new user ID.)

You're done! Snoop around and check out the files in each subdirectory. Typing "make" from any of the source subdirectories will rebuild that set of programs. Typing "make" from your home directory will rebuild everything.

In the bin subdirectory, you will find a few scripts that will help you in testing, and a backchief that assumes you have a /backups directory that chief can access.

If you mess anything up, a copy of the chief.tar.gz file will come in handy as a Plan B - enjoy!


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership