This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Feature

A survey of open source cluster management systems

By M. Shuaib Khan on September 21, 2006 (8:00:00 AM)

Share    Print    Comments   

In computing world, the term "cluster" refers to a group of independent computers combined through software and networking, which is often used to run highly compute-intensive jobs. With a cluster, you can build a high-speed supercomputer out of hundreds or even thousands of relatively low-speed systems. Cluster management software offers an easy-to-use interface for managing clusters, and automates the process of queuing jobs, matching the requirements of a job and the resources available to the cluster, and migrating jobs across the cluster. Here's an introduction to five open source CMS applications.

openMosix

openMosix, probably the most famous open source clustering solution, was started by Moshe Bar in 2002 to extend and provide an open source alternative to the Mosix CMS. openMosix is available as a patch to the Linux kernel which extends the ordinary kernel into a cluster-aware system. openMosix provides single-system image (SSI) clustering, which means that the distributed multiple resources present on the network appears to user applications as as single local resource. Its autodiscovery feature enables it to detect a new node at runtime and start using its resources, which means that a new node can be added to the cluster while openMosix is running.

openMosix uses load-balancing techniques to migrate jobs from a node with a high load to a one with less load where the job can run faster. The process of job migration is transparent, which means that the job migrated doesn't even know that it has been migrated and acts as if it is running locally. openMosix allows a wide range of applications to be executed on it, without any special programming required.

In order to install openMosix, you have to download two files: the kernel patch and the userland tools. Debian users can use APT to install openMosix, and Gentoo users can run emerge.

One of the cons of openMosix is that it is kernel-dependent. It has a stable release for the kernel 2.4 version, but userland tools for 2.6 kernel are still under development.

Kerrighed

Kerrighed is another SSI clustering package. Like openMosix, it is available as a kernel patch and a set of kernel modules. Kerrighed's default scheduling algorithm allows it to automatically transfer processes and threads to different nodes across the cluster in order to balance the load on the CPUs. The customizable scheduling algorithm provides seamless migration of processes that uses streams (socket, pipe, char device, etc.) without affecting communication performance. Kerrighed allows the migration of threaded application, and also the migration of an individual thread. It also offers process checkpointing, which means that processes can be paused on one cluster node and restarted on any other node. Kerrighed also supports Distributed Shared Memory (DSM), which means that each node has access to a large shared memory area in addition to its limited private memory.

One drawback of Kerrighed is that it does not allow the addition or removal of a node while the cluster is running.

Kerrighed is currently available for Linux systems using Intel processors (IA32), and requires a shared filesystem across the cluster. Kerrighed can be used with kernel versions 2.4.29, 2.4.24, and 2.2.13. A release that will work with kernel version 2.6.11 is under development.

OpenSSI

OpenSSI, as the name suggests, is a yet another single-system image clustering product. Its homepage cites the project's goals to be "availability, scalability, and manageability, built from standard servers." OpenSSI allows the addition and removal of nodes while the cluster is running. It uses a process migration mechanism derived from Mosix to dynamically balance the cluster CPU load. OpenSSI also allows the migration of threaded processes.

One of the main feature of OpenSSI is that a single root filesystem is enforced across the cluster. When an ext2 or ext3 filesystem is mounted on any node, it will be automatically stacked and all nodes on the cluster will instantly see its mount point. There is no need to install multiple copies of Linux distributions on each node of the cluster. A distribution on the first node of the cluster is installed, and after a successful setup of OpenSSI on the first node, any additional nodes are added to the cluster by network booting the new node.

OpenSSI's process management is complete and robust. Processes are handled cluster-wide, and each process on the cluster has a single PID. Inter-process communication (IPC) is handled cluster-wide as well.

OpenSSI has been tested to work successfully with many of the open source high-performance computer (HPC) middleware products, such as MPICH, LAMPI, HP MPI, and openPBS. Many different types of servers have been tested on OpenSSI, such as LTSP (Linux Terminal Server Project), Apache (1.3, 2.0), Jakarta Tomcat 4/5, BEA WebLogic Server 9, MySQL Standard and Max with NDB Cluster, Sybase, PostgreSQL, Sendmail, Postfix, Dovecot, SpamAssassin, ClamAV, and many more -- basically anything that works with kernel 2.4 and 2.6.

OpenSSI's most notable limitation is the number of nodes supported per cluster, which is 125. OpenSSI is currently available for Fedora, Debian and Red Hat 9. Work on a version for SUSE 9.2 is in progress.

Gluster

Gluster, a GNU clustering platform, is a cluster distribution aimed at commoditizing supercomputing and superstorage. It provides a platform for developing applications geared toward specific tasks such as HPC clustering, storage clustering, enterprise provisioning, and database clustering.

Gluster runs on Intel IA32 or x86-64 systems with at least 512MB of RAM. It is distribution-independent and has been tested with a wide range of distributions, including Debian, Fedora, Ubuntu, Red Hat, Slackware, and Scientific. You can download Gluster's ISO image and burn it to a bootable CD.

Gluster comes bundled with cluster applications for specific tasks, such as GlusterHPC for high performance computing and GlusterEP for system provisioning and automated platform management. GlusterFS is a cluster filesystem that can be scaled up to petabytes.

