OpenMOSIX
Author: Liu Hong Fei Posted: 2003-12-04
[img: EAF3E35F01] http://bbs.whatisnet.net/uploads/post-26-1070293114.jpg [/ img: EAF3E35F01]
The following is the process of our original OpenMOSIX cluster and write down for your exchange reference.
One. My hardware configuration
CPU Intel PIV 3.06g
RAM DDR 1G
HD SG 120G-SATA interface
Nic Intel 82540 Giga
There are 12 sets, the switch is the 24-port RJ45 Gigab to Dell, because the OpenMOSIX cluster is computing that the relationship between each machine is completely equal, so there is no such thing as a server or workstation, which is the same as the same machine.
two. software
1. I used RedHat just launched Fedora 1.0, core 2.4.22-1.2115-nPTL (because I am a SATA hard drive).
2. OpenMOSIX is 2.4.22-1, 2.4.22-2 Just launched I haven't used it yet. It is recommended to use a more mature version, 2.4.20-3 version has been there a lot.
OpenMOSIX-2.4.22-kernel-openmosix1.i686.rpm
OpenMOSIX-2.4.22-kernel-openmosix1.src.rpm
3. Tool I use version 0.3.4
OpenMOSIX-TOOLS-0.3.4-1.i386.rpm
4. Kernel Linux-2.4.22.tar.gz (public version)
three. Specific installation steps
1. Install Fedora, this is not good, you can install it, but must install the kernel compilation tool.
2. After entering the system, you must first launch some services related to the cluster application, habits, and follow,
RSH, Telnet, NFS, TFTP, NIS, SMB, the configuration of these services I will not say.
3. Install OpenMOSIX to take the OpenMOSIX file to the temporary directory. carried out
# rpm -ivh openmosix-kernel-2.4.22-OpenMOSIX1.I386.RPM
# rpm -ivh openmosix-Tools-0.3.4-1.i386.rpm
# rpm -ivh openmosix-kernel-2.4.22-OpenMOSIX1.SRC.RPM
# cp /your-tmp/linux-2.4.20.tar.gz / usr / src /
# cp /usr/src/redhat/sources/openmosix-2.4.22-1.gz / usr / src /
# CD / USR / SRC
# TAR XzVF Linux-2.4.20.tar.gz
# ln -s linux-2.4.20 Linux
# CD / USR / SRC / Linux
# zcat ../openmosix-2.4.22-1.gz | patch -np1
4. After the kernel compilation.
# Make MrProper
# Make MenuConfig
1 Select to enter the OpenMOSIX option and add Process Migration Support, Direct File-System Access, and OpenMOSIX File-System (OpenMOSIX File-System), notice that you should not select kernel debugger.
2 Increasing the IP Nuclear Level Automatic Configuration 5 (IP: Kernel Level Oconfiguration), IP Dynamic Address Support 6 (IP: DHCP Support), IP Dynamic Address Support 6 (IP: Bootp Support) . 3 It is recommended to remove SCSI's support and floppy support.
4 Add NFS Support Root File System 8 (Root File System On NFS) in Network File System.
# Make Dep
# Make Bzimage
# Make Modules
# Make Modules_Install
5. Modify several important files related to OpenMOSIX.
1 Confirm / etc / hosts and / opt / ltsp / i386 / etc / hosts.
192.168.0.254 OpenMOSIX (host name)
192.168.0.1 CQS1
192.168.0.2 CQS2
192.168.0.3 CQS3
...... ...
127.0.0.1 Localhost.localdomain Localhost
2 / etc / openmosix.map
1 192.168.0.254 1
2 192.168.0.253 1
......
3 # MKDIR / MFS
# VI / ETC / FSTAB
Add one of the following NONE / MFS MFS DFSA = 1 0 0
At all installations, this process needs to take a convenience on each machine. If you are troublesome, you can use some means such as FTP, TAR clone, etc., I will not introduce it here.
If you want to use OpenMosixView to manage, you need to install separately. Note that QT is required before installing OpenMOSIXVIEW, and I have written this article 3.2.3.