It has been a while since I have posted, because we have been working on our final project, making a cluster out of few computers. As I said before, we were having difficulties getting OSCAR set up. At one point it seemed to have imaged the nodes correctly, however upon testing the cluster using OSCAR’s feature to do so, we found we had several errors. We were unable to fix them, and so we decided to move on for now and try different tools. From here we tried using Rocks Cluster Distribution. You can either download the DVD with the Operating System and all the packages, CDs, or pick and choose what software you wanted and burn them to individual CDs. We originally went with the DVD choice, however, during installation, it asked the source from which it would get the packages, and it wouldn’t recognize our DVD as a choice. We tried CDs, but it would keep restarting in the middle without doing anything. Both Rocks and OSCAR had extensive documentation which I appreciated, however, since we could not get them working, we looked for another solution. During my research, clusterKnoppix always showed up, however, since it was more of a LiveCD based solution, I kept it on hold. Although from what I read, it should be easy to get one going by using LiveCDs. So we burned two and popped them into two computers, and followed these instructions. However, we would keep getting errors setting it up. I went back and did some more research, and found these instructions, which were to just boot from the CDs and they would see each other as long as they were assigned ip addresses. I immediately tried again, and they worked without any problems. I tried out the simple load balancing script that was in the first set of instructions, and it all seemed to work. The next step was to make it a permanent solution by installing it to the hard drive. We followed these instructions (the 7th post, a long set of instructions). Instead of using QTparted to partition our hard drive, we used GPart from the Ubuntu LiveCd because QTparted would not see our hard drive. We did not implement a separate partition for the cd image and we did not copy the clusterKnoppix CD contents to the hard drive the way that was suggested. Once the hard drive install was complete, we followed the instructions up to where it said “3. new: create directory for export: OK” which we selected, and we left the CD in the drive, from which it copied files. However, it created a folder called “diskless” in the root folder. After we found our cluster didn’t work, we deleted the folder and made a new “diskless” in the same location, but we copied the files from the CD to this location. In addition, for the “Client Hardware” section of the how-to, we just left the defaults, and eventually at the end everything works. We skipped some instructions, and went to where it said “Your terminal will complain about /mfs not being set-up correctly when…” and followed these steps. In addition, we also edited a script from these instructions (4th post) which we chose to implement before completing the cluster set-up. Eventually, we restarted terminalopenmosixserver (you may have to select stop, and then start) and did a openmosix restart. We booted up the nodes and watched from openmosixview as they began to appear. Our cluster was a success! During the terminalopenmosixserver and openmosix restarts, and also when booting up the nodes, there may have been small errors or warnings, but we let them be unless our cluster did not work. clusterKnoppix is a great and easy way to cluster; you can have a temporary cluster just to see it work by using the LiveCDs, or have a more permanent hard drive install.
Categories
Blogroll
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | ||||||