<?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; Virtualization</title> <atom:link href="http://blogs.iphouse.net/tag/virtualization/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>Here, There Be Storage Related Dragons&#8230;</title><link>http://blogs.iphouse.net/2012/02/03/here-there-be-storage-related-dragons/</link> <comments>http://blogs.iphouse.net/2012/02/03/here-there-be-storage-related-dragons/#comments</comments> <pubDate>Fri, 03 Feb 2012 21:31:46 +0000</pubDate> <dc:creator>Nick Gasper</dc:creator> <category><![CDATA[Opinion]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[geeky]]></category> <category><![CDATA[Virtualization]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2395</guid> <description><![CDATA[I&#8217;m venturing into territory that I don&#8217;t understand; disk scheduling algorithms in Linux. If you know more about this than I then please feel free to disabuse me of any mistaken notions, fundamental errors, or unfortunate statements that I may make in the blog post for future updates. This is something that I barely grasp <a href="http://blogs.iphouse.net/2012/02/03/here-there-be-storage-related-dragons/" class="more-link">More &#62;</a>]]></description> <content:encoded><![CDATA[<p>I&#8217;m venturing into territory that I don&#8217;t understand; disk scheduling algorithms in Linux. If you know more about this than I then please feel free to disabuse me of any mistaken notions, fundamental errors, or unfortunate statements that I may make in the blog post for future updates. This is something that I barely grasp but I like to explore and learn. So at the risk of my professional pride, and with the help of Wikipedia, here I go!</p><p>Changing your <a href="http://en.wikipedia.org/wiki/I/O_scheduling#Common_disk_I.2FO_scheduling_disciplines">disk scheduler</a> on a Linux virtual machine to increase performance.</p><p><strong><span id="more-2395"></span>First some background of what we do with storage at <a title="ipHouse" href="http://www.iphouse.com/">ipHouse</a> in our VMware environments.</strong></p><p>We really like <a href="http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29">NFS</a>. Architecturally it&#8217;s simpler than block based storage; you just need a good local area network and a storage system that can export a file based protocol. There&#8217;s no need for specialized hardware or intelligent host bus adapters, just let the storage array handle the storage. Virtualization lends itself to file based storage quite well. VMDKs are just files after all. I kind of snickered when <a href="http://en.wikipedia.org/wiki/VMware">VMware</a> first came out with their <a href="http://www.vmware.com/products/vstorage-apis-for-array-integration/overview.html">VAAI</a> storage extensions. It seemed, to me, like they were enhancing block-level storage devices to do a lot of what <a href="http://en.wikipedia.org/wiki/Network-attached_storage">NAS</a> based storage already does.</p><p>While I was taking my VCP4 class my colleges, most of whom were from big companies, snickered when I mentioned that our storage was on a NAS. A &#8220;filer&#8221; for them was a place for document sharing and storage. There was &#8220;no way&#8221; it would ever be fast enough, or good enough to backend their virtualized infrastructure. I&#8217;ve seen that notion fade more and more as <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a> has opened the doors for storage startups; and the big players are fighting back with their own specialized NAS devices. There are some really cool ideas floating around: NAS devices that are scale-out, that are optimized for virtualization, and that can do in-line <a href="http://en.wikipedia.org/wiki/Data_deduplication#In-line_deduplication">deduplication</a> of data.</p><p><strong>That being said&#8230;</strong></p><p>I have learned that there are some OS level tweaks that <em>can</em> enhance performance on virtual machines. Most x86 operating systems seem to be optimized for single disks, or internal RAID setups. Understandable as that has traditionally been the bulk of their install base. This means that the OS can manage disk queuing better that the dumb RAID card, or the dumber hard drive. <a href="http://en.wikipedia.org/wiki/CFQ">CFQ</a>, the default disk scheduler as of kernel 2.6.18 does this. As I understand it CFQ breaks synchronous read/write requests into queues, and assigns <a href="http://en.wikipedia.org/wiki/Preemption_%28computing%29">timeslices</a> to each queue, weighted by IO priority. The effect is that higher priority processes get longer queues which keeps IO requests from the same process close together. Great idea when the OS has direct access and is managing the storage. Not so great when the storage is handled remotely; the array on the other side is doing the scheduling. All of that optimization is ostensibly ignored. So for a virtual machine it&#8217;s better to switch to a simpler algorithm and let the storage array handle the write queuing.</p><p>From my reading (and testing) It&#8217;s better to switch to the <a href="http://en.wikipedia.org/wiki/Noop_scheduler">noop</a> scheduler. Noop simply shoves all requests into a first-in-first-out (FIFO) queue and can merge requests. It is simple, fast, and is great for flash storage (no mechanical latency) or for situations where optimization is handled by another device. Like a NAS! Perfect for virtualization!</p><p>I discovered this after getting a snippet of a shell script to try from Mike (who got it from a potential vendor that is a big storage geek). This wasn&#8217;t new information as Mike had mentioned this almost 18 months ago in passing but neither he nor myself ever tested it. After giving me the info, again, he suggested that I &#8220;test this out, and let me know if it works.&#8221;.</p><p>I&#8217;m still testing it, so caveat emptor, but I thought I&#8217;d share it with you.</p><p><span style="text-decoration: underline;">***WARNING DO NOT DO THIS ON A VM WITH SNAPSHOTS***</span></p><pre>
#!/bin/sh

grep '' /sys/block/sd*/queue/scheduler
for d in /sys/block/sd*; do
echo noop &gt; $d/queue/scheduler
done
grep '' /sys/block/sd*/queue/scheduler
</pre><p>This switches the scheduler from cfq to noop on all &#8220;SCSI&#8221; disks in the virtual machine.</p><p>He also added the following tweak to increase the read-ahead from 256 sectors to 1000 sectors, which caches more disk data for faster read times, after printing what the OS has mounted.</p><pre>
#!/bin/sh

mount
blockdev --getra /dev/sd?
blockdev --setra 10000 /dev/sd?
blockdev --getra /dev/sd?
</pre><p>Again, I&#8217;m still testing this on my personal stuff, but, qualitatively, things feel a lot faster. If anything, I haven&#8217;t crashed my Linux systems.</p><p>Anyways, I hope that helps!</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/02/03/here-there-be-storage-related-dragons/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <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>FreeBSD 9 and ZFS version 28, THANK YOU!</title><link>http://blogs.iphouse.net/2012/01/18/freebsd-9-and-zfs-version-28-thank-you/</link> <comments>http://blogs.iphouse.net/2012/01/18/freebsd-9-and-zfs-version-28-thank-you/#comments</comments> <pubDate>Wed, 18 Jan 2012 21:05:37 +0000</pubDate> <dc:creator>Nick Gasper</dc:creator> <category><![CDATA[System Administrators]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[Virtualization]]></category> <category><![CDATA[vmForge]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=2121</guid> <description><![CDATA[I have great excitement to share about FreeBSD 9 and ZFS version 28 being released.Read my thoughts in this blog post.]]></description> <content:encoded><![CDATA[<p>I&#8217;m excited! My favorite operating system, <a title="FreeBSD - the power to serve!" href="http://www.freebsd.org/" target="_blank">FreeBSD</a>, has gotten an upgrade! There are a lot of small changes but the big one (the one that I&#8217;m excited about) is getting <a title="ZFS - the zettabyte filesystem" href="http://en.wikipedia.org/wiki/ZFS" target="_blank">ZFS</a> version 28 into the kernel.</p><p>ZFS Version 28 adds some of the more important features of ZFS: Deduplication, triple parity RAIDZ3, and RAIDZ. This means that I can have full featured storage devices, running ZFS natively, via FreeBSD.</p><p>As a bonus I don&#8217;t have to learn Solaris.</p><p><span id="more-2121"></span>You can run ZFS in Linux but you would either have to run via <a title="Filesystem in Userspace" href="http://en.wikipedia.org/wiki/Filesystem_in_Userspace" target="_blank">FUSE</a> which is file system emulation in user-space, not in the kernel. Or download it and build it yourself. In my opinion, both of those options are idiotic. I&#8217;m not willing to jump through those kind of hoops just to run a filesystem in Linux. I&#8217;d rather have native, in kernel support for it. Until now, your choice was either run Solaris (or a fork of Solaris) or run an outdated version of ZFS via FreeBSD.</p><p>One project that should directly benefit of this: FreeNAS. FreeNAS is a customized installation of FreeBSD designed to operate as a NAS and iSCSI SAN. It has a pretty slick ajax/web interface as of version 8 but so far had missed out on key ZFS features.</p><p>One reason I want run up FreeBSD 9 and ZFS is to better learn ZFS troubleshooting and administration. FreeNAS aside, there are a lot of vendor supported storage devices that are coming into the market based on ZFS. I want to troubleshoot those devices on a lower level. Before this, I would have to install Solaris. This means that I would actually have to navigate to Oracle&#8217;s Website. No thank you.</p><p>In-line deduplication is on of my favorite impractical features of all time. It unfortunately, required gobs of memory (8 GB RAM for every 1 TB of storage, if memory serves) Hopefully, someone smart will figure out how to do it on flash, in a practical way, as rebuilding those tables after a power failure would suck. (see Mike&#8217;s <a title="Searching for Storage: Tegile" href="http://blogs.iphouse.net/mike/2012/01/searching-for-storage-tegile/" target="_blank">post</a> about Tegile &#8211; a company actually doing such in production today)</p><p>Obviously I don&#8217;t know a lot about ZFS yet which is why I&#8217;m glad I get to learn via FreeBSD.</p><p>If only I could convince ipHouse to give me a little more storage space on my personal VDC&#8230;hint hint!</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2012/01/18/freebsd-9-and-zfs-version-28-thank-you/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>CloudStack + vSphere: the marriage</title><link>http://blogs.iphouse.net/2011/12/15/cloudstack-vsphere-the-marriage/</link> <comments>http://blogs.iphouse.net/2011/12/15/cloudstack-vsphere-the-marriage/#comments</comments> <pubDate>Thu, 15 Dec 2011 17:40:24 +0000</pubDate> <dc:creator>Mike Horwath</dc:creator> <category><![CDATA[Customer Profiles]]></category> <category><![CDATA[System Administrators]]></category> <category><![CDATA[Hosting]]></category> <category><![CDATA[SysAdmin Golf]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[Virtualization]]></category><guid isPermaLink="false">http://blogs.iphouse.net/?p=1962</guid> <description><![CDATA[Quick set of notes dealing with my CloudStack install for a customer using VMware vSphere as the hypervisor.]]></description> <content:encoded><![CDATA[<p>This was for a customer of <a title="ipHouse - hosting, hosting, and hosting" href="http://www.iphouse.com/" target="_blank">ours</a> that wanted to move from a pure <a title="VMware vSphere hypervisor" href="www.vmware.com/vSphere" target="_blank">VMware vSphere</a> environment to a <a title="CloudStack by Citrix" href="http://www.cloud.com/" target="_blank">CloudStack</a> managed environment with vSphere as the hypervisor.</p><p>I don&#8217;t think anyone would disagree that the documentation for CloudStack still needs work. But all the documentation in the world can&#8217;t help if you decide to skip important sections.</p><p><span id="more-1962"></span>Some <span style="text-decoration: line-through;">caveats</span> notes while I was working with 2.2.12 and 2.2.13:</p><ul><li>vSphere 4.1 only, vSphere 5 is not compatible</li><li>Regardless of vSphere licensing used, <a title="VMware vSphere Distributed Switch overview" href="http://www.vmware.com/products/vnetwork-distributed-switch/overview.html" target="_blank">vSphere vDS</a> is not supported</li><li><a title="VMware vSphere Distributed Resource Scheduling overview" href="http://www.vmware.com/products/drs/overview.html" target="_blank">vSphere DRS</a> must be turned off so that CloudStack can do its own load balancing (it seems angry if things move)</li><li>No mention of <a title="VMware vSphere HA overview" href="http://www.vmware.com/products/high-availability/overview.html" target="_blank">vSphere HA</a> but I enabled HA because the point of using vSphere as the hypervisor was for automated high-availability</li><li>Discussion of <a title="VMware vSphere Storage Distributed Resource Scheduler overview" href="http://www.vmware.com/products/datacenter-virtualization/vsphere/vsphere-storage-drs/features.html" target="_blank">vSphere SDRS</a> going on in the forums but so far this also seems like a toggle that needs to be disabled for now</li><li>Secondary storage needs to be accessible by the Secondary Storage VM, vSphere hypervisors, and the CloudStack management system</li></ul><p>At first I didn&#8217;t read the documentation all the way through &#8211; just the networking bits as that was the largest area of the document and initially my largest area of concern. The lack of vDS is a bummer but I&#8217;m going to guess that they&#8217;ll add this functionality in a later release. I believe vDS would make a few things easier on the users of CloudStack long-term and look forward to this addition.</p><p>Since I didn&#8217;t read the documentation completely I failed to notice that it states support for vSphere 4.1 and mentions nothing about vSphere 5. Even after I started digging further into the document I assumed that vSphere 5 would be supported. That&#8217;s a bad assumption and after a reinstall of the physical servers (and vCenter) I was able to get the initial configuration to pass. Strike one for me &#8211; I should know better than to skip portions of an install document.</p><p>Next was getting all the networking together with the trunking for VMs, storage network, interconnection between CloudStack and the physical servers. This wasn&#8217;t difficult but did need me to actually write everything down as there was a lot going on concurrently. See my last note above for the hint to my biggest hurdle I needed to overcome.</p><p>I have some worries about what happens when a physical server fails (and everything fails at some point). I don&#8217;t know if CloudStack will initially notice the failure before vSphere ends up bringing the VM back online on a different physical box. And once it is up I don&#8217;t know how CloudStack will respond or alert for such items. I bring this up because CloudStack has its own HA system in place but the configuration in the general settings area shows 1800 seconds to trigger (if I am even reading that right). vSphere HA is faster than that. I guess we&#8217;ll see what happens if/when it does occur.</p><p>And the biggest hurdle for me was the requirement that the secondary storage VM, CloudStack management system, and the hypervisors need to be on the same network for the secondary storage to work. This storage is for holding templates and ISO images for later deployment into a customers&#8217; cloud environment. Once this items a pointed out to me then everything started to go together. This was an area of frustration as it wasn&#8217;t clear to me in the documentation that this is the case. The examples flow around an idea of one network for management, VM traffic, and storage. That is not how things are designed in my world as I separate out each of those types of traffic.</p><p>I found CloudStack simple to install and once I knew the different restrictions/notes above the process only took 10 minutes to complete.</p><p>If you want to read documentation in a browser, I found the <a title="CloudStack documentation in HTML" href="http://cloud.mindtouch.us/CloudStack_Documentation" target="_blank">cloud.mindtouch.us</a> site to be very helpful. Of course CloudStack has PDF based documentation as well though multi-file searching is either great or abysmal depending on your workstation OS of choice so I opted for the web version to help narrow things down before going back to the PDF editions.</p><p>Our customer is still working out a few kinks and should be fully operational soon.</p> ]]></content:encoded> <wfw:commentRss>http://blogs.iphouse.net/2011/12/15/cloudstack-vsphere-the-marriage/feed/</wfw:commentRss> <slash:comments>0</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/9 queries in 0.012 seconds using memcached
Object Caching 667/676 objects using memcached

Served from: blogs.iphouse.net @ 2012-02-07 06:33:54 -->
