<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>ipHouse Blog &#187; Virtual Machines</title> <atom:link href="http://blogs.iphouse.net/category/virtual-machines/feed/" rel="self" type="application/rss+xml" /><link>http://blogs.iphouse.net</link> <description>A friendly, local ISP with a view.</description> <lastBuildDate>Sat, 04 Feb 2012 04:14:51 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>The Value and Cost of Persistent Data</title><link>http://blogs.iphouse.net/2012/01/27/the-value-and-cost-of-persistent-data/</link> <comments>http://blogs.iphouse.net/2012/01/27/the-value-and-cost-of-persistent-data/#comments</comments> <pubDate>Fri, 27 Jan 2012 18:33:27 +0000</pubDate> <dc:creator>Nick Gasper</dc:creator> <category><![CDATA[Opinion]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Hosting]]></category> <category><![CDATA[Storage]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2236</guid> <description><![CDATA[Most 'cloud' type systems don't offer persistent data by default and ends up being an extra cost item.]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been cleaning out my house recently. There&#8217;s a lot of crud that&#8217;s just been lying around, collected through years. My wife describes me as a level 2 hoarder; she says that I would be a shoe-in for that <a href="http://en.wikipedia.org/wiki/Hoarders">A&amp;E show</a>. Going through many, many boxes that I&#8217;ve collected in the basement, I pick through each cord and think &#8220;I might need that.&#8221; I won&#8217;t need it though, so with a small mental push, I put it in the trash bag. Persistent data is a lot like that. A lot of companies have, either through policy or inertia, tons of useless information sitting on disks, or tapes, or CDs, that may be useful one day, but probably will not ever be.</p><p><span id="more-2236"></span></p><p>I look at many cloud providers and I see the opposite. Their services were designed for expedience instead of permanence. They make it hard and, at times, very expensive to actually keep data around. Usually you have to attach a &#8220;disk&#8221; (or &#8220;volume&#8221;) to any machine that has data you want to keep and you have to pay for that privilege. You also better have backups because you have no idea about the underlying storage or <a href="http://en.wikipedia.org/wiki/Data_retention">data retention policies</a>.</p><p>Any data that you absolutely need could mean you&#8217;re paying two or three times what you&#8217;d expect in order to keep it.</p><p>To my hoarder eyes the cloud is one big data furnace. It&#8217;s a dangerous place for your information to stay.</p><p>Enterprise data storage is expensive. I&#8217;ve often joked that <a href="http://en.wikipedia.org/wiki/Virtualization">virtualization</a> is a scheme to sell storage arrays. It&#8217;s a tricky game of performance, space, and <a href="http://en.wikipedia.org/wiki/RAID">redundancy</a>. Disks fail, <a href="http://en.wikipedia.org/wiki/Flash_memory">flash</a> is expensive, you never have enough RAM or CPU. There are dozens of types of arrays for hundreds of applications, retention policies, regulations; it&#8217;s a mess! When you have a service that has hundreds of thousands of customers then it may make sense that you discourage persistent data. You want people to consume your resources, pay their bill, and move on. Expedience instead of permanence. I&#8217;ve often been asked: Why online storage is so expensive when hard drives are so cheap? Well, this is why.</p><p>We built the <a title="ipHouse" href="http://www.iphouse.com/">ipHouse</a> <a title="ipHouse vmForge Products, virtual data centers or individual virtual machines" href="http://www.iphouse.com/vmforge/" target="_blank">vmForge</a> product with the idea that a virtual data center (VDC) replaces co-located infrastructure. The storage is persistent from the get-go. Is it any wonder that Mike has been loath to call it a &#8216;cloud service&#8217;?</p><p>This means that there are severe implications for any storage array that we put in place. We have to make sure that anything we put in place not only performs well but also goes the distance. It&#8217;s still a very good idea to do backups, though they probably will not be nearly as large, as most customers just need to back up a few key files or the database dumps that happen regularly. (you are backing up your database, right?)</p><p>Well, that&#8217;s my opinion anyways. Now I&#8217;m going to go back home and work on my basement.</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/01/27/the-value-and-cost-of-persistent-data/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Clone-tastic!</title><link>http://blogs.iphouse.net/2012/01/20/clone-tastic/</link> <comments>http://blogs.iphouse.net/2012/01/20/clone-tastic/#comments</comments> <pubDate>Fri, 20 Jan 2012 21:51:17 +0000</pubDate> <dc:creator>Nick Gasper</dc:creator> <category><![CDATA[ipHouse Products]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Hosting]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2174</guid> <description><![CDATA[There are many things about virtualization is the ability to clone virtual machines. It&#8217;s really cool! Unfortunately, after you work with virtualization for a while you start to take it for granted. I can&#8217;t tell you how many times I roll out a new physical machine and sigh because I can&#8217;t simply clone it. Well, <a href="http://blogs.iphouse.net/2012/01/20/clone-tastic/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>There are many things about virtualization is the ability to clone virtual machines. It&#8217;s really cool! Unfortunately, after you work with virtualization for a while you start to take it for granted. I can&#8217;t tell you how many times I roll out a new physical machine and sigh because I can&#8217;t simply clone it. Well, I can but that&#8217;s a discussion for another day.<br /> <span id="more-2174"></span> Virtual machines are a set of files that are interpreted by a hypervisor.  Since they are just files they can then be copied and/or edited. That&#8217;s all cloning is, the system is just copying the VMDKs (the &#8220;hard drive&#8221; files) and editing the VMX file (the config file to change things like the MAC address of a NIC and the virtual machine&#8217;s name).</p><p>You can even do it by hand if you have access to the backend storage. Mike once one-upped me by piping the VMX through sed. That&#8217;s cheating but all&#8217;s fair I guess. Cheater.</p><p>The vmForge VDC allows you to clone vApps and the individual machines contained therein. It automatically edits the config, can handle numbering the machine, and makes everything nice and easy. This is a killer feature in my book.</p><p>A lot of cloud providers are instance based. You select the operating system, push it out, and rely on automated services to configure them for you. Most of the time, you don&#8217;t get persistent storage. If you do, it&#8217;s usually a volume you attach to the instance and has nothing to do with its operating system. By using a vmForge VDC you can do the opposite. You can create a machine, configure it how you like, and then clone it. Configure once, and be done. Then you can keep a copy of it in your catalog for later deployments. Each clone is exactly that: a complete copy of your original system.</p><p>You may think that&#8217;s really cool! But wait, there&#8217;s more! (sorry, couldn&#8217;t resist)</p><p>When you build virtual machines in your VDC you are building them in vApps. A vApp is a logical container that holds virtual machines, internal networks, and can do things like set boot/shutdown order and power-down semantics.</p><p>When creating a vApp you also have the option to &#8220;fence&#8221; it. Fencing isolates the layer-2 networks within the vApp from any outside network. This means you can have internally consistent ip addressing inside the vApp. You can then &#8220;template&#8221; the vApp by moving it to your catalog and deploy it over and over and over again. That means that your preconfigured, multi-server application can be redeployed with a few mouse clicks!</p><p>Ultimately, cloning is about saving time. You get to use conventional tools to set up and multiple machines quickly and easily. You don&#8217;t have to learn any arcane scripting language, nor trust and maintain a complicated configuration service like Chef or Puppet. You just set up servers, push them out, and start to use them.</p><p>So, clone away!</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/01/20/clone-tastic/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>What does a VDC get you out of?</title><link>http://blogs.iphouse.net/2012/01/20/what-does-a-vdc-get-you-out-of/</link> <comments>http://blogs.iphouse.net/2012/01/20/what-does-a-vdc-get-you-out-of/#comments</comments> <pubDate>Fri, 20 Jan 2012 18:38:45 +0000</pubDate> <dc:creator>Doug Rau</dc:creator> <category><![CDATA[ipHouse Products]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2178</guid> <description><![CDATA[A vmForge virtual data center gets you into a private pool of computing resources which you can custom configure to your needs. It gets you into a lean, efficient, reliable, and elastic platform for your business, which can easily grow as you do. But it&#8217;s also worth looking at what it gets you out of. <a href="http://blogs.iphouse.net/2012/01/20/what-does-a-vdc-get-you-out-of/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>A <a title="ipHouse vmForge Virtual Data Center" href="http://www.iphouse.com/vmforge/vdc.html">vmForge virtual data center</a> gets you into a private pool of computing resources which you can custom configure to your needs. It gets you into a lean, efficient, reliable, and elastic platform for your business, which can easily grow as you do. But it&#8217;s also worth looking at what it gets you out of.</p><p><span id="more-2178"></span>It gets you out of hardware. Out of substantial up-front costs, management and repair, depreciation, and end-of-life planning.</p><p><a style="padding: 2em;" href="http://blogs.iphouse.net/2012/01/20/what-does-a-vdc-get-you-out-of/hardware/" rel="attachment wp-att-2179"><img class="aligncenter size-full wp-image-2179" title="hardware" src="http://blogs.iphouse.net/wp-content/uploads/2012/01/hardware.jpg" alt="" width="352" height="454" /></a></p><p>It gets you out of data centering. Out of power, cooling, and cabling overhead and management.</p><p><a style="padding: 2em;" href="http://blogs.iphouse.net/2012/01/20/what-does-a-vdc-get-you-out-of/cables/" rel="attachment wp-att-2180"><img class="aligncenter size-full wp-image-2180" title="cables" src="http://blogs.iphouse.net/wp-content/uploads/2012/01/cables.jpg" alt="" width="352" height="469" /></a></p><p>It might even get you out of this. With a virtualized infrastructure, you can get access to and administer your servers and network from almost anywhere. From your office, your home, the beach&#8230;</p><p><a style="padding: 2em;" href="http://blogs.iphouse.net/2012/01/20/what-does-a-vdc-get-you-out-of/815-2/" rel="attachment wp-att-2182"><img class="aligncenter size-full wp-image-2182" title="815" src="http://blogs.iphouse.net/wp-content/uploads/2012/01/8151.jpg" alt="" width="352" height="240" /></a></p><p>What else could you be getting out of with a virtual data center?</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/01/20/what-does-a-vdc-get-you-out-of/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Idle Thoughts: Things to do with your VDC</title><link>http://blogs.iphouse.net/2012/01/17/idle-thoughts-things-to-do-with-your-vdc/</link> <comments>http://blogs.iphouse.net/2012/01/17/idle-thoughts-things-to-do-with-your-vdc/#comments</comments> <pubDate>Tue, 17 Jan 2012 20:19:31 +0000</pubDate> <dc:creator>Doug Rau</dc:creator> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2106</guid> <description><![CDATA[By now, you might have a virtual datacenter, and whether by design or happenstance, you might have some extra capacity in reserve. Rather than letting it sit idle, why not utilize it for some small, temporary projects? Since creating and starting a virtual machine takes minutes instead of hours, and the resources invested can be <a href="http://blogs.iphouse.net/2012/01/17/idle-thoughts-things-to-do-with-your-vdc/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>By now, you might have a <a title="ipHouse vmForge Virtual Data Center services" href="http://www.iphouse.com/vmforge/vdc.html" target="_blank">virtual datacenter</a>, and whether by design or happenstance, you might have some extra capacity in reserve. Rather than letting it sit idle, why not utilize it for some small, temporary projects? Since creating and starting a virtual machine takes minutes instead of hours, and the resources invested can be recovered just as quickly, its relatively easy to explore options which you might not have had time for before. Maybe you can solve a problem you&#8217;ve been struggling with, or discover new capabilities for your business. Here&#8217;s a few ideas.</p><p><span id="more-2106"></span></p><p>If your company still doesn&#8217;t have a blog, it can be a great way for your employees to connect and communicate with your market in a regular and timely manner. If you&#8217;re already blogging on LiveJournal or some other blog community, you might want to bring it in-house, to take greater control over your blog&#8217;s capabilities or user experience, or to consolidate staff blogs in a single location.</p><p>Managing a modern, complex web site can be made easier using a CMS, or content management system. A CMS can help you think about your website as separate design, structure, and content layers, and work with these layers separately for best effect. It can also help decentralize maintenance and updating, while enforcing consistency across the site. Some blog software can double as a basic CMS, but there are many systems capable of much heavier duty.</p><p>A photo gallery, either public or private, can provide a single, controlled repository of photos taken by your company of products, processes, and publicity events for reference or use in blogs, training, etc.</p><p>As your business grows, you may reach a point where email can&#8217;t keep up with your customer support needs. A support ticketing system offers a single, shared repository of customer issues and responses which can be used and referenced by everyone on your staff.</p><p>Wikis can be a great solution for collaborative knowledge management and documentation. An internal wiki could be used to document and maintain your company&#8217;s documentation on everything from products to processes and policies. Pages can be created in the wiki for ad hoc planning and documentation of individual projects.</p><p>Have more ideas on what else you could use your VDC for? Post them in the comments!</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/01/17/idle-thoughts-things-to-do-with-your-vdc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Monitoring, a journey</title><link>http://blogs.iphouse.net/2012/01/09/monitoring-a-journey/</link> <comments>http://blogs.iphouse.net/2012/01/09/monitoring-a-journey/#comments</comments> <pubDate>Mon, 09 Jan 2012 16:55:38 +0000</pubDate> <dc:creator>Nick Gasper</dc:creator> <category><![CDATA[ipHouse Products]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[IPv6]]></category> <category><![CDATA[Monitoring]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2080</guid> <description><![CDATA[Or &#8220;How I Stopped Worrying and Learned to Love SaaS&#8221; I touched on monitoring in an earlier post but I thought that I would expand on my thoughts. Let me just get this out there: LogicMonitor (company site) is awesome. It&#8217;s not perfect (what is?), but it&#8217;s amazing, simple, straightforward, and it works. It combines effective monitoring with graphing <a href="http://blogs.iphouse.net/2012/01/09/monitoring-a-journey/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>Or &#8220;How I Stopped Worrying and Learned to Love SaaS&#8221;</p><p>I touched on monitoring in an earlier <a title="Infrastructure and Other Games, Part 4" href="http://blogs.iphouse.net/2011/12/08/infrastructure-and-other-games-part-4/">post</a> but I thought that I would expand on my thoughts.</p><p>Let me just get this out there: <a title="ipHouse monitoring service powered by LogicMonitor" href="http://www.iphouse.com/monitoring.html">LogicMonitor</a> (<a title="LogicMonitor - ipHouse likes it!" href="http://www.logicmonitor.com/">company site</a>) is awesome. It&#8217;s not perfect (what is?), but it&#8217;s amazing, simple, straightforward, and it works. It combines effective monitoring with graphing (metrics); it&#8217;s easy to understand and customize and it works.</p><p>Repeat: It works.<br /> <span id="more-2080"></span><br /> I&#8217;ve done some work with other monitoring and graphing/measurment solutions; mostly <a title="Zabbix agent-based monitoring" href="http://www.zabbix.com/">Zabbix</a>, <a title="Nagios, commercial and open source monitoring tools" href="http://www.nagios.org/">Nagios</a>, and <a title="Cacti - open source measurement tool" href="http://www.cacti.net/">Cacti</a>. They all have their strengths and weaknesses. LogicMonitor also has it&#8217;s plusses and minuses but all in all it works amazingly well with the number of minuses to be very small.</p><p>Nagios has, in my opinion, the best monitoring engine. The automatic back off and flap detection combined with per-host customization that can happen in Nagios has not been matched yet. However, configuring Nagios is a nightmare. I got really good at it and I don&#8217;t want to ever do it again. Looking at a blank Nagios setup makes me cringe. Tools like <a title="NagioSQL is an open source web based editor for Nagios configuration" href="http://www.nagiosql.org/">NagioSQL</a> help but it&#8217;s still ridiculous. Using Nagios as a customer facing solution would take up too much time and my time is precious to me and our business.</p><p>Cacti is not a monitoring system but it is a great graphing solution, unless your <a title="RRDtool is a data storage type used by many open source tools" href="http://oss.oetiker.ch/rrdtool/">RRD</a> data gets corrupted or lost. Now, that doesn&#8217;t happen much, but when it does, it&#8217;s annoying.</p><p>Zabbix is a great all in one system with a horrible interface. I hate to quibble, I still use Zabbix but I get headaches everytime I try to do something. The top down task selection with a history at the bottom is counterintuitive. Getting Zabbix to send out alerts is a chore. And requires per-host agents for different operating systems while the SNMP interface works well only if the device you are monitoring fits within the very small pre-configured templates that come with the package. Yes, I can build new templates, repeatedly but LogicMonitor does this without requiring extra time.</p><p>With our recently launched <a title="ipHouse vmForge virtualization services for virtual data centers and individual virtual machines" href="http://www.iphouse.com/vmforge/">vmForge</a> service offering, we wanted to add an excellent and easy to implement monitoring solution. It was something that we wanted to be able to set up for customers easily while also offering something that they could set up and manage themselves.</p><p><a title="Mike Horwath's articles on blogs.iphouse.net" href="http://blogs.iphouse.net/author/mike/">Mike</a> did quite a bit of digging but didn&#8217;t find anything that fit the bill entirely. Until he stumbled on LogicMonitor.</p><p>It initialy attracted our attention because it was network agent based. This allows us to put agents behind firewalls and NAT configurations without worrying about all of the details. The agent just requires outbound connectivity over HTTPS.</p><p>We decided to give it a try and we were instantly impressed! It automatically detects available datasources and adds threshold points and instrumentation graphing of operations in a single view. We can add rules and chains for alerting the engineering staff. It has a lot of features laid out in an easy to understand way. It uses SNMP, vendor APIs, and WMI depending on the target host.</p><p>It makes sense so we  fired up an evaluation and not long after signed up for services for our own use.</p><p>The developers of LogicMonitor have been great to work with. They have been open to feedback, excited to test things that they haven&#8217;t come across before. We receive queries on how a specific type of device should be measured and bug reports are handled professionally and efficiently.</p><p>The only thing that I don&#8217;t like is that the agent requires Java but that&#8217;s the cost of convienence.</p><p>The only things missing right now are support for IPv6 (which can&#8217;t come too soon) and a back off ability with flap detection. (spouses are happier when not woken up to dropped detection events)</p><p>Oh well, it&#8217;s still better than editing Nagios files!</p><p>I&#8217;m looking forward to working with LogicMonitor further and I highly recommend them.</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/01/09/monitoring-a-journey/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Building things: cubicle analogy time</title><link>http://blogs.iphouse.net/2012/01/04/building-things-cubicle-analogy-time/</link> <comments>http://blogs.iphouse.net/2012/01/04/building-things-cubicle-analogy-time/#comments</comments> <pubDate>Wed, 04 Jan 2012 22:17:34 +0000</pubDate> <dc:creator>Doug Rau</dc:creator> <category><![CDATA[Data Center]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Hosting]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2011</guid> <description><![CDATA[This week, I&#8217;ve been building (actually, rebuilding) cubicle desks in our new office space and comparisons were naturally drawn to building virtual machines a few weeks ago. Building a cubicle, no matter what the instructions say, is not exactly trivial. Even after putting the walls together, trying to get them all even and lined up <a href="http://blogs.iphouse.net/2012/01/04/building-things-cubicle-analogy-time/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>This week, I&#8217;ve been building (actually, rebuilding) cubicle desks in our new office space and comparisons were naturally drawn to building virtual machines a few weeks ago.</p><p><span id="more-2011"></span></p><p>Building a cubicle, no matter what the instructions say, is not exactly trivial. Even after putting the walls together, trying to get them all even and lined up is a trick. Then putting up the desk supports and the desk surfaces themselves, which are usually massive slabs of particle board and plastic veneer. If they&#8217;re fastened with screws, it&#8217;s always from beneath, out of the light, where you&#8217;re certain to get wood dust in your face.</p><p>In stark contrast, using vCloud Director to build a virtual machine was easy. Login, select a hardware and OS template, optionally configure, and deploy. It was up and running in a few minutes, maybe a little longer if you have added software or network configuration requirements. It&#8217;s all done with a keyboard and mouse, and I&#8217;m pretty certain I&#8217;ve never gotten wood dust in my face from it.</p><p>In both cases, a little planning goes a long way. Making a map of your cubicle layout lets you know whether everything is going to fit, what you&#8217;ll need, and whether you have it. Updating your map when you change your mind is also important. Making a map of your systems and network is similarly illuminating. How much CPU, memory, and disk do you need? What systems need outside IP addresses?</p><p>Also, paying attention to the details pays off. It&#8217;s a lot easier to make the desks level if all the supports are attached at the same height. Double check your IP address assignments and DNS records.</p><p>Finally, building a virtual machine doesn&#8217;t involve any power tools. Well, let&#8217;s hope not.</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/01/04/building-things-cubicle-analogy-time/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Kickstart your Linux install</title><link>http://blogs.iphouse.net/2011/12/30/kickstart-your-linux-install/</link> <comments>http://blogs.iphouse.net/2011/12/30/kickstart-your-linux-install/#comments</comments> <pubDate>Fri, 30 Dec 2011 19:54:20 +0000</pubDate> <dc:creator>Nick Gasper</dc:creator> <category><![CDATA[Opinion]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Hosting]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=1984</guid> <description><![CDATA[I&#8217;ll admit it, I&#8217;m not a huge fan of Red Hat Enterprise Linux. I&#8217;ll administer it, I&#8217;ve worked with it. It&#8217;s a good distribution. I just have a bad taste for RPM based distributions based on my first forays into Linux back in my Mandrake days. I also first started to professionally work with Linux <a href="http://blogs.iphouse.net/2011/12/30/kickstart-your-linux-install/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>I&#8217;ll admit it, I&#8217;m not a huge fan of Red Hat Enterprise Linux. I&#8217;ll administer it, I&#8217;ve worked with it. It&#8217;s a good distribution. I just have a bad taste for RPM based distributions based on my first forays into Linux back in my Mandrake days. I also first started to professionally work with Linux during the last couple of years of RHEL 5, when things were getting long in the tooth. Red Hat&#8217;s release schedule also conflicts with what most of my users want and expect; it&#8217;s far more suited to an corporate environment where having the latest features is not nearly as important as having consistent software versions. That being said, Red Hat has some fantastic tools; Anaconda and Kickstart being my favorite. So I was overjoyed when I discovered Ubuntu had support for Kickstart files! The Ubuntu installer can take Debian style preseed directives but in my opinion is overly complicated.</p><p>A Kickstart file basically answers the questions that pop up in the installer as the installer goes removing the need for human interaction. If an question isn&#8217;t answered, the installer pops up with the proper dialog, takes user input, and continues. I can pick and choose what information I want to populate automatically and which information dialogs I want the customer to answer. In my auto install ISOs I prompt the customer for a username and password as I want the users to enter that information.</p><p>When I was tasked with making an auto installing ISO for our customers I was able to create one quickly by using a kickstart file.<br /> <span id="more-1984"></span></p><p>The process of making a CD is a bit verbose, and better handled by some of the how-tos out there.</p><p>But I&#8217;ll take your through my Kickstart file.</p><p>First are some of basic information about the system. These are fairly self-explanatory.</p><pre>platform=AMD64
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse none
#System timezone
timezone America/Chicago</pre><p>I disable root, to reflect the Ubuntu default. You can enable it by removing the next line, and setting it with the second.</p><pre>rootpw --disabled
#rootpw jpDhuZtql4of4rfq</pre><p>I do not automatically add a user, but you can with the next line.</p><pre>#user johndoe --fullname "John Doe" --password changeme</pre><p>I don&#8217;t think this does much in an Ubuntu Server install but I put it in anyways.</p><pre>#Use text mode install
text</pre><p>We&#8217;re installing not upgrading.</p><pre>#Install OS instead of upgrade
install</pre><p>Use the CD-ROM.</p><pre>#Use CDROM installation media
cdrom</pre><p>Where are we going to put the bootloader?</p><pre>#System bootloader configuration
bootloader --location=mbr</pre><p>Get rid of any existing partitions.</p><pre>#Partition clearing information
clearpart --all --initlabel</pre><p>Partition the disks using Ubuntu defaults (512MB swap, etc) This allows the ISO to work on whatever size disk you want. Linux isn&#8217;t great about using swap anyways, so 512 is plenty.</p><pre>#Disk partitioning information
part /boot --fstype ext3 --size=200 --ondisk=hda
part swap --recommended
part / --fstype ext4 --size 1 --grow</pre><p>Passwd information. I know&#8230; MD5&#8230; You can use something more secure if you wish.</p><pre>#System authorization infomation
auth  --useshadow  --enablemd5</pre><p>We need DHCP for some of the following steps, as I have no idea what type of network this will be run on. You can specify other info here if you want.</p><pre>#Network information
network --bootproto=dhcp --device=eth0</pre><p>My customers hate having UFW on. I don&#8217;t think this actually works yet in Ubuntu, so I also do it in a later script.</p><pre>#Firewall configuration
firewall --disabled</pre><p>X-Windows on a Server? No thanks.</p><pre>#Do not configure the X Window System
skipx</pre><p>And finally, we want to reboot after installing. This isn&#8217;t actually done, as we&#8217;re going to run a post-install script.</p><pre>#Reboot after installation
reboot</pre><p>Add additional packages to install. I install the fewest here, as I update in a later script, so why install a bunch of stuff only to update it later?</p><pre>%packages
@dns-server
@openssh-server
gcc
build-essential</pre><p>Here comes a a post install script.</p><pre>%post</pre><p>Mount the CD again, as there&#8217;s data we want off of the CD.</p><pre>echo Making CD Mountpoint
mkdir -p /mnt/cdrom
echo Mounting CD
mount -t iso9660 /dev/sr0 /mnt/cdrom</pre><p>Copy over a script that I&#8217;ve written that does updates and additional installs when the virtual machine is first booted.</p><pre>echo Copying Firstboot Script
cp /mnt/cdrom/firstboot /etc/init.d/
chmod +x /etc/init.d/firstboot</pre><p>Updated the init structure to run the firstboot script on boot.</p><pre>update-rc.d firstboot defaults
echo Adding new Crontab</pre><p>Add a custom crontab with some randomized sleep values.</p><pre>cp /mnt/cdrom/crontab-template /etc/crontab</pre><p>A script that I wrote that edits resolv.conf to point to the local bind server</p><pre>echo Copying resolvfix init script
cp /mnt/cdrom/resolvfix /etc/init.d/
chmod +x /etc/init.d/resolvfix
update-rc.d resolvfix start 99 2 3 4 5 .</pre><p>An updated sources.list with a closer mirror.</p><pre>echo Copying Apt Sources
cp /mnt/cdrom/geeks-org-sources.list /etc/apt/sources.list</pre><p>A new dhclient with the local bind server seeded.</p><pre>echo Copying dhclient.conf
cp /mnt/cdrom/dhclient.conf /etc/dhcp3/</pre><p>A new named.conf.options with some useful defaults.</p><pre>echo Copying named.conf.options
cp /mnt/cdrom/named.conf.options /etc/bind/</pre><p>Moving over vmware-tools for installation upon first boot.</p><pre>mkdir /vmware
cd /vmware
echo Extracting Tools
tar zxf /mnt/cdrom/VMwareTools-*.tar.gz</pre><p>Ejecting the CD.</p><pre>echo Unmounting CD
umount /mnt/cdrom</pre><p>Update the system.</p><pre>echo Updating
apt-get update
apt-get -y dist-upgrade</pre><p>And finally, reboot the system (sync for good luck ;) ).</p><pre>echo Rebooting
sync
reboot</pre><p>Now, as I mentioned before, there&#8217;s a firstboot script that I run that does quite a bit of work before the machine is finished. It does things like wipe out the SSH keys, install VMware Tools, remove and purge old kernels and install applications like MySQL, Apache, as required.</p><p>Well, that&#8217;s one of the tricks I have tucked up my sleeve, I hope it helps!</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2011/12/30/kickstart-your-linux-install/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SysAdmin Golf: Use dd and netcat to clone a Linux machine</title><link>http://blogs.iphouse.net/2011/12/09/sysadmin-golf-use-dd-and-netcat-to-clone-a-linux-machine/</link> <comments>http://blogs.iphouse.net/2011/12/09/sysadmin-golf-use-dd-and-netcat-to-clone-a-linux-machine/#comments</comments> <pubDate>Fri, 09 Dec 2011 20:52:42 +0000</pubDate> <dc:creator>Nick Gasper</dc:creator> <category><![CDATA[ipHouse Products]]></category> <category><![CDATA[Opinion]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[SysAdmin Golf]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=1811</guid> <description><![CDATA[So, we&#8217;ve been working real hard here at ipHouse figure out ways to help customers move machines into our vmForge VDC product. VMware Converter works for Windows machines, (allegedly, I&#8217;m going test it soon) but isn&#8217;t so helpful with Linux machines. After wracking my brain, I thought about the various tools used to clone Linux <a href="http://blogs.iphouse.net/2011/12/09/sysadmin-golf-use-dd-and-netcat-to-clone-a-linux-machine/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>So, we&#8217;ve been working real hard here at ipHouse figure out ways to help customers move machines into our <a href="http://www.iphouse.com/vmforge/vdc.html">vmForge VDC</a> product. <a href="http://www.vmware.com/products/converter/">VMware Converter</a> works for <a href="http://windows.microsoft.com/en-US/windows/home">Windows</a> machines, (allegedly, I&#8217;m going test it soon) but isn&#8217;t so helpful with Linux machines. After wracking my brain, I thought about the various tools used to clone Linux boxes. I&#8217;m familiar with dd, a block level disk copying tool, and tried to find a way to use dd to create a VMDK, that I could then convert into a OVF and upload. <span id="more-1811"></span></p><p>Then I stumbled on this link (<a href="http://conshell.net/wiki/index.php/Linux_P2V">conshell.net</a>) which explains how to use dd and netcat to copy a disk over a network.</p><p>It was so simple, it verged on genius! But did it work?</p><p>The steps are easy:</p><p>1) Create a virtual machine with  a disk about the same size or larger than your source (not smaller)</p><p>Pick an arbitrary port, (9001 in this example) and set up your firewall or VSE to allow that port to the target machine.</p><p>2) Boot that new VM into a rescue environment or use a <a href="http://en.wikipedia.org/wiki/Live_CD">live cd</a>.</p><p>3) Use the following commands:</p><p>On the VM: <code>nc -l -p 9001 | dd of=/dev/sda</code></p><p>On your source machine: <code> dd if=/dev/sda | nc  9001</code></p><p>4) Wait a long time&#8230; I averaged around 15Mbps from my test machine to my new VM, it ranged from 30Mbps down to 7Mbps. I&#8217;m sure that had more to do with my network than anything. Still, this can take a while.</p><p>5) Once the dd has completed (dd will dump summary information) reboot the machine back into the live-cd environment, check the partitions with <code>e2fsck</code> the partitions and re-size them. (I cheated and used <code>gparted</code>)</p><p>6) At this point you can either mount the filesystem and remove the udev rules (in /etc/udev/rules.d/) or boot into your VM and remove them via the console. Either way, you have to reboot after the udev rule are removed.</p><p>7) Reboot, and voilà!</p><p>The live cd I used was <a href="http://www.cdlinux.info/wiki/doku.php/">CDLinux</a>. It&#8217;s a small Linux distribution that runs <a href="http://www.xfce.org/">XFCE</a>, and fits in an 80MB ISO. It also includes an SSH server, so you can set up an ssh tunnel, and use netcat against that rather than use an arbitrary port. It also has the VMware paravirtual scsi drivers.</p><p>Anyways, this worked. Wow did it work. I didn&#8217;t bother to zero out the remaining space on the disk, it took me about 2.5 hours to move 8GB worth of data but I was greeted with a familiar prompt in a new place as soon as I booted it up.</p><p>Now a couple of caveats. I did this on a running system, with no prep work. I would recommend trimming unnecessary data and shutting down as many services as you can. It&#8217;s best to do this when the machine is &#8220;down,&#8221; not doing anything beyond facilitating the copy. However, it does work on a live system. Still, if I were moving a production system, I would follow the advice in the linked article above.</p><p>But, it was my system, in a test environment, so I didn&#8217;t really care.</p><p>Still, isn&#8217;t it amazing what a couple of UNIX pipes can do?</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2011/12/09/sysadmin-golf-use-dd-and-netcat-to-clone-a-linux-machine/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SysAdmin Golf: The Hard Way</title><link>http://blogs.iphouse.net/2011/12/09/sysadmin-golf-the-hard-way/</link> <comments>http://blogs.iphouse.net/2011/12/09/sysadmin-golf-the-hard-way/#comments</comments> <pubDate>Fri, 09 Dec 2011 19:04:01 +0000</pubDate> <dc:creator>Doug Rau</dc:creator> <category><![CDATA[ipHouse Products]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Hosting]]></category> <category><![CDATA[SysAdmin Golf]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=1824</guid> <description><![CDATA[This is the hard way to p2v a Linux server into a vmForge VDC. You&#8217;ll need the VMware Converter bootable CD, and somewhere to store your disk image. If you have a Windows server and shared disk on your local network, that may be faster than a USB hard drive, which is what I used. <a href="http://blogs.iphouse.net/2011/12/09/sysadmin-golf-the-hard-way/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>This is the hard way to p2v a Linux server into a vmForge VDC. You&#8217;ll need the VMware Converter bootable CD, and somewhere to store your disk image. If you have a Windows server and shared disk on your local network, that may be faster than a USB hard drive, which is what I used. This is a cold clone procedure, which means that your server is down while its being copied. And it may be down for a while, depending on how much disk your server has, how quickly it can be cloned to local storage, and finally how quickly it can be uploaded to your VDC.</p><p><span id="more-1824"></span></p><p>Reboot your server from the VMware Converter CD. Once VMware Converter is running, click on &#8220;Import Machine&#8221;. Click through the first couple of panels. On the &#8220;Source Data&#8221; panel, select &#8220;Import all disks and maintain size&#8221;. On the &#8220;Destination Type&#8221; panel, set the destination type to &#8220;Other VMware Virtual Machine&#8221;. On the next panel, set the VM Name and the Location where you&#8217;re storing your disk image. Since Converter doesn&#8217;t support direct OVF export here, you&#8217;ll have to set the type of virtual machine to Workstation 6.x and change it later. Click through the rest of the panels, and Finish. VMware Converter will now export your server to a .vmx description file and .vmdk disk image(s). This may take a while.</p><p style="text-align: center;"><a href="http://blogs.iphouse.net/wp-content/uploads/2011/12/clone-progress.png"><img class="aligncenter size-full wp-image-1826" title="clone progress" src="http://blogs.iphouse.net/wp-content/uploads/2011/12/clone-progress.png" alt="" width="578" height="110" /></a></p><p>After VMware Converter is done, you&#8217;ll need to use VMware&#8217;s OVF Tool to convert the .vmx file to a .ovf file.</p><blockquote><p><code>ovftool.exe name.vmx name</code></p></blockquote><p>Next, the tricky bit. You&#8217;ll need to edit the .ovf file, which is in XML format, and find and update the VirtualSystemType field to vmx-07, a reasonably current version. Once you&#8217;ve edited the .ovf file, you&#8217;ll also need to generate its SHA1 hash and update the .mf manifest file. Now, you should have something which can be imported into your vmForge VDC.</p><p>Login to your vmForge VDC (or any VMware vCloud Director system), and create a new catalog if you don&#8217;t already have one. In your catalog, click on the Upload button. Select your .ovf file, give it a name and description, and click on the Upload button. Again, this may take a while. Once its done, you&#8217;ll be able to use the template from your catalog to create a new virtual machine, a clone of your old physical server. The last step will be to power on the virtual server, login via the virtual console, and reconfigure networking.</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2011/12/09/sysadmin-golf-the-hard-way/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>comparing software load balancers</title><link>http://blogs.iphouse.net/2011/12/01/comparing-software-load-balancers/</link> <comments>http://blogs.iphouse.net/2011/12/01/comparing-software-load-balancers/#comments</comments> <pubDate>Thu, 01 Dec 2011 19:42:19 +0000</pubDate> <dc:creator>Doug Rau</dc:creator> <category><![CDATA[Data Center]]></category> <category><![CDATA[Virtual Machines]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Hosting]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=1679</guid> <description><![CDATA[now that i have three different software load balancers installed (Balance, Crossroads, and Pen), i want to evaluate their relative performance. benchmarking a single web server isn&#8217;t difficult using tools like ab, but trying to benchmark a load balanced cluster is somewhat different. since most load balancers support stickiness, all the requests from a single <a href="http://blogs.iphouse.net/2011/12/01/comparing-software-load-balancers/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>now that i have three different software load balancers installed (Balance, Crossroads, and Pen), i want to evaluate their relative performance. benchmarking a single web server isn&#8217;t difficult using tools like <a href="http://httpd.apache.org/docs/2.0/programs/ab.html">ab</a>, but trying to benchmark a load balanced cluster is somewhat different. since most load balancers support stickiness, all the requests from a single source will be directed to a single back-end server. thus, i&#8217;ll need to run the benchmarker from several different sources simultaneously, or i&#8217;m really just testing one server with something in the way. fortunately, i have three machines on different IP addresses sitting idle.</p><p><span id="more-1679"></span></p><p>my first test is 10,000 requests for a static HTML page (2866 bytes). this test was run against a single apache server in the pool and against each of software load balancers with two back-end servers, from one source and from three simultaneously.</p><table style="margin: 0ex auto 4ex auto;"><tbody><tr><th>handler</th><th>single source</th><th>three sources</th></tr><tr><td>apache only</td><td>21.659 seconds</td><td>33.822</td></tr><tr><td>balance</td><td>106.794</td><td>failed</td></tr><tr><td>crossroads</td><td>37.729</td><td>failed</td></tr><tr><td>pen</td><td>39.112</td><td>failed</td></tr></tbody></table><p>the single apache server actually performed the best, easily beating any of the software load balancers in raw throughput. the test from three sources is effectively a mild denial-of-service attack, and none of the software load balancers could handle it. each of them failed and stopped accepting connections well before 10,000 requests were completed.</p><p>the second test is 20 requests for a PHP script which performs exactly 1 second of mathematics then returns results. in this case, almost all the load is on the back-end servers, and there was negligible difference in results between the four front-ends.</p><p>the third test is 400 requests for the PHP script, but issuing 20 concurrent requests from each source at a time. this generates significant load on the back-end servers, but is the first test where having multiple back-ends shows any improvement.</p><table style="margin: 0ex auto 4ex auto;"><tbody><tr><th>handler</th><th>single source</th><th>three sources</th></tr><tr><td>apache only</td><td>23.493 seconds</td><td>31.097</td></tr><tr><td>balance</td><td>22.820</td><td>26.191</td></tr><tr><td>crossroads</td><td>34.199</td><td>40.355</td></tr><tr><td>pen</td><td>24.721</td><td>28.365</td></tr></tbody></table><p>the fourth test is a monster, 400 requests for the PHP script, 100 concurrent requests from each source at a time.</p><table style="margin: 0ex auto 4ex auto;"><tbody><tr><th>handler</th><th>single source</th><th>three sources</th></tr><tr><td>apache only</td><td>14.912 seconds</td><td>22.604</td></tr><tr><td>balance</td><td>10.355</td><td>18.909</td></tr><tr><td>crossroads</td><td>failed</td><td>failed</td></tr><tr><td>pen</td><td>15.219</td><td>failed</td></tr></tbody></table><p>these results suggest that a software load balancer might be an option for putting more capacity and resilience into a script-heavy website, but clearly shouldn&#8217;t be chosen for performance. the single apache server performed better than my small cluster in nearly every test, and much better in a few cases. the total meltdown of the software load balancers in difficult situations is of particular concern. the results for the cluster might improve with more back-end servers, but the software load balancer itself seems to be the bottleneck.</p><p>of the three software load balancers, the simpler Balance and Pen outperformed Crossroads in general. interestingly, Balance fared spectacularly poorly against heavy traffic in the first test, but very well against a different sort of heavy traffic in the fourth.</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2011/12/01/comparing-software-load-balancers/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/36 queries in 0.031 seconds using memcached
Object Caching 710/778 objects using memcached

Served from: blogs.iphouse.net @ 2012-02-07 06:49:03 -->
