Hi all, I have this mini howto a little detailer changed. Any suggestion is wellcome. see: http://columbium.dns2go.com/openmosix-debian-mini-howto.html malix shanghai chinaTitle: openmosix-debian-mini-howto
OpenMosix Debian mini HOWTO
version 0.2
Malix Ren
I have a box of MMX166 and a thinkpad T22(PIII 900), both with Debian Woody installed.Here is a short description for playing with openmosix.
Malix
- install mosix package, because I need the /etc/mosix.map and /etc/init.d/mosix and etc.(now there is yet no corresponding deb files for openmosix );
- patch and recompile the kernel with your willing.
I have used make-kpkg(in packages "kernel-packages") to make new kernel-image package, thus can i install it to every machine;- /etc/hosts:
192.168.100.101 mosix_1
192.168.100.102 mosix_2- /etc/mosix.map
1 mosix_1 1
2 mosix_2 2- in mosix_1 :
auto eth1 iface eth1 inet static
ifconfig eth:0 192.168.100.101 netmask 255.255.255.0
Actually I have 2 3COM 905B net card in MMX166 installed, as it serves as my Web Server and NAT Gateway for T22. So I configured it in my /etc/network/interfaces like this:
address 192.168.100.101
netmask 255.255.255.0
network 192.168.100.0
broadcast 192.168.200.255
in mosix_2 :
ifconfig eth:0 192.168.100.102 netmask 255.255.255.0
in /etc/network/interfaces :
auto eth0
iface eth0 inet static
address 192.168.100.102
netmask 255.255.255.0
network 192.168.100.0
broadcast 192.168.100.255
gateway 192.168.100.101
- both box must have the /etc/hosts and /etc/mosix.map
- Since I used the eth1 for mosix_1, so it is not the default net enviroment for mosix. It is needed to:
this is needed for "setpe -p" option, and the detail information is in "man setpe".
#cat 1 > /etc/mosix/mospe
- test:
#awk 'BEGIN {for(i=0;i<10000;i++)for(j=0;j<10000;j++);}
this will migrate.
#awk 'BEGIN {for(i=0;i<10000;i++)for(j=0;j<10000;j++)print i,j;}
this will not migrate,bcause of stdout used.
#awk 'BEGIN {for(i=0;i<10000;i++)for(j=0;j<10000;j++)c=i+j; print c;}
calculation will migrate, and the result will back to the original box.
hope it will help.
Shanghai China
2002-03-17