Linux openmosix is a commonly used software for computer gamers. Then I will study and study openmosix in depth. Here I will discuss with you how to use openmosix in Linux, hoping to help you. The process of setting up a Linux openmosix cluster is written down 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 Linux openmosix cluster has a completely equal relationship with each machine on the computing layer, it does not matter to servers or workstations, 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. linux openmosix is version 2.4.22-1. I haven't used it since version 2.4.22-2 was launched. We recommend that you use a more mature version. Many problems have occurred in version 2.4.20-3.
- Linux openmosix-2.4.22-kernel-Linux openmosix1.i686.rpm
- Linux openmosix-2.4.22-kernel-Linux openmosix1.src.rpm
3. I used Tool Version 0.3.4.
- Linux openmosix-tools-0.3.4-1.i386.rpm
4. Internal linux-2.4.22.tar.gz public Edition)
Iii. Installation Steps
1. Install Fedora. you can install it normally, but you must install the kernel compilation tool.
2. after entering the system, you must first start some services related to cluster applications and get used to the problem. You can also configure them later, such as rsh, telnet, nfs, tftp, nis, and smb, I will not elaborate on the configurations of these services.
3. install Linux openmosix and upload the Linux openmosix file to the temporary directory. Run
- # rpm -ivh Linux openmosix-kernel-2.4.22-Linux openmosix1.i386.rpm
- # rpm -ivh Linux openmosix-tools-0.3.4-1.i386.rpm
- # rpm -ivh Linux openmosix-kernel-2.4.22-Linux openmosix1.src.rpm
- # cp /your-tmp/linux-2.4.20.tar.gz /usr/src/
- # cp /usr/src/redhat/SOURCES/Linux 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 ../Linux openmosix-2.4.22-1.gz |patch -Np1
4. Compile the kernel later.
- # make mrproper
- # make menuconfig
① Select the Linux openmosix option and add process migration support to directly Access File System 1 (Direct File-System Access) and Linux openmosix File System (Linux openmosix File-System). Be sure not to 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 Linux openmosix.
① Confirm/etc/hosts and/opt/ltsp/i386/etc/hosts.
- 192.168.0.254 Linux 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/Linux openmosix. map
1 192.168.0.254 1
2 192.168.0.253 1
......
③ # Mkdir/mfs # vi/etc/fstab is added with 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 Linux openmosixview for management, you need to install it separately. Note that you still need to install QT before installing Linux openmosixview. When I write this article, the QT version is 3.2.3.
- Handling of Linux VMware installation failure
- Linux disk management commands
- Check whether the Linux Samba client and server are installed
- Open-source implementation of running applications in Linux Hadoop
- The Beta3 version of the Linux Mono Project has been released to learn more RPM here