2.4.22-1 run the openmosix cluster-Linux Enterprise Application-Linux server application on the kernel. For details, refer to the following section. The following section describes how to set up an openmosix cluster for your reference.
I. hardware configuration
Cpu intel piv 3.06G
Ram ddr 1G
HD Sg 120G-sata Interface
Nic intel 82540 Gigabit card
A total of 12 vswitches are DELL's 24-port RJ45 Gigabit Switch, because the relationship between each machine in the openmosix cluster on the computing layer is completely equal, so it doesn't matter whether the server or workstation, you can use machines with identical configurations.
Ii. Software
1. I am using the fedora1.0 launched by redhat, kernel 2.4.22-1.2115-nptl (because I am a SATA hard disk ).
2. Openmosix is of version 2.4.22-1. I have never used Openmosix 2.4.22-2 since its launch. We recommend that you use a mature version. Many problems have occurred in versions 2.4.20-3.
Openmosix-2.4.22-kernel-openmosix1.i686.rpm
Openmosix-2.4.22-kernel-openmosix1.src.rpm
3. I used Tool Version 0.3.4.
Openmosix-tools-0.3.4-1.i386.rpm
4. Internal linux-2.4.22.tar.gz (public version)
Iii. Installation Steps
1. Install Fedora. you can install it normally, but you must install the kernel compilation tool.
2. After entering the system, start some services related to cluster applications and get used to the issues. You can configure them later,
Rsh, telnet, nfs, tftp, nis, smb. I will not elaborate on the configuration of these services.
3. Install openmosix and upload the openmosix file to the temporary directory. Run
# Zcat ../openMosix-2.4.22-1.gz | patch-Np1
4. Compile the kernel later.
# Make mrproper
# Make menuconfig
① Select the openmosix option and add process migration support to directly Access the File System 1 (Direct File-System Access) and openmosix File System (openmosix File-System ), do not select Kernel debugging (Kernel Debugger ).
② Add the IP kernel-level automatic configuration 5 (IP: kernel level oconfiguration) in the network options (Networking options). The IP Dynamic Address supports 6 (IP: DHCP support ), IP address startup Address binding supports 7 (IP: BOOTP support ).
③ We recommend that you remove the SCSI support and the soft drive support.
④ Add NFS in the Network File System to support Root file system 8 (Root File System on NFS ).
# Make dep
# Make bzImage
# Make modules
# Make modules_install
5. modify several important files related to openmosix.
① 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
②/Etc/openmosix. map
1 192.168.0.254 1
2 192.168.0.253 1
......
③ # Mkdir/mfs
# Vi/etc/fstab
Add to the next none/mfs dfsa = 1 0 0
So far, all the installation is complete. This process requires one click on each machine. If you are not busy, you can use some methods such as ftp and tar cloning to simplify the process, I will not discuss it here.
If you want to use openmosixview for management, you need to install it separately. Note that you still need to install QT before installing openmosixview. When I write this article, the QT version is 3.2.3.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service