Archive for August, 2007

The Summer of Linux

This summer was “The Summer of Linux”; we experimented with Linux for the desktop, Linux for the server, and Linux in clustering. We used the Ubuntu distro for the desktop and server. We actually used the Long Term Support (6.06) version for the desktop, the older version of Ubuntu. I learned that the newest isn’t always the best, as version 7.04 would not install on our hardware. I got a chance to ask my questions about LTSP, to a developer on the Edubuntu irc channel, and we were successful in creating a thin client environment. Of course clustering was a great project where we hit some dead ends, but we recovered before the summer ended, having a functional cluster. Although I had some experience with Ubuntu, using it on my computers, this was a very educational summer. We became the admins and got a chance to implement Linux in a test environment, emulating a school computer lab, where we had to make sure the end users would be able to use Linux without any discomfort. We had to cover everything, from managing user rights to making sure every program a school computer would have, would be included in our Linux machines. In addition, we gained some experience in networking; we received some managed and unmanaged switches, configured them, and had thin clients boot over our network.

Linux has become more user friendly over the years. Ubuntu, for instance, has the nice Gnome interface, a GUI. If this were to be implemented in a school, most end users would be able to adjust. Instead of having a list of programs at the bottom, we have everything at the top. Some applications may be different, the OpenOffice suite vs. Office. It may be slightly more difficult for the end user at home installing it on his/her computer, though, especially if you run into problems. However, if one is dedicated enough, solutions to problems are all over the internet, and you can also ask questions on the Ubuntu irc channel. Once you become used to how Ubuntu works, Synaptics for downloading applications, the Linux alternative software… etc, it becomes easier. If you have to do something beyond the basics, though, you may have to use the terminal. For instance, the Grub bootloader wasn’t booting to the correct partition once, so after determining the path looking at GPart and a little bit of guessing and checking, I accessed the Grub file though the terminal. Or, you may want to install something using the terminal. Personally, I think Linux, due to distros like Ubuntu, has become more appealing, because for basic needs, it can be used without much difficulty.

This was a great summer where I was able to test several environments in which Linux can be used. I am thankful to Mr. Birchall who let us have this experience, allowing us to experiment on our own as long as we documented. We were able to finish all our projects with success, and I was glad documenting our experiences has helped people with their own Linux adventures. Linux and distros like Ubuntu with a cost of nothing are very appealing. Although many people begin using Ubuntu because of the free CDs their friends give them, if some loose ends were tied up (like the bootloader attempting to boot from the wrong partition) and marketed more, we could see an even greater rise in Linux usage.

clusterKnoppix, A Clustering Success

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.

Back To Work

I had been taking a break from work, but now I’m back. There has still been no luck with OSCAR, so we are going to try some different hardware. Meanwhile, we completed two other smaller assignments. The first was writing a guide to use the Imation Pivot Flash Drives. In addition, we also had to finalize on some software we were going to put on a mini-cd that will go home with students. It already had the FirstClass email client, Firefox, and we agreed on adding AVG Anti-Virus, and Ad-Aware Anti-Spyware. I felt if we were adding Anti-Virus software, we should also at least include Anti-Spyware to fully protect the system. We move on from here!