One of the cool feature of Gluster is that parts of it can be extended using Python scripts as extensions. Each extensions consists of two files. A specification file contains meta information about the extension, such as name of the maintainer, the type of extension, and whether it is an application, library or a tool. The actual contents of the extension are in a .tgz archive that is extracted during the installation of the extension. The extension itself can be written as a shell script or a binary Python script.

BOINC

If you don't happen to have on hand a cluster of locally present computer systems, you can use BOINC to set up a single Linux server for your project, and volunteers from around the globe can allow you to use their system resources by joining your project. Everyone who wishes to provide resources to your project has to download and set up a BOINC client, which acts as the communicater between the server and resource provider.

Originally developed out of the SETI@home project, BOINC now runs on more than 400,000 computers worldwide, which operate at the massive aggregate speed of 613.851 TeraFLOPS, according to BOINCstats.

BOINC programs can be linked to and used on a multiple platforms such as Microsoft Windows (95 or later) and Linux running on an Intel x86-compatible processor, Mac OS running on Motorola PowerPC or Intel, and Solaris 2.7 or later running on a SPARC-compatible processor.

The flow of data between BOINC server and client is carried out through commercial Internet connections, which can be slow and thus not suitable for application that produce or consume more than a gigabyte of data per day.

Conclusion

Creating a high-speed cluster of computers has never been so easy. Open source software for cluster management is giving proprietary alternatives a run for life.

In addition to the above products, other open source clustering products include PVM, OSCAR, and Grid Engine. The suitability of a particular clustering software depends on the type of applications to be run on the cluster.

Share    Print    Comments   

Comments

on A survey of open source cluster management systems

Note: Comments are owned by the poster. We are not responsible for their content.

Isn't the acronym "CMS" already taken?

Posted by: Anonymous Coward on September 21, 2006 10:29 PM
I, for one, have always thought that this stands for "Content Management System", but I may just be wrong. Nevermind I develop one for a living.

#

Re:Isn't the acronym "CMS" already taken?

Posted by: Anonymous Coward on September 22, 2006 06:20 PM
Bah. That's just standard acronym overloading. For example, if you ask an electrical engineer what RMS means, you can be dead certain he doesn't answer "Richard M. Stallman".

#

Many Other cluster management systems

Posted by: Anonymous Coward on September 22, 2006 05:46 PM
You forgot these:
Warewulf <a href="http://www.warewulf-cluster.org/" title="warewulf-cluster.org">http://www.warewulf-cluster.org/</a warewulf-cluster.org>
ROCKS <a href="http://www.rocksclusters.org/" title="rocksclusters.org">http://www.rocksclusters.org/</a rocksclusters.org>
xCAT <a href="http://www.xcat.org/" title="xcat.org">http://www.xcat.org/</a xcat.org>
Just to name three...

#

Re:Many Other cluster management systems

Posted by: Anonymous Coward on September 22, 2006 05:49 PM
And one more:
PERCEUS <a href="http://www.perceus.org/" title="perceus.org">http://www.perceus.org/</a perceus.org>

#

Re: Many Other cluster management systems

Posted by: Anonymous [ip: 89.217.60.52] on August 09, 2007 11:11 PM
... and as scheduler: Condor http://www.cs.wisc.edu/condor/ - not open source but free and *very* adjustable

#

Gentoo openmosix 2.6 sources

Posted by: Anonymous Coward on September 22, 2006 10:05 PM
Gentoo Linux and others offer an openmosix 2.6 kernel in their repositories.
<a href="http://www.gentoo.org/doc/en/openmosix-howto.xml" title="gentoo.org">http://www.gentoo.org/doc/en/openmosix-howto.xml</a gentoo.org>

#

Re:Gentoo openmosix 2.6 sources

Posted by: Anonymous Coward on September 23, 2006 08:54 PM
hmm, the link talks about the 2.4 kernel.
Which other distributions do you mean? Openmosix is a great technology but 2.4.26 is so out of date..

#

Cluster Linux options

Posted by: Administrator on January 17, 2007 09:16 AM
Aloha,

I am interested in utilizing a number of thin clients, like this:

<a href="http://www.norhtec.com/products/mcjr/index.html" title="norhtec.com">http://www.norhtec.com/products/mcjr/index.html</a norhtec.com>

with 1 or more fanless, but more powerful computers based on a board like this:

<a href="http://www.mini-box.com/HYBRID-C7-1-2G" title="mini-box.com">http://www.mini-box.com/HYBRID-C7-1-2G</a mini-box.com>

with the 3x gigabit ethernet card:

<a href="http://www.mini-box.com/VERSA-3-x-Gigabit-LAN-Port-Daughterboard" title="mini-box.com">http://www.mini-box.com/VERSA-3-x-Gigabit-LAN-Por<nobr>t<wbr></nobr> -Daughterboard</a mini-box.com>

and 1 GB DDR2 ram

My question is, what system would allow the best shared use of these computing resources for use by all nodes but still provide a network pxe bootable environment for the microclient jr nodes? I am not that familiar with Linux to the point that I have recompiled kernels, etc. I'd like to find something that can work with a gui for software installs and updates. I have been using Ubuntu / xubuntu which has synaptic / apt.

Might anyone have suggestions for this kind of project?

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya