Friday, December 22, 2006

Merry Christmas!


I just wanted to wish you all a very Merry Christmas, with high hopes for a prosperous new year! I'm taking a couple (much needed) weeks off from work to spend time with the family, surf a bit, and decompress. See you in 2007!

Friday, December 15, 2006

Fun with Virtualization

No, I'm not talking about some aspect of the Matrix, or anything influenced by William Gibson. A few weeks ago, I installed the vmware server on my Ubuntu Linux box to see what was possible. Installation was painless, as vmware is available from the repositories. Thus, installation was only a simple `apt-get' away.

What does vmware allow you to do? In simple terms, it allows you to host one or more different operating systems (OS) while running the host OS. In my case, the host OS is Ubuntu Linux, but it could be Windows system as well. To download the vmware server, visit this page.

Once you install the virtual server software, the next thing to do is to decide exactly what you'd like to run. I decided that creating a Windows XP virtual machine (VM) would be a good first step. To do so, you specify a few options including what type of network interface the virtual machine will use (I chose to give the virtual machine its own specific ip address), hardware availability, and the size of the virtual machine's hard drive.

Once this is done, slip your Windows XP installation media in the CD-ROM drive and `boot' the virtual machine. If you haven't screwed up anything too badly, installation of the OS should proceed as normal.

I then went on to install Apache on the XP VM, and setup an ISAPI application which is normally deployed on IIS to see how it would perform. Everything worked as expected, and the performance of both systems was pretty respectable. My linux box only has 1 gigabyte of RAM, and I think that another gigabyte would be most helpful if I were to leave the VM up and running full time.

Once you are done working with your VM, you can suspend it (like hibernating a laptop) and when you restart the VM next, everything will be as you left it. Pretty slick!

So, what are practical applications for vmware? As in my example above, I could see people installing a VM of a different OS on a host OS to get functionality not currently available without installing another box.

Also, since the VMs are simple files in the filesystem, it makes backups and restores trivial. The VM sees identical hardware, no matter what actual hardware is used in the host OS. Thus, if one server goes down, simply copy a backup VM to another machine, and you would be up and running in no time.

Testing is another area where I can see VMs playing a prominent role. Instead of having 5+ boxes that take up a lot of space, energy costs, and maintenance, you instead have one sysem which hosts the other test environments. Start up one VM, test, and shut it down. Move to the next VM, etc.

Finally, there are already many vmware appliances available. Examples include a Windows 2003 server trial edition, various linux distributions, mail server suites, LAMP stacks, etc. It makes trying a new linux distro trivial, which is another bonus.

Are any of you using them in innovative ways?

Wednesday, December 13, 2006

Back in the Water Again

For the first time in over four weeks, I went surfing today. My dry dock period began when I injured my left knee at soccer practice. I zigged one way without wearing cleats, and my foot zagged the other way on the wet grass - not good. Note to self: wear cleats, dummy.

I was pretty gimpy for a week, and was feeling almost 100% by the end of the second week. Since the surf was pathetic, I decided to do a bit of jogging to strengthen my legs and knees for the next week and a half. A bit of cardiovascular work always gets the blood pumping (ba-da-bing!).

We had a good amount of rain over the weekend, so it is always a good idea to wait 72 hours for the bacteria washed out of the storm drains to clear up. So, out I went today, completely out paddling shape for the good sized surf we've had since the storm.

Frankly, I was just glad to make it out and into the lineup. My arms had the strength of an over-cooked spaghetti noodle, and it was difficult trying to get my timing back to where it needs to be to catch a wave of decent size. So, let's hope this size holds out as I get back into surf-shape.