Reply to topic

Welcome to the Knoppix Linux Forums

You are not logged in. Our forum provides a great place to discuss the Knoppix Linux Live CD, as well as other topics such as data recovery using the Knoppix CD or DVD, and general Linux support.

You need to be logged in to post on this forum. If you are not a member you can register by clicking the Register link above.

We hope you enjoy your stay!

Running from a HD install


Joined: 17 Feb 2004
Posts: 13
Reply with quote
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.
View user's profileFind all posts by kovkSend private message
Re: Running from a HD install


Joined: 12 Jan 2004
Posts: 20
Reply with quote
kovk wrote:
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 Very Happy

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/quantian/quantian_0.4.9.4.ks.quantian.txt

detailed packages list:
http://dirk.eddelbuettel.com/quantian/quantian_0.4.9.4.ks.quantian.packages.txt Shocked
View user's profileFind all posts by charlesfanSend private message
Re: lam-mpi and knoppix


Joined: 18 Mar 2004
Posts: 1
Reply with quote
jcftang wrote:
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
View user's profileFind all posts by bernhardSend private message
Re: Running from a HD install
Moderator

Joined: 14 Nov 2002
Posts: 1352
Reply with quote
kovk wrote:
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.
View user's profileFind all posts by aaySend private message


Joined: 16 Jan 2004
Posts: 111
Location: Western MA.
Reply with quote
I have been playing with the ClusterKnoppix & Quantain
quite a bit and would be happy to answer some questions on getting it going.
johnb
View user's profileFind all posts by johnbSend private messageSend e-mail
Moderator

Joined: 14 Nov 2002
Posts: 1352
Reply with quote
johnb wrote:
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?
View user's profileFind all posts by aaySend private message


Joined: 16 Jan 2004
Posts: 111
Location: Western MA.
Reply with quote
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
View user's profileFind all posts by johnbSend private messageSend e-mail


Joined: 11 Feb 2004
Posts: 3
Reply with quote
johnb wrote:

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?

johnb wrote:

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?
View user's profileFind all posts by js290Send private message


Joined: 16 Jan 2004
Posts: 111
Location: Western MA.
Reply with quote
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
View user's profileFind all posts by johnbSend private messageSend e-mail


Joined: 14 Nov 2002
Posts: 1250
Location: Long Island, NY, USA
Reply with quote
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
View user's profileFind all posts by A. Jorge GarciaSend private messageSend e-mailVisit poster's website
Using Knoppix to make a Linux cluster on your home network
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 6 of 10  

  
  
 Reply to topic