{"id":898,"date":"2010-12-13T12:12:50","date_gmt":"2010-12-13T17:12:50","guid":{"rendered":"http:\/\/blog.timeoff.org\/rick\/?p=898"},"modified":"2016-09-09T10:41:02","modified_gmt":"2016-09-09T14:41:02","slug":"virtualization-revisited","status":"publish","type":"post","link":"https:\/\/blog.timeoff.org\/rick\/2010\/12\/13\/virtualization-revisited\/","title":{"rendered":"Virtualization Revisited"},"content":{"rendered":"<p>I&#8217;ve been virtualizing machines the home network for many years. The benefits are simply huge (but relax &#8211; I&#8217;ll not go into them in detail here). Suffice it to say that it beats the snot out of stack of old PCs with their attendant noise and energy consumption.<\/p>\n<p>The server I built on a shoestring one August afternoon many years ago has (ahem) served us well. A mile-high overview of the hardware includes an <a title=\"home page: NVIDIA\" href=\"http:\/\/www.nvidia.com\/\" target=\"_blank\">NVIDEA<\/a> motherboard from BFG, several GB of commodity RAM, a SATA RAID card from <a title=\"home page: Silicon Image\" href=\"http:\/\/www.siliconimage.com\/\" target=\"_blank\" class=\"broken_link\">Silicon Image<\/a> driving a handful of 3.5-inch SATA drives, and an IDE boot drive. The mini-tower case \u00e2\u20ac\u201c told you I cheaped out &#8211; is somewhat dense inside so there are extra fans to keep the heat in check. The host OS has been <a title=\"Wikipedia: Windows 2000\" href=\"http:\/\/en.wikipedia.org\/wiki\/Windows_2000\" target=\"_blank\">Windows 2000<\/a> Server Service Pack 4.<\/p>\n<p>Yeah, yeah, I know. It\u00e2\u20ac\u2122s a 32-bit OS on 64-bit hardware. A nice chunk of RAM is \u00e2\u20ac\u02dclost\u00e2\u20ac\u2122 to insufficient address space\u00c2\u00a0right off the bat. I figured to upgrade the OS one day but never quite got around to it. The virtualization software is <a title=\"VMware Server product page\" href=\"http:\/\/www.vmware.com\/products\/server\/\" target=\"_blank\" class=\"broken_link\">VMware Server<\/a>, which I\u00e2\u20ac\u2122ve been using since the beginning. Their current version is 2.0.0 Build 116503 (wow, 2008, when dinosaurs roamed the Earth). The guest OSs are a mix of Linux and Windows servers handling core dedicated roles as well as a changing mix of experimental\/test\/research stuff: <a title=\"Wikipedia: MS-DOS\" href=\"http:\/\/en.wikipedia.org\/wiki\/MS-DOS\" target=\"_blank\">DOS<\/a>, <a title=\"Wikipedia: Windows 3.1x\" href=\"http:\/\/en.wikipedia.org\/wiki\/Windows_3.1x\" target=\"_blank\">Windows 3.1<\/a>, <a title=\"Chromium OS information page\" href=\"http:\/\/www.chromium.org\/chromium-os\" target=\"_blank\">Chrome OS<\/a>, <a title=\"OS2 News: maintained by Steve Wendt\" href=\"http:\/\/os2news.warpstock.org\/\" target=\"_blank\">OS\/2 Warp<\/a> (OMG what a hack that was!), a couple of OTS appliances, more. What can I say? I\u00e2\u20ac\u2122ve got an interest in history. Besides, the look on my kid\u00e2\u20ac\u2122s face when he sees an ancient OS actually running (as opposed to just static screen shots on some Web page) is worth it.<\/p>\n<p>Anyway, there are lots of problems with this setup. VMware Server, their free product, is getting long in the tooth. The Web-based interface doesn\u00e2\u20ac\u2122t work with the Chrome browser; it\u00e2\u20ac\u2122s one of the few things that continues to force me to use IE. Sometimes the service side of the interface goes MIA altogether. The 32-bit Win2K is finally hopelessly out of date, absolutely no more updates. The list goes on and on.<\/p>\n<p>So every now and again I look around for alternatives. The last serious contender was VMware\u00e2\u20ac\u2122s ESXi. The idea of a supported bare-metal virtualization platform sure sounded appealing! I spent a day or two experimenting but ended up dismissing it. Getting it to run on the (albeit weak) hardware proved do-able but not without\u00c2\u00a0difficulties. In the end it just seemed too fragile for the long-term. I chalked it up to more trouble than it was worth, restored the old setup and got on with life.<\/p>\n<p>The October 2010 issue of <a title=\"home page: Communications of the ACM\" href=\"http:\/\/cacm.acm.org\/\" target=\"_blank\" class=\"broken_link\">Communications of the ACM<\/a> carried an interesting article, <a title=\"PDF: Difference Engine: Harnessing Memory Redundancy in Virtual Machines\" href=\"http:\/\/cseweb.ucsd.edu\/~vahdat\/papers\/osdi08-de.pdf\" target=\"_blank\"><em>Difference Engine: Harnessing Memory Redundancy in Virtual Machines<\/em><\/a>. Excellent article! A side effect of reading it led me to think again about the clunky mess humming away in the basement. And it was at roughly that time when another interesting article came through the news flow, <em>How do I add a second drive to a Windows XP virtual machine running in VirtualBox?<\/em> [link is dead]<\/p>\n<p>Hmmm, <a title=\"home page: VirtualBox\" href=\"http:\/\/www.virtualbox.org\/\" target=\"_blank\" class=\"broken_link\">VirtualBox<\/a>. I had looked at VirtualBox a long time ago. I grabbed a current release and installed it on my desktop. Wow, it\u00e2\u20ac\u2122s apparently matured a great deal since I last paid attention! I found it intuitive and fast to not only create and use new guests but also to simply import and run my existing VMs. (Well, okay, so there were a few gotchas, but no showstoppers.) Yes, this could be a contender for the basement server!<\/p>\n<p>I pulled out an old laptop for some preliminary testing. I loaded it up with <a title=\"Ubuntu home page\" href=\"http:\/\/www.ubuntu.com\/\" target=\"_blank\">Ubuntu<\/a> Server 10.10, installed VirtualBox and parked it in the basement. The goal? Well, VirtualBox is very easy to control through its GUI but I&#8217;d need to learn to run it entirely via command line and build my confidence for a smooth migration. I just \u00c2\u00a0<em>knew <\/em>I\u00e2\u20ac\u2122d run into problems along the way \u00e2\u20ac\u201c nothing\u00e2\u20ac\u2122s ever as easy as it looks at first glance \u00e2\u20ac\u201c and I wanted to be able to anticipate and solve most of them in advance.<\/p>\n<p>As usual, the \u00e2\u20ac\u02dcnet came through as a truly incredible learning resource and I made copious use of it along the way. But every situation is different. By documenting my work in a series of articles, well, maybe it\u00e2\u20ac\u2122ll help some wayward soul have an easier time of it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been virtualizing machines the home network for many years. The benefits are simply huge (but relax &#8211; I&#8217;ll not go into them in detail here). Suffice it to say that it beats the snot out of stack of old PCs with their attendant noise and energy consumption. The server I built on a shoestring &hellip; <a href=\"https:\/\/blog.timeoff.org\/rick\/2010\/12\/13\/virtualization-revisited\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Virtualization Revisited<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[55,8,7,81],"_links":{"self":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/posts\/898"}],"collection":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/comments?post=898"}],"version-history":[{"count":0,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/posts\/898\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/media?parent=898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/categories?post=898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.timeoff.org\/rick\/wp-json\/wp\/v2\/tags?post=898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}