![]() |
Welcome to the Knoppix Linux ForumsYou 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! |
| Re: Running from a HD install |
|
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/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 |
||||||||||||||
|
|
|||||||||||||||
| Re: lam-mpi and knoppix |
|
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 |
||||||||||||||
|
|
|||||||||||||||
| Re: Running from a HD install |
|
Moderator
|
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. |
||||||||||||||
|
|
|||||||||||||||
|
I have been playing with the ClusterKnoppix & Quantain
quite a bit and would be happy to answer some questions on getting it going. johnb |
||||||||||||
|
|
|||||||||||||
|
Moderator
|
Have you gotten the terminal server working from a HD install? If so, what was the trick? Or did you use bernhard's method? |
||||||||||||||
|
|
|||||||||||||||
|
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:
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:
or the openmosix version
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 ->
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:
or
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.
(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.
edit /etc/fstab from root shell
add the following line at the end hit return and save.
Do the same with /etc/mtab
We are almost ready to boot our nodes we just need to restart the terminal server and the turn on our nodes.
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:
Let me know how you make out. johnb |
||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||
|
Does it matter where the contents of the clusterKnoppix CD gets copied? Anywhere on the disk for now?
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? |
||||||||||||||||
|
|
|||||||||||||||||
|
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.
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 |
|||||||||||||
|
|
||||||||||||||
|
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 |
||||||||||||
|
|
|||||||||||||
| Using Knoppix to make a Linux cluster on your home network |
|
||
|

