<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>:-Dustin &#187; Ubuntu-Server</title>
	<atom:link href="http://dustinkirkland.wordpress.com/category/ubuntu-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://dustinkirkland.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sat, 22 Aug 2009 19:42:38 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dustinkirkland.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/0080dc0319272a8d4332674b654eded8?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>:-Dustin &#187; Ubuntu-Server</title>
		<link>http://dustinkirkland.wordpress.com</link>
	</image>
			<item>
		<title>qemu-kvm: call for testing</title>
		<link>http://dustinkirkland.wordpress.com/2009/08/22/qemu-kvm-call-for-testing/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/08/22/qemu-kvm-call-for-testing/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 01:50:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/08/22/qemu-kvm-call-for-testing</guid>
		<description><![CDATA[If you&#8217;re running Karmic and you use KVM, I&#8217;d appreciate your help testing the qemu-kvm package.
sudo apt-get install qemu-kvm
And then just use KVM as you normally do.  Please file bugs at:

https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+filebug

Thanks,  ustin
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=237&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you&#8217;re running Karmic and you use KVM, I&#8217;d appreciate your help testing the qemu-kvm package.</p>
<p><span style="font-style:italic;">sudo apt-get install qemu-kvm</span></p>
<p>And then just use KVM as you normally do.  Please file bugs at:
<ul>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+filebug">https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+filebug</a></li>
</ul>
<p>Thanks,<br /> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=237&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/08/22/qemu-kvm-call-for-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>
	</item>
		<item>
		<title>A Statistical Analysis of Potential PowerNap Energy Savings</title>
		<link>http://dustinkirkland.wordpress.com/2009/08/19/a-statistical-analysis-of-potential-powernap-energy-savings/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/08/19/a-statistical-analysis-of-potential-powernap-energy-savings/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 00:14:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[PowerNap]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/08/19/a-statistical-analysis-of-potential-powernap-energy-savings</guid>
		<description><![CDATA[I was asked recently how much energy savings administrators might actually expect from an Ubuntu Enterprise Cloud, powered by Eucalyptus and using PowerNap.
I have blogged before about how  much I enjoy mathematics and statistical analysis, and this is in fact another exciting, hard question!
The question was presented as the following hypothetical&#8230;
Given 10 quad-core servers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=235&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://dustinkirkland.files.wordpress.com/2009/08/e.png"><img src="http://dustinkirkland.files.wordpress.com/2009/08/e.png?w=145" alt="" border="0" /></a><br />I was asked recently how much energy savings administrators might actually expect from an <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/cloud/UEC">Ubuntu Enterprise Cloud</a>, powered by <a href="http://www.eucalyptus.com/">Eucalyptus</a> and using <a href="http://launchpad.net/powernap">PowerNap</a>.</p>
<p>I have blogged before about how <a href="http://blog.dustinkirkland.com/2009/06/prime-numbers-for-win.html"> </a>much I <a href="http://blog.dustinkirkland.com/2009/06/prime-numbers-for-win.html">enjoy mathematics and statistical analysis</a>, and this is in fact another exciting, hard question!</p>
<p>The question was presented as the following hypothetical&#8230;<br /><span style="font-style:italic;"></span><br />
<blockquote><span style="font-style:italic;">Given 10 quad-core servers in a cloud  running 40 virtual machines.  20 virtual machines are simultaneously discarded.  What power savings would you expect from PowerNap?</span></p></blockquote>
<p>This is actually a rather complex <a href="http://en.wikipedia.org/wiki/Combinatorics">combinatorics</a> problem.  I&#8217;ll restate it as such:<br />
<blockquote><span style="font-style:italic;">Given 10 buckets, each of which can hold 0 &#8211; 4 items, how many ways can 20 items be distributed among those 10 buckets?  Furthermore, what is the statistical distribution of empty buckets?</span></p></blockquote>
<p>It&#8217;s been 10 years since my university statistics classes, and my brain melted trying to derive the permutation formula.  But a big thanks to my good friend Matt Dobson for solving that!  If you&#8217;re interested, you can <a href="http://people.canonical.com/%7Ekirkland/4182_001.pdf">view his combinatorics formula here</a>.</p>
<p>It took me about an hour to  hack a Python script that could empirically solve this problem by <a href="http://en.wikipedia.org/wiki/Brute_force_attack">brute force</a>, generating a comprehensive list of all of the permutations.   You can now download and run <a href="http://bazaar.launchpad.net/%7Ekirkland/powernap/trunk/annotate/head%3A/powernap_calculator"><span style="font-style:italic;">/usr/bin/powernap_calculator</span></a> provided by the <span style="font-style:italic;">powernap</span> package in Karmic.</p>
<p>Here are the results running on the parameters above:<br />
<blockquote><span style="font-size:78%;">$ time powernap_calculator &#8211;hosts 10 &#8211;guests-per-host 4 &#8211;guests 20<br />Calculating&#8230;99%</p>
<p>In a cloud with [10] hosts, which can handle [4] guests-per-host, currently running [20] guests,<br />you may expect the following:</p>
<p></span><span style="font-size:78%;">[  5.2%] likely that [0/10] of your hosts would powernap, for a [0%] power savings<br />[ 27.5%] likely that [1/10] of your hosts would powernap, for a [10%] power savings<br />[ 42.5%] likely that [2/10] of your hosts would powernap, for a [20%] power savings<br />[ 21.8%] likely that [3/10] of your hosts would powernap, for a [30%] power savings<br />[  2.9%] likely that [4/10] of your hosts would powernap, for a [40%] power savings<br />[   &lt;1%] likely that [5/10] of your hosts would powernap, for a [50%] power savings</p>
<p>The overall expected value is [19.0%] power savings.</p>
<p>real    0m46.919s<br />user    0m46.227s<br />sys     0m0.276s</span></p></blockquote>
<p>So at <span style="font-style:italic;">this</span> snapshot in time, when your cloud suddenly dropped to 50% utilization, the <span style="font-style:italic;">expected value</span> is a 19% power savings.  Note that <a href="http://en.wikipedia.org/wiki/Expected_value"><span style="font-style:italic;">expected value</span></a> is a very specific statistics term.  Wikipedia says:<br />
<blockquote>In <a href="http://en.wikipedia.org/wiki/Probability_theory" title="Probability theory">probability theory</a> and <a href="http://en.wikipedia.org/wiki/Statistics" title="Statistics">statistics</a>, the <b>expected value</b> (or <b>expectation value</b>, or <b>mathematical expectation</b>, or <b>mean</b>, or <b>first moment</b>) of a <a href="http://en.wikipedia.org/wiki/Random_variable" title="Random variable">random variable</a> is the <a href="http://en.wikipedia.org/wiki/Lebesgue_integral" title="Lebesgue integral" class="mw-redirect">integral</a> of the random variable with respect to its <a href="http://en.wikipedia.org/wiki/Probability_measure" title="Probability measure" class="mw-redirect">probability measure</a>. For discrete random variables this is equivalent to the probability-<a href="http://en.wikipedia.org/wiki/Weighted_sum" title="Weighted sum" class="mw-redirect">weighted sum</a> of the possible values, and for continuous random variables with a <a href="http://en.wikipedia.org/wiki/Probability_density_function" title="Probability density function">density function</a> it is the probability density-weighted integral of the possible values.</p></blockquote>
<p>Right, so we might expect about a 19% power savings  for this random moment in time, when we simultaneously reduce our utilization by 50%.</p>
<p>However, if we observe the cloud over time, and with perhaps more realistic usage patterns, the distribution should be much better than random.  VMs will come and go at more staggered intervals than simultaneous destruction of half the instances.</p>
<p>And you will have another tremendous factor working in your favor &#8212; Eucalyptus&#8217; <span style="font-style:italic;">greedy</span> <span style="font-style:italic;">scheduling</span> <span style="font-style:italic;">algorithm</span>.  This ensures that each time a new VM is launched, it will land on a system that&#8217;s already running.   This is known as an <a href="http://en.wikipedia.org/wiki/Information_annealing">annealing system</a> &#8212; one that&#8217;s constantly correcting itself &#8212; since under-utilized systems will automatically <span style="font-style:italic;">powernap</span>, and new VMs will fill in the gaps on running hardware.  Pretty cool, I think.</p>
<p>So I&#8217;m curious&#8230;
<ul>
<li>What does (or would) your cloud look like?</li>
<li>How many -h|&#8211;hosts, -p|&#8211;guests-per-host, and -g|&#8211;guests do you usually have?</li>
<li>What does <span style="font-style:italic;">powernap_calculator</span> say about your parameters?</li>
<li>Post your results!</li>
</ul>
<p><span style="font-style:italic;">Note that the powernap_calculator algorithm is </span><a style="font-style:italic;" href="http://en.wikipedia.org/wiki/Big_O_notation">exponential</a><span style="font-style:italic;">, O((p+1)</span><sup>h</sup><span style="font-style:italic;">), so large values of (p, h) will take a very long time to compute!  I&#8217;m totally open to code review of <a href="http://bazaar.launchpad.net/%7Ekirkland/powernap/trunk/annotate/head%3A/powernap_calculator">powernap_calculator</a> and any performance enhancements <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </span></p>
<p>In my cloud, I have 8 dual-core hosts.  I typically limit my usage to 2 guests-per-host.  And I rarely run more than 4 VMs at a time.<br /><span style="font-size:78%;"></span><br />
<blockquote><span style="font-size:78%;">$ powernap_calculator -h 8 -p 2 -g 4<br />In a cloud with [8] hosts, which can handle [2] guests-per-host, currently running [4] guests,<br />you may expect the following power savings:<br />[ 26.3%] likely that [4/8] of your hosts would powernap, for a [50%] power savings<br />[ 63.2%] likely that [5/8] of your hosts would powernap, for a [62%] power savings<br />[ 10.5%] likely that [6/8] of your hosts would powernap, for a [75%] power savings<br />The overall expected value is [60.5%] power savings.</span></p></blockquote>
<p>My servers run at about 80 Watts fully loaded.  My electricity is about $0.10 per kilowatt-hour.  So a year&#8217;s worth of electricity with all 8 servers running all of the time is 8 * .08 KW * 24 hr/day * 365 days/year * $0.10/KW-hr = $560/year.</p>
<p>I like the prospects of saving approximately 60.5% of that, or $339/year!</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">So how does the calculator work?</span></span></p>
<p>Let&#8217;s use a slightly smaller example: <span style="font-style:italic;">hosts,h=4, guests-per-host,p=2, guests,g=3</span></p>
<p>Since each system can hold 0, 1, or 2 virtual machines, we&#8217;re going to use a base-3 number (which is <span style="font-style:italic;">p+1</span>).  And we&#8217;re going to generate all possible 4-digit base-3 numbers (which is <span style="font-style:italic;">(p+1)</span><sup>h</sup>).  In our case, that&#8217;s 3<sup>4</sup> or 81 scenarios to consider.  For each of those scenarios, we convert the decimal integer to a list of each of the digits 0-2, and sum the list, throwing out any &#8220;invalid scenarios&#8221;, where the sum does not add up to the target number of guests, 3, <span style="font-style:italic;">g</span>.  Our valid scenarios is actually much smaller, the following 16:<br />
<blockquote><span style="font-size:78%;">[2, 1, 0, 0]<br />[1, 2, 0, 0]<br />[2, 0, 1, 0]<br />[1, 1, 1, 0]<br />[0, 2, 1, 0]<br />[1, 0, 2, 0]<br />[0, 1, 2, 0]<br />[2, 0, 0, 1]<br />[1, 1, 0, 1]<br />[0, 2, 0, 1]<br />[1, 0, 1, 1]<br />[0, 1, 1, 1]<br />[0, 0, 2, 1]<br />[1, 0, 0, 2]<br />[0, 1, 0, 2]<br />[0, 0, 1, 2]</span></p></blockquote>
<p>Now, of these, we are interested in how many 0&#8217;s are in each row, as this indicates a host that has no guests, and can therefore be powernapped.</p>
<p>Our calculations yield: [0, 4, 12, 0, 0], or:
<ul>
<li>0 possible scenarios have no unused hosts</li>
<li>4 possible scenarios have 1 unused hosts</li>
<li>12 possible scenarios have 2 unused hosts</li>
<li>0 possible scenarios have 3 unused hosts</li>
<li>0 possible scenarios have 4 unused hosts</li>
</ul>
<p>From this we can generate the following probabilities:<br /><span style="font-size:85%;"></span><br />
<blockquote><span style="font-size:85%;">[ 25.0%] likely that [1/4] of your hosts would powernap, for a [25%] power savings<br />[ 75.0%] likely that [2/4] of your hosts would powernap, for a [50%] power savings<br /></span></p></blockquote>
<p>And weighting these probabilities, we can generate the <span style="font-style:italic;">expected value</span>:<br />
<blockquote>25%*.25 + 50%*.75 = 43.75%<br />The overall expected value is [43.8%] power savings.</p></blockquote>
<p>Comments appreciated!</p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=235&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/08/19/a-statistical-analysis-of-potential-powernap-energy-savings/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://dustinkirkland.files.wordpress.com/2009/08/e.png?w=145" medium="image" />
	</item>
		<item>
		<title>Byobu Slides for Your LoCo or LUG!</title>
		<link>http://dustinkirkland.wordpress.com/2009/07/29/byobu-slides-for-your-loco-or-lug/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/07/29/byobu-slides-for-your-loco-or-lug/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 15:45:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[Byobu]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/07/29/byobu-slides-for-your-loco-or-lug</guid>
		<description><![CDATA[
Do you want to be a rock star in your LoCo or LUG?
Give a presentation or demonstration on Byobu!
The hard work is already done, as I have created a set of slides for you, available under the Creative Commons Attribution-Share Alike 3.0 license.
There&#8217;s also a screencast available at YouTube:

http://www.youtube.com/watch?v=4rBF8byfyvo

I know a couple of people have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=230&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://dustinkirkland.files.wordpress.com/2009/07/presentation.png"><img src="http://dustinkirkland.files.wordpress.com/2009/07/presentation.png?w=300" alt="" border="0" /></a></p>
<p>Do you want to be a <a href="http://farm4.static.flickr.com/3118/3114732869_735c49ee41.jpg?v=0">rock star</a> in your <a href="https://wiki.ubuntu.com/LoCoTeams">LoCo</a> or <a href="http://en.wikipedia.org/wiki/Linux_User_Group">LUG</a>?</p>
<p>Give a presentation or demonstration on <a href="http://launchpad.net/byobu"><span style="font-weight:bold;">Byobu</span></a>!</p>
<p>The hard work is already done, as I have created <a href="http://bazaar.launchpad.net/%7Ekirkland/byobu/documentation/files/head%3A/presentations/">a set of slides for you</a>, available under the <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 license</a>.</p>
<p>There&#8217;s also a screencast available at YouTube:
<ul>
<li><a href="http://www.youtube.com/watch?v=4rBF8byfyvo">http://www.youtube.com/watch?v=4rBF8byfyvo</a></li>
</ul>
<p>I know a couple of people have done something like this with their groups in the past few months, and I thought I&#8217;d help out by providing some screenshots and documentation.</p>
<p>Enjoy,<br /> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=230&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/07/29/byobu-slides-for-your-loco-or-lug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://dustinkirkland.files.wordpress.com/2009/07/presentation.png?w=300" medium="image" />
	</item>
		<item>
		<title>Slashdot (Power Capping) and What Ubuntu is Doing</title>
		<link>http://dustinkirkland.wordpress.com/2009/07/23/slashdot-power-capping-and-what-ubuntu-is-doing/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/07/23/slashdot-power-capping-and-what-ubuntu-is-doing/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 13:51:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[Green-Computing]]></category>
		<category><![CDATA[PowerNap]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/07/23/slashdot-power-capping-and-what-ubuntu-is-doing</guid>
		<description><![CDATA[I just read this article, referenced by Slashdot: Power Capping the Data Center.
And I thought I&#8217;d borrow this video (one of my favorites) from IBM:

I think that we in the Ubuntu Server Community are leading the charge in developing an energy-efficient server class Linux distribution.
It is my hope that by the 10.04 LTS release, the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=227&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just read this article, referenced by Slashdot: <a href="http://hardware.slashdot.org/story/09/07/22/2155207/Power-Capping-the-Datacenter">Power Capping the Data Center</a>.</p>
<p>And I thought I&#8217;d borrow this video (one of my favorites) from IBM:</p>
<p><span style="text-align:center; display: block;"><a href="http://dustinkirkland.wordpress.com/2009/07/23/slashdot-power-capping-and-what-ubuntu-is-doing/"><img src="http://img.youtube.com/vi/lhuQC8sfGE4/2.jpg" alt="" /></a></span></p>
<p>I think that we in the Ubuntu Server Community are leading the charge in developing an energy-efficient server class Linux distribution.</p>
<p>It is my hope that by the 10.04 LTS release, the Ubuntu Server is widely recognized as the <span style="font-style:italic;">de facto</span> Green Computing Server Platform.</p>
<p>I would like to highlight a few of the key ways we have improved the energy efficiency of the Ubuntu Server in 9.04.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">9.04</span></span>
<ul>
<li><a href="http://blog.dustinkirkland.com/2009/02/ubuntu-server-suspendhibernateresume.html"><span style="font-weight:bold;">suspend/hibernate/resume</span></a>
<ul>
<li>In Jaunty, we added <span style="font-style:italic;">pm-utils</span> to the Server seed, and proved that Ubuntu Servers could suspend and hibernate, and be resumed remotely (requires support in the system&#8217;s BIOS).</li>
</ul>
</li>
<li><a href="http://en.wikipedia.org/wiki/Dynamic_frequency_scaling"><span style="font-weight:bold;">cpu frequency scaling</span></a>
<ul>
<li>We also enabled cpu frequency scaling on the Ubuntu Server, defaulting to the <span style="font-style:italic;">on-demand</span> governor.  This ensures that Ubuntu Servers run at minimum cpu frequency and power consumption when under-utilized.</li>
</ul>
</li>
<li><a href="http://pwrkap.sourceforge.net/"><span style="font-weight:bold;">pwrkap</span></a>
<ul>
<li><span style="font-style:italic;">pwrkap</span> is an open source project from the IBM Linux Technology Center which provides an energy use monitor and power capping enforcement tools (just what the Slashdot article is discussing!).  We partnered with the LTC, working with Darrick Wong, to deliver this technology as a package in Ubuntu Universe.</li>
</ul>
</li>
<li><a href="http://powerman.sourceforge.net/"><span style="font-weight:bold;">powerman</span></a>
<ul>
<li><span style="font-style:italic;">powerman</span> is another new package in Jaunty.  Here, we worked with Arnaud Quette of <a href="http://www.eaton.com/EatonCom/index.htm">Eaton</a> to provide in Ubuntu a tool for manipulating Power Distribution Units (PDUs) from a central location&#8211;useful for remote operation in data centers and cluster computing.</li>
</ul>
</li>
<li><span style="font-weight:bold;"><a href="http://www.eucalyptus.com/">Eucalyptus</a>, <a href="http://aws.amazon.com/ec2/">EC2</a></span>
<ul>
<li>Finally, we embarked on a tremendous effort to make the Ubuntu Server a better host and client in virtual and cloud computing environments.  Cloud, grid, and utility computing, in a generic sense, provide far more scalable resources at the data center level.  And being able to move computing efforts between your data center and someone else&#8217;s (such as Amazon) also provides some interesting options on the power savings front.</li>
</ul>
</li>
</ul>
<p>These efforts continue in the development of Karmic 9.10.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">9.10 (in progress)</span></span>
<ul>
<li><span style="font-weight:bold;"><a href="http://blog.dustinkirkland.com/2009/07/introducing-powernap.html">powernap</a><br /></span>
<ul>
<li><span style="font-style:italic;">PowerNap</span> is a new free software project from Canonical that acts as sort of a &#8220;screen saver&#8221; for servers.  Ubuntu Servers running <span style="font-style:italic;">PowerNap </span>can be configured to take a specific action (like suspending, or hibernating, or powering off) when deemed inactive (no keyboard mouse activity, and none of some list of processes running).</li>
</ul>
</li>
<li><span style="font-weight:bold;"><a href="http://blog.dustinkirkland.com/2009/07/introducing-powernap.html">powerwake</a><br /></span>
<ul>
<li><span style="font-style:italic;">PowerWake</span> is part of the <span style="font-style:italic;">PowerNap</span> project, and provides a command line interface for remotely resuming power napping systems.</li>
</ul>
</li>
<li><span style="font-weight:bold;"><a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/cloud/UEC">Ubuntu Enterprise Cloud</a> powered by Eucalyptus<br /></span>
<ul>
<li>Eucalyptus has been enhanced to leverage <span style="font-style:italic;">PowerNap</span> and <span style="font-style:italic;">PowerWake</span>, to maintain a far more energy efficient cloud.  Eucalyptus uses <span style="font-style:italic;">PowerNap</span> to suspend, hibernate, or power-off nodes that are not currently running any virtual machines.  New VM requests are served from the available capacity of running systems.  Eucalyptus will <span style="font-style:italic;">PowerWake</span> sleeping systems only if load requires.  With <span style="font-style:italic;">PowerNap</span>, data centers will finally realize the energy savings promised by cloud computing.</li>
</ul>
</li>
<li><a href="http://www.cs.wisc.edu/condor/"><span style="font-weight:bold;">Condor</span></a>
<ul>
<li>We are working on packaging <span style="font-style:italic;">Condor</span> for Karmic.  <span style="font-style:italic;">Condor</span> is a system that &#8220;scavenges&#8221; otherwise unused computing cycles, leveraging them for a higher purpose.  Think &#8220;protein folding&#8221; or &#8220;SETI@home&#8221;, except in your data center, for your grid-capable applications.  As such, <span style="font-style:italic;">Condor</span> is less about saving power, but more about increasing utilization and efficiency or your computing resources.  You could perhaps choose to <span style="font-style:italic;">PowerNap</span> your under utilized hardware and save energy, or instead <span style="font-style:italic;">Condor</span> your systems and task them to other work.</li>
</ul>
</li>
<li><span style="font-weight:bold;"><a href="http://www.mcs.anl.gov/research/projects/mpich2/">mpich2</a><br /></span>
<ul>
<li>We have also synchronized the <span style="font-style:italic;">mpich2</span> package from Debian, thanks to some <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420638">excellent work from a few Debian developers</a>.  <span style="font-style:italic;">mpich2</span> is an extremely important library for high performance, grid computing applications.  Whereas <span style="font-style:italic;">Condor</span> is intended for general purpose grid computing, <span style="font-style:italic;">mpich2</span> is used by developers and users of very specific applications.  Like <span style="font-style:italic;">Condor</span>, <span style="font-style:italic;">mpich2</span> is also about using available computing resources as efficiently as possible.</li>
</ul>
</li>
</ul>
<p>So what&#8217;s next?  I certainly hope to continue working on energy efficiency in the Ubuntu Server.  I have a few ideas about what we could do in 10.04.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">10.04 (future)</span></span>
<ul>
<li><span style="font-weight:bold;">Low Power Architectures</span>
<ul>
<li>I have blogged a couple of times now (<a href="http://blog.dustinkirkland.com/2009/03/wah-your-dell-inspiron-mini9-is-ubuntu.html">here</a>, and <a href="http://blog.dustinkirkland.com/2009/07/dell-mini9-server-and-dell-mini10v.html">here</a>), about running the Ubuntu Server on Dell Mini&#8217;s.  These systems have Intel Atom processors, and run the <span style="font-style:italic;">lpia</span> architecture.  I would like to see us work more on this, and perhaps partner with the vendors on an Ubuntu Server product for these architectures.</li>
<li><span style="font-style:italic;"></span><span style="font-style:italic;"></span>Beyond that, <span style="font-style:italic;">ARM</span> is a <span style="text-decoration:underline;">fascinating</span> architecture, and will have a tremendous effect on the way we think about computing power.  <span style="font-style:italic;">ARM</span> based servers, with solid-state disks will soon run on fractions of a watt of power.  Some people are excited about laptops that might have 24 hours of battery.  I&#8217;m excited about Servers that have a 24 hour built-in battery backup, consume 1% of the power of their predecessors, and can fit in nooks and crannies in every room of your house.</li>
</ul>
</li>
</ul>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=227&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/07/23/slashdot-power-capping-and-what-ubuntu-is-doing/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/lhuQC8sfGE4/2.jpg" medium="image" />
	</item>
		<item>
		<title>libvirt backport</title>
		<link>http://dustinkirkland.wordpress.com/2009/07/14/libvirt-backport/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/07/14/libvirt-backport/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 21:14:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/07/14/libvirt-backport</guid>
		<description><![CDATA[
A big thanks to everyone who has been testing the backport of Jaunty&#8217;s kvm-84 to Intrepid and Hardy.
I have backported a bit more of the virtualization stack from Jaunty to Intrepid and Hardy, namely:

libvirt 0.6.1

Packages are available in the ~ubuntu-virt PPA:

https://launchpad.net/~ubuntu-virt/+archive/ppa

I&#8217;m hoping some of you out there might be willing and interested to do some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=226&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://libvirt.org/"><img src="http://dustinkirkland.files.wordpress.com/2009/07/libvirtlogo.png?w=300" alt="" border="0" /></a></p>
<p>A big thanks to everyone who has been testing the backport of Jaunty&#8217;s kvm-84 to Intrepid and Hardy.</p>
<p>I have backported a bit more of the virtualization stack from Jaunty to Intrepid and Hardy, namely:
<ul>
<li>libvirt 0.6.1</li>
</ul>
<p>Packages are available in the ~ubuntu-virt PPA:
<ul>
<li><a href="https://launchpad.net/%7Eubuntu-virt/+archive/ppa">https://launchpad.net/~ubuntu-virt/+archive/ppa</a></li>
</ul>
<p>I&#8217;m hoping some of you out there might be willing and interested to do some testing on these new packages.  They fix a couple of bugs for me, including installation of Windows guests on Hardy hosts.</p>
<p>Please raise issues and discuss problems in Launchpad and IRC, rather than comments below.</p>
<p>Cheers,<br /> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=226&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/07/14/libvirt-backport/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://dustinkirkland.files.wordpress.com/2009/07/libvirtlogo.png?w=300" medium="image" />
	</item>
		<item>
		<title>Introducing PowerNap!</title>
		<link>http://dustinkirkland.wordpress.com/2009/07/13/introducing-powernap/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/07/13/introducing-powernap/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 06:58:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[PowerNap]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/07/13/introducing-powernap</guid>
		<description><![CDATA[Ladies and gentlemen, I&#8217;m pleased to announce an exciting, new open source project from Canonical for the Ubuntu Server &#8212; PowerNap!
Mark&#8217;s Karmic Koala announcement alluded to this work when he wrote:

A savvy Koala knows that the best way to conserve energy is to goto sleep, and these days even servers can suspend and resume, so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=225&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://dustinkirkland.files.wordpress.com/2009/07/powernap.png"><img src="http://dustinkirkland.files.wordpress.com/2009/07/powernap.png?w=192" alt="" border="0" /></a>Ladies and gentlemen, I&#8217;m pleased to announce an exciting, new open source project from <a href="http://www.canonical.com/">Canonical</a> for the <a href="http://www.ubuntu.com/products/whatIsubuntu/serveredition">Ubuntu Server</a> &#8212; <a href="https://launchpad.net/powernap"><span style="font-weight:bold;">PowerNap</span></a>!</p>
<p>Mark&#8217;s <a href="https://lists.ubuntu.com/archives/ubuntu-devel-announce/2009-February/000536.html">Karmic Koala announcement</a> alluded to this work when he wrote:<br />
<blockquote>
<pre><span style="font-style:italic;">A savvy Koala knows that the best way to conserve energy is to go</span><span style="font-style:italic;">to sleep, and these days even servers can suspend and resume, so imagine</span><span style="font-style:italic;">if we could make it possible to build a cloud computing facility that</span><span style="font-style:italic;">drops its energy use virtually to zero by napping in the midday heat,</span><span style="font-style:italic;">and waking up when there's work to be done. No need to drink at the</span><span style="font-style:italic;">energy fountain when there's nothing going on. If we get all of this</span><span style="font-style:italic;">right, our Koala will help take the edge off the bear market.</span></pre>
</blockquote>
<p>I have just uploaded <span style="font-weight:bold;">PowerNap</span> to Karmic, and we are well on our way to integrating the technology into the 9.10&#8217;s <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/cloud">Ubuntu Enterprise Cloud</a>.</p>
<p>Actually, I spent last week in sunny Santa Barbara, California working with <a href="http://www.cs.ucsb.edu/%7Enurmi/">Dan Nurmi</a>, of <a href="http://www.eucalyptus.com/">Eucalyptus Systems</a>.  We shot some amateur digital videos of Ubuntu Karmic Servers, <span style="font-weight:bold;">PowerNap</span>/<span style="font-weight:bold;">PowerWake</span>, Eucalyptus, and a Watt meter in action.  I&#8217;ll get those posted soon!</p>
<p>I&#8217;ll go into much deeper technical detail on the design and implementation of <span style="font-weight:bold;">PowerNap</span> over the next few weeks in subsequent posts, but I&#8217;ll give an overview here&#8230;</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">How Does It Work?</span></span></p>
<p><span style="font-weight:bold;">PowerNap</span> operates sort of like a <a href="http://en.wikipedia.org/wiki/Screensaver">screen saver</a> for servers. Besides watching the console and terminals for keyboard activity, it also watches the <a href="http://en.wikipedia.org/wiki/Process_table">system&#8217;s process table</a> for activity.</p>
<p>An administrator defines a list of <a href="http://en.wikipedia.org/wiki/Regular_expression">regular expressions</a> describing some critical <span style="font-style:italic;font-weight:bold;">MONITORED_PROCESSES</span> that should be running.  When <span style="font-style:italic;font-weight:bold;">powernapd</span> notices that all of the <span style="font-style:italic;font-weight:bold;">MONITORED_PROCESSES</span> have been absent from the process table for some configurable <span style="font-style:italic;font-weight:bold;">ABSENT_SECONDS</span>, <span style="font-style:italic;font-weight:bold;">powernapd</span> emits a warning to all users of the system that it will run <span style="font-style:italic;font-weight:bold;">powernap</span>, unless canceled within the next <span style="font-style:italic;font-weight:bold;">GRACE_SECONDS</span>.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Sample Configuration</span></span></p>
<p>In the Ubuntu Enterprise Cloud case, the configuration file, <span style="font-style:italic;font-weight:bold;">/etc/powernap/config</span>, might look something like:
<pre>MONITORED_PROCESSES = [ "^/usr/bin/kvm " ]ABSENT_SECONDS = 300GRACE_SECONDS = 60</pre>
<p>Thus, if no instance of <span style="font-weight:bold;font-style:italic;">kvm</span> runs for <span style="font-weight:bold;font-style:italic;">5 minutes</span>, then the system will emit a warning, and <span style="font-style:italic;font-weight:bold;">powernap</span> after a <span style="font-style:italic;font-weight:bold;">1 minute</span> grace period.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">PowerNap Now!</span></span></p>
<p>Alternatively, a system administrator can force the system to <span style="font-style:italic;font-weight:bold;">powernap</span> immediately by either running <span style="font-style:italic;font-weight:bold;">/usr/sbin/powernap</span> directly, or sending <span style="font-style:italic;font-weight:bold;">powernapd</span> the &#8220;now&#8221; signal with: <span style="font-style:italic;font-weight:bold;">service powernap now</span>.  In fact, this is what the Eucalyptus Node Controller does, such that it can maintain state, and directly control its managed nodes.</p>
<p><span style="font-weight:bold;font-size:130%;">What constitutes a <span style="font-style:italic;">powernap</span>?</span></p>
<p>So, <span style="font-style:italic;font-weight:bold;">powernap</span> will first check if <span style="font-style:italic;font-weight:bold;">/etc/powernap/action</span> is executable, and if so, it will run that file.  This will allow you, as an administrator, to run any arbitrary script or program of your design when <span style="font-style:italic;font-weight:bold;">powernapd</span> determines that your server has become idle.  Your script could send an email, for example.
<pre>echo "Inefficient server, wasting energy" | mail Al_Gore@example.com</pre>
<p>But in the default case, <span style="font-style:italic;font-weight:bold;">powernap</span> will check if your server supports suspend-to-ram, and if so, it will <span style="font-style:italic;font-weight:bold;">pm-suspend</span> your system.  Otherwise, it will suspend-to-disk, or power the system off, depending on the<a href="http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface"> sleep states supported by your hardware</a>.</p>
<p>Slick, huh?  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Beyond the Cloud</span></span></p>
<p>While <span style="font-weight:bold;">PowerNap</span> is bespoke for the Ubuntu Enterprise Cloud, I have implemented it in manner that I hope is generically useful.</p>
<p>In fact, I&#8217;m currently using <span style="font-weight:bold;">PowerNap</span> on my Mythbuntu front ends! My configuration currently looks something like:
<pre>MONITORED_PROCESSES = [ "mplayer", "vlc", "xine", "mythfrontend.real", "xmms", "gthumb" ]ABSENT_SECONDS = 240GRACE_SECONDS = 60</pre>
<p>My hardware supports <a href="http://en.wikipedia.org/wiki/Sleep_mode">S3 suspend-to-ram</a>, so this is great!  If 4 minutes go by, where I&#8217;m not running any of my media players (mplayer, vlc, xine, mythfrontend.real, xmms), I&#8217;m given a 1 minute grace period, and then my system suspends.  I have configured wake-on-usb and <a href="http://en.wikipedia.org/wiki/Wake-on-lan">wake-on-lan</a> in the BIOS, so I can resume the system in a couple of seconds either by tapping a key or sending a WoL magic packet.</p>
<p>But in the mean time, I&#8217;ve reduced the power consumption of 4 systems by 90%, for most of every day while I&#8217;m not directly using MythTV!</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">What about Waking Systems?</span></span></p>
<p>Which brings me to <span style="font-style:italic;font-weight:bold;">PowerNap</span>&#8217;s kid brother&#8230;<span style="font-style:italic;font-weight:bold;">PowerWake</span>.  <span style="font-style:italic;font-weight:bold;">/usr/bin/powerwake</span> is another Python script.  This script is designed to be a smarter, remote waking utility.  Currently, it supports wake-on-lan, but it will eventually support other mechanisms, such as <a href="http://en.wikipedia.org/wiki/IPMI">IPMI</a>, and perhaps <a href="http://www.networkupstools.org/">NUT</a>.</p>
<p>With respect to wake-on-lan, it&#8217;s &#8220;smarter&#8221; than some other wake-on-lan utilities because it uses a hierarchy of cache files, configuration files, and the current <a href="http://en.wikipedia.org/wiki/Address_Resolution_Protocol">arp table</a>, such that you can wake a system by MAC address, or IP address, or hostname.  I find this <span style="font-style:italic;">far</span> more convenient than trying to remember or look up MAC addresses.  <span style="font-style:italic;font-weight:bold;">powerwake</span> respects static configuration in <span style="font-style:italic;font-weight:bold;">/etc/ethers</span> and maintains a dynamically learning cache of known MAC addresses in <span style="font-weight:bold;font-style:italic;">/var/cache/powerwake/ethers</span>.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Interesting?</span></span></p>
<p>I&#8217;m eager to hear what other uses you might have for <span style="font-weight:bold;">PowerNap</span> and/or <span style="font-weight:bold;">PowerWake</span> for your data centers, basements, and living rooms!</p>
<p>Saving a few Watts,<br /> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=225&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/07/13/introducing-powernap/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://dustinkirkland.files.wordpress.com/2009/07/powernap.png?w=192" medium="image" />
	</item>
		<item>
		<title>Call for Testing: KVM in Jaunty-Proposed</title>
		<link>http://dustinkirkland.wordpress.com/2009/07/10/call-for-testing-kvm-in-jaunty-proposed/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/07/10/call-for-testing-kvm-in-jaunty-proposed/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 12:42:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/07/10/call-for-testing-kvm-in-jaunty-proposed</guid>
		<description><![CDATA[So the backport of KVM-84 to Hardy and Intrepid has been in the works since March, and we&#8217;re now rounding 3rd base.
I&#8217;ve produced a couple of release candidates and fixed a few remaining issues.  Thank you to everyone who has tested these packages and provided feedback.
The final step before releasing the backport is to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=223&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So the backport of <span style="font-weight:bold;">KVM-84</span> to Hardy and Intrepid has been in the works since March, and we&#8217;re now rounding 3rd base.</p>
<p>I&#8217;ve produced a couple of release candidates and fixed a few remaining issues.  Thank you to everyone who has tested these packages and provided feedback.</p>
<p>The final step before releasing the backport is to ensure that these latest changes get uploaded to <span style="font-style:italic;">jaunty-updates</span>, such that the package is in sync among Hardy, Intrepid, and Jaunty.</p>
<p><span style="font-weight:bold;">One more call for testing&#8230;</span></p>
<p>So I&#8217;ve been working hard on this, and I&#8217;m at a point where I require assistance from the community.  I get emails on a weekly basis from people asking for advice on getting involved in Ubuntu.  Here&#8217;s your shot <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>There is a <a href="https://launchpad.net/ubuntu/+source/kvm">package in <span style="font-style:italic;">jaunty-proposed</span></a> that needs to be pushed to <span style="font-style:italic;">jaunty-updates</span> before the Hardy and Intrepid backports can take place.  In order to promote the package to<span style="font-style:italic;"> jaunty-updates</span>, I need users to verify that the new package fixes the four bugs that I think it fixes, and does not cause regressions.</p>
<p>Please, if you have a system running Jaunty + KVM, give the -proposed package a shot, and provide feedback in the following 4 bugs:
<ul>
<li><a href="https://bugs.edge.launchpad.net/ubuntu/+source/kvm/+bug/392295">392295</a></li>
<li><a href="https://bugs.edge.launchpad.net/ubuntu/+source/kvm/+bug/359447">359447</a></li>
<li><a href="https://bugs.edge.launchpad.net/ubuntu/+source/kvm/+bug/394953">394953</a></li>
<li><a href="https://bugs.edge.launchpad.net/ubuntu/+source/kvm/+bug/382077">382077</a></li>
</ul>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=223&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/07/10/call-for-testing-kvm-in-jaunty-proposed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtualization Daily Upstream Builds</title>
		<link>http://dustinkirkland.wordpress.com/2009/07/07/virtualization-daily-upstream-builds/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/07/07/virtualization-daily-upstream-builds/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 21:43:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/07/07/virtualization-daily-upstream-builds</guid>
		<description><![CDATA[
At UDS Karmic, we discussed providing daily builds of pristine upstream projects.
Specifically, I implemented this for the key virtualization packages, per https://blueprints.launchpad.net/ubuntu/+spec/server-karmic-pristine-daily-virt-builds:

qemu
qemu-kvm
libvirt

Ubuntu users are often running some version of the project older than the current development branch, it&#8217;s more interesting to know if the user can reproduce the bug on the latest development sources.
I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=221&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://dustinkirkland.files.wordpress.com/2009/07/upstream.jpg"><img src="http://dustinkirkland.files.wordpress.com/2009/07/upstream.jpg?w=300" alt="" border="0" /></a></p>
<p>At UDS Karmic, we discussed providing daily builds of pristine upstream projects.</p>
<p>Specifically, I implemented this for the key virtualization packages, per <a href="https://blueprints.launchpad.net/ubuntu/+spec/server-karmic-pristine-daily-virt-builds">https://blueprints.launchpad.net/ubuntu/+spec/server-karmic-pristine-daily-virt-builds</a>:
<ul>
<li>qemu</li>
<li>qemu-kvm</li>
<li>libvirt</li>
</ul>
<p>Ubuntu users are often running some version of the project older than the current development branch, it&#8217;s more interesting to know if the user can reproduce the bug on the latest development sources.</p>
<p>I have constructed some automation that builds Debian/Ubuntu binaries for amd64, i386, and lpia platforms directly from your master git repositories every day at 11:00 UTC, and publishes them in a special, opt-in repository.  These daily builds also drop any specific patches we may be carrying, in order to minimize the delta between the binaries built and your upstream sources.</p>
<p>Additionally, this tool also has the ability to expose build breakages, and it has revealed several during the last few weeks as I have been developing it.
<div id=":24g" class="ii gt">If anyone has suggestions as to the utility of this resource, I would appreciate constructive feedback.</div>
<p>Cheers,<br /> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=221&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/07/07/virtualization-daily-upstream-builds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://dustinkirkland.files.wordpress.com/2009/07/upstream.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>QEMU in Launchpad</title>
		<link>http://dustinkirkland.wordpress.com/2009/06/25/qemu-in-launchpad/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/06/25/qemu-in-launchpad/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 19:01:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/06/25/qemu-in-launchpad</guid>
		<description><![CDATA[QEMU provides the userspace and device emulation required by KVM.  As such, it&#8217;s an extremely important project to Ubuntu&#8217;s virtualization and cloud computing efforts.
The upstream project has not had an actively maintained bug tracker for quite some time.
I recently helped QEMU&#8217;s maintainer, Anthony Liguori setup a Launchpad project for tracking QEMU&#8217;s bugs.  This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=219&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://dustinkirkland.files.wordpress.com/2009/06/qemu_192.png"><img src="http://dustinkirkland.files.wordpress.com/2009/06/qemu_192.png?w=192" alt="" border="0" /></a><br />QEMU provides the userspace and device emulation required by KVM.  As such, it&#8217;s an extremely important project to Ubuntu&#8217;s virtualization and cloud computing efforts.</p>
<p>The upstream project has not had an actively maintained bug tracker for quite some time.</p>
<p>I recently helped QEMU&#8217;s maintainer, Anthony Liguori setup a Launchpad project for tracking QEMU&#8217;s bugs.  This should be a good thing for the upstream QEMU project, as well as for tracking bugs in Ubuntu&#8217;s kvm and qemu packages.</p>
<p>See:<br /><a href="http://bugs.launchpad.net/qemu">http://bugs.launchpad.net/qemu</a></p>
<p>I have also set up <a href="https://code.launchpad.net/~qemu/qemu/git">a bzr mirror</a> of qemu&#8217;s <a href="http://git.savannah.gnu.org/cgit/qemu.git">git tree</a>, for people who are more bzr-inclined.</p>
<p>You can now:
<pre>bzr branch lp:qemu</pre>
<p>Also, you can use Loggerhead to browse QEMU&#8217;s source tree and revision history at:<br /><a href="http://bazaar.launchpad.net/~qemu/qemu/git/files">http://bazaar.launchpad.net/~qemu/qemu/git/files</a></p>
<p>Cheers,<br /> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=219&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/06/25/qemu-in-launchpad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://dustinkirkland.files.wordpress.com/2009/06/qemu_192.png?w=192" medium="image" />
	</item>
		<item>
		<title>KVM&#8217;s inside of Byobu</title>
		<link>http://dustinkirkland.wordpress.com/2009/06/25/kvms-inside-of-byobu/</link>
		<comments>http://dustinkirkland.wordpress.com/2009/06/25/kvms-inside-of-byobu/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 14:47:00 +0000</pubDate>
		<dc:creator>Dustin Kirkland</dc:creator>
				<category><![CDATA[Byobu]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu-Server]]></category>

		<guid isPermaLink="false">http://dustinkirkland.wordpress.com/2009/06/25/kvms-inside-of-byobu</guid>
		<description><![CDATA[Here&#8217;s a neat trick that I find phenomenally useful&#8230;
I like to run KVM virtual machines inside of Byobu, using KVM&#8217;s -curses option.  From QEMU&#8217;s manpage:
Normally, QEMU uses SDL to display the VGA output.  With this option, QEMU can display the VGA output when in text mode using a curses/ncurses interface.  Nothing is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=218&subd=dustinkirkland&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here&#8217;s a neat trick that I find phenomenally useful&#8230;</p>
<p>I like to run KVM virtual machines inside of Byobu, using KVM&#8217;s -curses option.  From <a href="http://manpages.ubuntu.com/manpages/jaunty/en/man1/qemu.1.html">QEMU&#8217;s manpage</a>:</p>
<p><i>Normally, QEMU uses SDL to display the VGA output.  With this option, QEMU can display the VGA output when in text mode using a curses/ncurses interface.  Nothing is displayed in graphical mode.</i></p>
<p>So this only works with non-graphical virtual machines, such as the Ubuntu Server.  But hey, that&#8217;s what I&#8217;m working on every day.  Here&#8217;s a quick demo screen cast.</p>
<p><span style="text-align:center; display: block;"><a href="http://dustinkirkland.wordpress.com/2009/06/25/kvms-inside-of-byobu/"><img src="http://img.youtube.com/vi/4rBF8byfyvo/2.jpg" alt="" /></a></span></p>
<p>Commands used in this video:
<ol>
<li>start <i>byobu</i></li>
<p>
<li>run <i>kvm -curses karmic-server.img</i> to launch one virtual machine</li>
<p>
<li>hit <i>F8</i> to rename this window <i>karmic</i></li>
<p>
<li>hit <i>F2</i> to open a new window</li>
<p>
<li>start a second virtual machine, and rename that window</li>
<p>
<li>hit <i>F3</i> or <i>F4</i> to move back and forth between windows</li>
<p>
<li>hit <i>F6</i> to detach</li>
<p>
<li>and <i>byobu -x</i> to re-attach</li>
<p></ol>
<p>The detach/reattach is really cool, as these virtual machines will continue running in the background.  Many people use this sort of method to background an irc client such as <i>irssi</i>, which allows it to serve as a persistently connected proxy.</p>
<p>Of course, virsh and virt-manager are the preferred methods to manage virtual machines in Ubuntu, but I find this useful for my development purposes.</p>
<p>Cheers,<br /> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ustin</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dustinkirkland.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dustinkirkland.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dustinkirkland.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dustinkirkland.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dustinkirkland.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dustinkirkland.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dustinkirkland.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dustinkirkland.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dustinkirkland.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dustinkirkland.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dustinkirkland.wordpress.com&blog=4241250&post=218&subd=dustinkirkland&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dustinkirkland.wordpress.com/2009/06/25/kvms-inside-of-byobu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/310e2abf9a2a8cdd4797449c1e04c1ba?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Dustin Kirkland</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/4rBF8byfyvo/2.jpg" medium="image" />
	</item>
	</channel>
</rss>