LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Clustering All network (LAN) pc's together to share hardware resource (https://www.linuxquestions.org/questions/linux-networking-3/clustering-all-network-lan-pcs-together-to-share-hardware-resource-118450/)

pudhiyavan 11-21-2003 03:59 AM

Clustering All network (LAN) pc's together to share hardware resource
 
Hi mates

Is it possible to do Clustering All network (LAN) linux pc's together to share hardware resource of each other.

all 8 pc's have same OS
2 duron processor + 4 GB hdd, 128 SDRam+SIS vga
2 Amd athlon processor+20 GB hdd,128 DDR+Inbuilt agp
3 Intel PII processors+6 GB hdd, 128 sdram+sis vga
1 Intel P4 Processor+20 GB+256 MB DDRAM+inbuilt Agp

Here i want to share or access the processor resource, ram resource of idle Pc's

I am just going through OpenMosix Load balancer,

I am posting here for quick guidence

Thanks in adv
pudhiyavan

Tomasfuego 11-21-2003 11:36 AM

You may look into gkrellm at http://www.gkrellm.net/. It looks like they would be using the daemon version and you can monitor them on the one of your choice .... freshrpms.net has rpms of it ( these are optimized for RedHat)

dannymacom 11-23-2003 02:19 PM

most definetly possible.
here is how i did it.
follow these step by step instructions to get openmosix to work beautifully :)

openmosix for debian (libranet distro)
1. get a vanilla kernel that can has a corisponding patch from openmosix.sourceforge.net.
2. patch that kernel with either
"patch -p1 /location/of/the/patch/" (make sure you are in the top source level i.e. /usr/src/linux) or

3.downloading a deb (apt-get install kernel-patch-openmosix)that installs the "/kernel-patches/i386/apply/' directory with the kernel patch for openmosix under the"/apply/" directory. its use is while in your top source linux kernel directory (/usr/src/linux) is
"../kernel-patches/i386/apply/openmosix"
4. now that the kernel is patched (make xconfig or menuconfig or config or whatever...)
5. make the kpkg clean(make-kpkg clean)
6. make the kernel (make-kpkg --append-to-version=.(whatever date it is i just put '112103') kernel_image modules_image
7. install the kernel and make sure it boots up (check with uname -r)
8. edit your '/etc/hosts' file so it includes all the ip's of the computers you will be connecting too including yours so i have mine set up for two computers with there lan ips (192.168.0.xx) than names. mine looks like this:

192.168.0.28 seconkmd localhost.localdomain
192.168.0.30 libranet

9. than edit the /etc/openmosix.map so it includes all the openmosix nodes..
mine looks like this:

1 192.168.0.28 1
2 192.168.0.30 1

10. now i must warn you, your not out of the forest yet. edit your openmosix file in /etc/init.d/openmosix. it is imperitative that you do this right. :) it will save you some time :). edit the instance(s) of '/var/lock/subsys' to make them 'var/lock' instead. and change the '/proc/mosix/' to '/proc/hpc'

11. boom thats it... i think, well anyhow thats i made my cluster :) now just restart linux and boot up your new openmosix boxe(s)


All times are GMT -5. The time now is 05:15 AM.