LTSP-MOSIX Logo


This page describe how to transform a LTSP network which consist in a server and several Xterminals into a Mosix cluster.

William Daniau : wdaniau@lpmo.edu

Current version

Note : Mosix 1.8.0 and Mosix 1.9.0 have a bug that prevent ltsp_mosix kernels to boot. This appears if DFSA is activated (which is the case in ltsp_mosix), it hangs during pivot_root. This is the reason why the current version of ltsp_mosix is not the latest Mosix version.

Mailing-list

This mailing list is intended for general discussion and announcements.
subscribe at http://www.lpmo.edu/mailman/listinfo/ltsp-mosix

IMPORTANT NOTE FOR RELEASES PRIOR TO 2.4.22-openMosix-2

openMosix users must not use the rpm from openMosix site. The reason is that openMosix kernel options must be the same on every node, or you may experience crashes. Here are the ones of the ltsp-openmosix packages :

#
# openMosix
#
CONFIG_MOSIX=y
# CONFIG_MOSIX_TOPOLOGY is not set
CONFIG_MOSIX_SECUREPORTS=y
CONFIG_MOSIX_DISCLOSURE=1
CONFIG_MOSIX_FS=y
CONFIG_MOSIX_DFSA=y
# CONFIG_MOSIX_PIPE_EXCEPTIONS is not set
# CONFIG_openMosix_NO_OOM is not set
# CONFIG_MOSIX_LOADLIMIT is not set

you must compile a kernel with these options, in order to use the kernels from this site.

News

Changes

1.0beta4

1.0beta3

1.0beta2

Downloads

What's this?

Mosix is a patch to the linux kernel, that allow process migration. It can be considered in some matter as transparent parallelism. Ltsp (Linux Terminal Server Project) allow a very easy setup of Xterminals.

Merging these two projects allow a very easy setup of a Mosix cluster by using either Xterminal or by temporary turning Windows boxes into diskless Xterminals.

History : We use ltsp in our laboratory for two purposes : first we need real Xterminals to connect to Linux or proprietary Unix servers, second it is a convenient method to turn a Windows box into an xterminal. We also have an office server (StarOffice + Netscape) for students. By the fact we did not have old 486 or MMX to use as Xterminals, so we had to buy diskless new computers for our Xterminals. I then see that the cheapest processor was an Athlon 850 (June 2001) and that the less possible memory was 64 Mo. What a pity to have an Athlon 850 only used for X! So the idea is to use the xterminals as Mosix nodes ... and it works!

Why?

some different reasons to choose this ltsp-mosix solution :
  1. There are a lot of windows machines on your network, with good processors and memory that can be used at night for computation. With a simple floppy disk you can turn the windows computer into a Mosix node.
  2. There is already a ltsp server on your network, and some Xterminals with CPU doing nearly nothing!
  3. Ease of use : once your server is setup, it will only take 5 minutes to add a new node.

How?

Requirements

Setup

On the server you must have a linux distribution installed supported by ltsp, all major distributions are supported. 
  1. install LTSP on the server, read the documentation on ltsp site to do that. When it works, that is there is at least one terminal running, go to next step.
  2. install mosix on the server, create a directory /mfs and add the following line to your /etc/fstab
    cluster /mfs mfs dfsa=1 0 0
    to take advantage of dfsa.
  3. install the ltsp_mosix package
  4. make needed configurations
  5. It should work... mail me if not

FAQ

Q:Why is that page so ugly?
A:Humm do not have time for cosmetics, and I'm not very good for that, but if there is a volonteer he will be welcomed.

Q:I've setup everything and when the ws boot there is a message saying "This is not Mosix"
A:This means the kernel that the ws use does not have Mosix patch compiled in. Check your dhcp configuration to see if it point to the right kernel.

Q:Everything's fine, when I run mon I see all the configured nodes, how can I see if it's actually work?
A:Launch ten or more of the following useless perl script and see the evolution of loads with mon
useless.pl
#!/usr/bin/perl
for ($i=0;$i<10000;$i++) { for ($j=0;$j<10000;$j++) { } }

Q:Is it secure to poweroff a mosix-terminal
A:Unfortunatly no, because there is maybe a process running on it, the only way to be nearly sure will be to switch off mosix on the server, and then poweroff the terminal. The best way, but not already available will be to remotly switch off mosix on the terminal, and then power it off. There is still work to do to improve this point.

Q: What about openmosix?
A: It's done now! (Thanks to Bruce Knox for lobbying)

To do ...

What do you think?

Related links

Other pages

WOMP! http://womp.sourceforge.net/ : A micro linux distribution focussed on multimedia.