I'd like to figur eout how to install openmosix on a debian desktop installation, but i just can't seem to figure it out.
here's what i got:
1 freshly downloaded copy of Debian (about a week old)
1 some debs of openmosix,
1 openmosixview
1 openmosix patch
and these instructions
Quote:
Installing openMosix ``the Debian way'' can be easily done as described below.
The first step consists in downloading the packages from the net. I had to use a 2.4.19 kernel since the openMosix patches package is not yet available for 2.4.20 at the moment I write this. Since we are using a Debian setup we needed: http://packages.debian.org/unstable/net/openmosix.html, http://packages.debian.org/unstable/...openmosix.html, http://packages.debian.org/unstable/...l-package.html, http://packages.debian.org/unstable/...ce-2.4.19.html. You can also apt-get install them .
The next part is making the kernel openMosix capable.
Basically, the procedure to follow is: cd /usr/src
apt-get install kernel-source-2.4.19 kernel-package \
openmosix kernel-patch-openmosix
tar vxjf kernel-source-2.4.19.tar.bz2
ln -s /usr/src/kernel-source-2.4.19 /usr/src/linux
cd /usr/src/linux
../kernel-patches/i386/apply/openmosix
make menuconfig
make-kpkg kernel_image modules_image
cd ..
dpkg -i kernel-image-*-openmosix-*.deb
You now will need to edit your /etc/openmosix.map. Please follow the instructions given in the ``Syntax of /etc/openmosix.map'' part of this HOWTO.
After rebooting with this kernel and a configured /etc/openmosix.map, you should then have a cluster of openMosix machines that talk to each-other and that do migration of processes.
You can test that by running the following small script: awk 'BEGIN {for(i=0;i<10000;i++)for(j=0;j<10000;j++);}'
a couple of times, and monitor its behaviour with "mosmon" where you will see that it spreads the load between the different nodes.
We also setup openMosixView on the Debian machine: apt-get install openmosixview
In order to be able to actually use openMosixView you will need to run it from a user who can log in to the different nodes as root. We suggest you set this up using ssh. Please note that there is a difference between the ssh and ssh2 implementations. If you do have an identity.pub file, ssh will check authorized_keys, while if you do have an id_dsa.pub you will need authorized_keys2!
openMosixView gives you a nice interface that shows the load of different machines and gives you the possibility to migrate processes manually.
A detailed discussion of openMosixView can be found elsewhere in this document.
|
I have alot of questions.
1. should i also use the 2.4.19 kernel or can i use a newer one?
2. does the version number on the patch have to match the version number of the kernel?
3. where do i get the kernel and patch that will work with the debian i already have installed?
4. should I download an older version of debian to use openmosix?
5. is there an easier way to do all of this(without using clusterknoppix or something like it.)?
p.s. i've been looking at a lot of forums in the past week. I'm not interested in hearing about what a waste it would be to have a cluster, or how inefficient it would be for anything practical, the processor to power consumption ratios. Im just a tinkerer and would love to know how to do use debian w\ openmosix.
P.P.S im probably gonna ask more questions after these get answered because i havent been able to do it successfully yet.