Page 6 of 10 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 93

Thread: Using Knoppix to make a Linux cluster on your home network

  1. #51
    Junior Member registered user
    Join Date
    Feb 2004
    Posts
    13

    Running from a HD install

    Several people have mentioned having problems getting it to run from a hdinstall. A freind an I just set up a small cluster of 6 PC's in my office as an experiment. I did a hdinstall to my main computer in the hopes of using it as the master node but as you said it didn't work. I got around this by reinstalling knoppix using knoppix-installer instead of knx-hdinstall and telling it to boot in "knoppix" mode (ie: redetects hardware everytime, and uses the regular knoppix script)

    If you do it like this openmosix works perfectly as if it was from the cd but much faster.

  2. #52
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    20

    Re: Running from a HD install

    Quote Originally Posted by kovk
    Several people have mentioned having problems getting it to run from a hdinstall. A freind an I just set up a small cluster of 6 PC's in my office as an experiment. I did a hdinstall to my main computer in the hopes of using it as the master node but as you said it didn't work. I got around this by reinstalling knoppix using knoppix-installer instead of knx-hdinstall and telling it to boot in "knoppix" mode (ie: redetects hardware everytime, and uses the regular knoppix script)

    If you do it like this openmosix works perfectly as if it was from the cd but much faster.
    any body tried to build a cluster using poor man install ?

    (just copy the /KNOPPIX/KNOPPIX image file into a harddrive, and boot it using lilo ? (or copy it to a vfat partition and boot it using loadlin.exe v1.6c)

    it only took 5 minute to copy a 700MB image to the harddrive

    Quantian has released a 'kitchen sink' version 0.4.9.4.ks which is 934 MB and is base on the latest "Cluster Knoppix 20040216" plus some software maths / science application for cluster computing and tex editor

    so it only took about 1GB of disk space (haven't count swap)

    see here for more package details :

    packages list:
    http://dirk.eddelbuettel.com/quantia...s.quantian.txt

    detailed packages list:
    http://dirk.eddelbuettel.com/quantia...n.packages.txt

  3. #53
    Junior Member
    Join Date
    Mar 2004
    Posts
    1

    Re: lam-mpi and knoppix

    Quote Originally Posted by jcftang
    i dont know how interested people are, but i've remastered the latest 3.3 knoppix disk with lam-mpi (dev, mpi doc's and xmpi) and some extra utilities for myself and my fellow students in college, since not everyone in my class can install linux at home and get mpi installed etc... i can stick the iso up online if people want it, its nothing too fancy.

    as far as i recall neither clusterknoppix or quantian has an mpi implementation installed, which makes them less useful for people wanting to write their own solutions to problems :)
    thats exactly what i am looking for. unfortunately, my lam installation on knoppix does not work :(

    can i download it from your site? baiching_at_gup_._jku_._at

  4. #54
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353

    Re: Running from a HD install

    Quote Originally Posted by kovk
    Several people have mentioned having problems getting it to run from a hdinstall. A freind an I just set up a small cluster of 6 PC's in my office as an experiment. I did a hdinstall to my main computer in the hopes of using it as the master node but as you said it didn't work. I got around this by reinstalling knoppix using knoppix-installer instead of knx-hdinstall and telling it to boot in "knoppix" mode (ie: redetects hardware everytime, and uses the regular knoppix script)

    If you do it like this openmosix works perfectly as if it was from the cd but much faster.
    This is interesting. Thanks. I don't think that getting it to work from the HD though has anything to do with hardware redetection. If it can be made to work using the "Knoppix" style install, then it should also be possible to get it to work using the other method.

  5. #55
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Western MA.
    Posts
    111
    I have been playing with the ClusterKnoppix & Quantain
    quite a bit and would be happy to answer some questions on getting it going.
    johnb

  6. #56
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Quote Originally Posted by johnb
    I have been playing with the ClusterKnoppix & Quantain
    quite a bit and would be happy to answer some questions on getting it going.
    johnb
    Have you gotten the terminal server working from a HD install? If so, what was the trick? Or did you use bernhard's method?

  7. #57
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Western MA.
    Posts
    111
    This is a how to for the new version of clusterKNOPPIX_V3.3-2004-02-16-EN-cl1.iso ~ 538MB in a newbie style.

    One of the new features an install to the hard drive for the nodes on a separate partition. This is the image on the cd. I haven't tried adding to this image thru a remaster as my nodes are booted in text mode. I have only used the openmosixterminal server. The terminal server should be the same .
    Some of this how to is a merging of some other posts I have written. savin my fingers from my poor typin skills.

    Upon booting hit F2 to give yourself time to type in cheat codes. Most machines can benefit from using them. Search the forum or post to get those answers.
    I open a root shell(penguin lower left) and type:

    Code:
    knoppix-installer
    We are interested in the first three choices. I do them in the following order.

    3.Partition First:

    QTparted is a linux version of Partition Magic for windows. Once its running your hard drives are on the left. Choose the one to work on by clicking-on-it. Your partitions are on the right. Right click your partitions to modify. It can even resize a partition without data loss. Don't try this one at home without a back-up. Swap for nodes: more nodes=more swap

    A minimum install would be something like:

    /hda1 bootable primary root 4 gigs
    /hda2 primary nodes 600mb
    /hda3 primary swap twice your physical ram minimum

    1.Configure Installation:
    Name,password,ect goes in here. Most of it is pretty easy. Installing to MBR works for me. One of the last choices is Knoppix style install or Debian. Debian style is more secure, thats my choice. Knoppix style should also work.

    2.Start Installation: 15-20 minutes
    Check your choices, before happily hitting the start button. It has saved me wasted time...

    Before you reboot to your new install, lets copy the cd to the hard drive for the nodes to use. Make sure the partition has been changed to be writable in our example /hda2. Right click on the desk top icon. Mount then change read write mode.
    It works to do this after you do the knoppix-installer, while still running the live Cd.

    I like running the terminal server from the command line. There is alot more info available and you can see if it hangs somewhere. This next bit is a recycle from another post this should get either a live Cd or hard disk install running. There are some edits to reflect the new version of CK.
    Make sure there are no other DHCP servers that are running on this network.
    These defaults should work for most people of course change as you see fit. Run as root of course:


    Code:
    	/etc/init.d/knoppix-terminalserver restart
    or the openmosix version

    Code:
    	/etc/init.d/knoppix-terminalopenmosixserver restart

    Things to do:

    Set Static IP
    Set-up and start knoppix-terminalopenmosixserver
    Re-start OpenMosix
    Set-up and monitor nodes/cluster

    Here we go:

    Set Static IP


    Use DHCP broadcast -> No

    Please enter IP Address ...

    (change to) 192.168.0.254

    OK

    Please enter Network Mask ...

    (default) 255.255.255.0

    OK

    Please enter Broadcast Address ...

    (default)192.168.0.255

    OK

    Please enter Default Gateway

    (default) 192.168.0.254


    Please enter Nameservers

    (default) 192.186.0.254

    The terminal should close in a bit, let it do its work.

    You can check your work by opening Knoppix Icon (penguin) -> Root Shell ->

    Code:
     ifconfig
    Set-up and start knoppix-terminalopenmosixserver:

    Information about the Knoppix Terminal Server -> OK

    Setup (Re)configure server and restart -> OK

    Choose network device connection->eth0 Netzwerkkarte_0 (default) -> OK

    IP Address range for clients(default allows 50 IP address!) -> OK


    Here is the new node file system option:

    Access the static CDROM:

    1. cdrom: If you just want to run the nodes from the cdrom. It will run slower than hard drive install.

    2. disk: This would be your regular choice. For now we are going to do # 3.

    3. new: create directory for export: OK

    choose partition to install to takes about 5-10 minutes.


    Client Hardware
    You are being asked here info about the nic card in your client/node. This seems to be a show stopper for some people. For more info about your nodes ethernet drivers try booting the node open a terminal and search with:

    Code:
     lspci
    or

    Code:
    	 cat dmesg |less
    For my nodes it happens to be via-rhine.o "Via Rhine PCI Fast Ethernet driver" Make sure that you get an x in those boxes. This window seems a little flaky at times .

    Options

    secure -> leave checked unless there is a reason to have root access on all nodes.

    textmode ->uncheck This is an important option (some of the magic imho). A complete copy of knoppix operating system will be available to all nodes. For the first few times its worth un-checking this box just to see your node boot-up into a gui, from a network boot. No cd or hardrive necessary.
    For regular use if you are the only one using this cluster or only have one monitor or want to save the gui overhead cost on (all) your nodes. ->leave default a x mark in the box.
    If you want to have a gui on the (all) nodes. -> uncheck the box

    Leave the other check boxes alone for now.->ok


    Client boot options(any options that the node might need knoppix cheat codes apply here).

    I needed to add the following, your cheats may vary:

    knoppix xmodule=vesa


    Starting Server

    Yes

    Your screen output should look something like(this is from a hardrive install):

    root@groove:/home/johnb# /etc/init.d/knoppix-terminalopenmosixserver restart
    Making Mini Rootdisk.
    1+0 records in
    1+0 records out
    6144000 bytes transferred in 0.020725 seconds (296452034 bytes/sec)
    Generating public/private dsa key pair.
    Created directory '/root/.ssh'.
    Your identification has been saved in /root/.ssh/id_dsa.
    Your public key has been saved in /root/.ssh/id_dsa.pub.
    The key fingerprint is:
    f9:16:b2:51:0e:5e:5f:4f:35:3c:70:19:47:ee:78:ce root@groove
    Starting OpenBSD Secure Shell server: sshdcp: cannot stat `/dev/systty': No such file or directory
    1+0 records in
    1+0 records out
    6144000 bytes transferred in 1.109769 seconds (5536288 bytes/sec)
    82.1%
    Starting DHCP server: dhcpd3.
    Starting portmap daemon: portmap.
    Starting NFS common utilities: statd.
    Exporting directories for NFS kernel daemon...done.
    Starting NFS kernel daemon: nfsd mountd.
    Starting domain name service: named.


    At this point we can reboot and set-up a desktop.

    Your terminal will complain about /mfs not being set-up correctly when you do a (/etc/init.d/openmosix restart)
    re-start of OpenMosix to check all is well: Skip if you dont want /mfs running.


    Code:
    	/etc/init.d/openmosix restart

    (if you are running Quantain it is /etc/init.d/quantian-openmosix restart ).

    You should have similar output:

    openMosix: Using map file /etc/openmosix.map
    openMosix: WARN: Invalid configuration in map-file /etc/openmosix.map
    openMosix: Falling back to autodiscovery mode using /usr/sbin/omdiscd
    Stopping openMosix...
    openMosix: All remote processes were expelled and no further remote processes accepted.
    Initializing openMosix...
    Local processes already allowed to leave automatically.
    automatic load-balancing already enabled.
    Remote processes now allowed in.


    Heres how to get /mfs working.


    Code:
    	mkdir /mfs

    edit /etc/fstab from root shell


    Code:
     kate /etc/fstab

    add the following line at the end hit return and save.


    Code:
    	mfs /mfs mfs dfsa=1 0 0

    Do the same with /etc/mtab


    Code:
    	kate /etc/mtab
    Code:
    /mfs /mfs mfs rw,dfsa=1 0 0

    We are almost ready to boot our nodes we just need to restart the terminal server and the turn on our nodes.


    Code:
     /etc/init.d/knoppix-terminalopenmosixserver restart

    Same as before. Make sure to export partition. that should set-up the master. Try booting the nodes. Hopefully you will see that familiar screen of Knoppix.

    To control the cluster:

    Code:
    openmosixview
    Let me know how you make out.
    johnb

  8. #58
    Junior Member
    Join Date
    Feb 2004
    Posts
    3
    Quote Originally Posted by johnb
    Before you reboot to your new install, lets copy the cd to the hard drive for the nodes to use. Make sure the partition has been changed to be writable in our example /hda2. Right click on the desk top icon. Mount then change read write mode.
    It works to do this after you do the knoppix-installer, while still running the live Cd.
    Does it matter where the contents of the clusterKnoppix CD gets copied? Anywhere on the disk for now?

    Quote Originally Posted by johnb
    Here is the new node file system option:

    Access the static CDROM:

    1. cdrom: If you just want to run the nodes from the cdrom. It will run slower than hard drive install.

    2. disk: This would be your regular choice. For now we are going to do # 3.

    3. new: create directory for export: OK

    choose partition to install to takes about 5-10 minutes.
    Okay, this is where the 2004-02-16 image stops. If I do "/etc/init.d/knoppix-terminalopenmosixserver restart", I get a "Usage for Xdialog" window that shows me how to use Xdialog. If I do it on console, it simply takes me back to the prompt. Any tips on how to get farther long?

  9. #59
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Western MA.
    Posts
    111
    There isnt alot of choice in the matter. Just a choice of partitions to install to. It wants to be on a different partition than where your distro resides.

    f I do "/etc/init.d/knoppix-terminalopenmosixserver restart", I get a "Usage for Xdialog" window that shows me how to use Xdialog. If I do it on console, it simply takes me back to the prompt. Any tips on how to get farther long?
    I have never seen this problem. Seems more of an X problem. Is your md5sum correct for your cd? Does this happen running live or from hard drive install?
    johnb

  10. #60
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    I just tried clusterKNOPPIX and QUANTIAN for the first time. This is cool! I got it working on 4 PCs over my router at home and on a whole LAN in my classroom at school using CDs only.

    I then ran knoppix-installer on a couple of PCs at school, but could not get the PCs to connect automatically from boot up as they did very well with CDs only. What gives?

    TIA,
    AJG

Page 6 of 10 FirstFirst ... 45678 ... LastLast

Similar Threads

  1. Spaces in passwords (make permanent /home image)
    By eris_pluvia in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 10-19-2004, 03:15 PM
  2. Knoppix in a small home network
    By YannLeMerle in forum General Support
    Replies: 0
    Last Post: 03-07-2004, 04:33 PM
  3. Replies: 1
    Last Post: 02-17-2004, 02:30 PM
  4. Knoppix linux remastered for the home ... ESSENTIAL
    By law_student in forum Customising & Remastering
    Replies: 12
    Last Post: 06-16-2003, 11:52 PM
  5. How to make my extra /home partition reiserfs
    By anibal in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 06-06-2003, 05:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives picture

SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives

$59.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$269.10



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.47



Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot picture

Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot

$280.00



LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s picture

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s

$39.80



2021 Full Version Office Professional Plus for 1 PC Flash USB Drive picture

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive

$59.99



128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service picture

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service

$39.99