Re: FW: diskless nodes
Deadpan110 <[email protected]> Wed, 28 Jun 2006 10:34:39 +0100
| Newsgroups | gmane.linux.cluster.openmosix.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am unsure what could be the problem with GoMf as I have never used it
although:
Proberly the 1st things you should check would be your network setup
and openMosix config.
You should beable to ping every node from within every node on the network
Depending on what is on the floppy, either configure openmosix with
autodiscovery
http://howto.x-tend.be/openMosix-HOWTO/c482.html
/etc/openmosix/openmosix.conf
AUTODISC=1
or set up the config for each of the nodes by hand
http://howto.x-tend.be/openMosix-HOWTO/x434.html
/etc/openmosix.map
# openMosix-# IP number-of-nodes
# ============================
1 192.168.10.220 1
2 192.168.10.78 1
3 192.168.10.84 1
Setting up your own diskless cluster:
There are many ways to set about doing this as a true diskless cluster
would network boot from master(s) nodes aswell as mounting root from
somewhere on the network.
Using one or more kernel make menuconfig options
IP: kernel level autoconfiguration
[ ] IP: DHCP support
[ ] IP: BOOTP support
[ ] IP: RARP support
eg (for etherboot)
1) create a small footprint root image for the purpose of init and pivoting
2) compile an openMosix kernel with your network card and drivers
built in (not modules)
3) combine the kernel and root image with etherboot
mkelf-linux --ip=dhcp --rootdir=/dev/ram0 --output=%path to image file
to create% %path to kernel bzImage% %path to initrd image%
4) Setup DHCP and configure (different ways of doing this, but, this
is where you set the diskless nodes IP, root, hostname etc)
5) Setup TFTPD (for hosting the etherboot image)
6) Setup NFS to host a real root
7) Set slave nodes to boot from the network, if there is no option in
the bios, etherboot has tools to make a bootfloppy for booting from
your network card
But sometimes diskless just describes how the nodes operate and so you
could indeed boot from HD/CD/floppy/USB and mount a root from
somewhere on the network.
Again, pivoting will enable you to use a small footprint root.
eg (for an existing grub)
1) compile the kernel to support your network card and root on nfs
2) create an initrd image
3) configure grub
title=Diskless Node
root (hd0,0)
kernel /bzImage-2.4.26-om1 root=/dev/ram0 init=/linuxrc ramdisk=8192
real_root={MASTER-NODE-IP}:/path/to/root
initrd /initrd-2.2.26-om1
I have left all the above very general as there is more than one way
to go about the task in hand and howtos are easily googled for each
step.
Martin
On 28/06/06, Andres De Carlo <[email protected]> wrote:
>
>
>
>
>
>
>
>
> ________________________________
>
>
> From: Andres De Carlo [mailto:[email protected]]
> Sent: Tuesday, June 27, 2006 8:24 AM
> To: openmosix-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: diskless nodes
>
>
>
> Hi to all:
>
>
>
> I am trying to change my cluster to diskless nodes, because of space issues.
> I am using fedora core 1 with 2.4.24 openmosix and in the diskless nodes I
> am using GoMf Gary's openmosix floppy, but doesn't seem to work. It does see
> the two nodes apparently on the node side, and on the server side, but the
> node is down ( at least that's what openmosixview show and mosctl isup
> command). I don't know if anybody have tried this and if there is extra
> setup to do or what's the deal. Another option would be start from scratch
> with my own disk, any ideas how to do that?
>
>
>
> Thanks guys.
>
>
>
> Andy
>
> Studio920.com
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> openMosix-general mailing list
> openMosix-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openmosix-general
>
>
>
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642