<?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>Kiran Murari</title>
	<atom:link href="http://kiranmurari.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kiranmurari.wordpress.com</link>
	<description>Open Thoughts</description>
	<lastBuildDate>Thu, 27 Oct 2011 13:45:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kiranmurari.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/39cc949a00cf94a8d7e2ea03ff423aee?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Kiran Murari</title>
		<link>http://kiranmurari.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kiranmurari.wordpress.com/osd.xml" title="Kiran Murari" />
	<atom:link rel='hub' href='http://kiranmurari.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Eucalyptus Beginner&#8217;s Guide &#8211; UEC Edition</title>
		<link>http://kiranmurari.wordpress.com/2010/05/10/eucalyptus-beginners-guide-uec-edition/</link>
		<comments>http://kiranmurari.wordpress.com/2010/05/10/eucalyptus-beginners-guide-uec-edition/#comments</comments>
		<pubDate>Mon, 10 May 2010 15:08:05 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[EBS]]></category>
		<category><![CDATA[Eucalyptus Book]]></category>
		<category><![CDATA[Eucalyptus Manual]]></category>
		<category><![CDATA[UEC Book]]></category>
		<category><![CDATA[UEC Manual]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=184</guid>
		<description><![CDATA[Table of Contents Introduction to UEC and its components Installation &#38; Configuration Web Interface Image Management Instance Management Storage Management Network Management Security Troubleshooting Euca Commands Hacks This is a live book and will be updated on an ongoing basis based on your feedback and comments. Filed under: Cloud Computing, EBS, Eucalyptus Book, Eucalyptus Manual, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=184&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Table of Contents</h3>
<ol>
<li><a href="http://wp.me/pT1iY-4X" target="_blank">Introduction to UEC and its components</a></li>
<li><a href="http://wp.me/pT1iY-57" target="_blank">Installation &amp; Configuration</a></li>
<li><a href="http://wp.me/pT1iY-5h" target="_blank">Web Interface</a></li>
<li><a href="http://wp.me/pT1iY-5q" target="_blank">Image Management</a></li>
<li><a href="http://wp.me/pT1iY-5w" target="_blank">Instance Management</a></li>
<li><a href="http://wp.me/pT1iY-5B" target="_blank">Storage Management</a></li>
<li><a href="http://wp.me/pT1iY-5G" target="_blank">Network Management</a></li>
<li><a href="http://wp.me/pT1iY-5L" target="_blank">Security</a></li>
<li><a href="http://wp.me/pT1iY-5P" target="_blank">Troubleshooting</a></li>
<li><a href="http://wp.me/pT1iY-5S" target="_blank">Euca Commands</a></li>
<li><a href="http://wp.me/pT1iY-9e" target="_blank">Hacks</a></li>
</ol>
<p>This is a live book and will be updated on an ongoing basis based on your feedback and comments.</p>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/ebs/'>EBS</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus-book/'>Eucalyptus Book</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus-manual/'>Eucalyptus Manual</a>, <a href='http://kiranmurari.wordpress.com/category/uec-book/'>UEC Book</a>, <a href='http://kiranmurari.wordpress.com/category/uec-manual/'>UEC Manual</a> Tagged: <a href='http://kiranmurari.wordpress.com/tag/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/tag/eucalyptus-book/'>Eucalyptus Book</a>, <a href='http://kiranmurari.wordpress.com/tag/eucalyptus-manual/'>Eucalyptus Manual</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-book/'>UEC Book</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-manual/'>UEC Manual</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=184&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/05/10/eucalyptus-beginners-guide-uec-edition/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC: Bundling Windows instances on Lucid Lynx</title>
		<link>http://kiranmurari.wordpress.com/2010/05/05/uec-bundling-windows-instances-on-lucid-lynx/</link>
		<comments>http://kiranmurari.wordpress.com/2010/05/05/uec-bundling-windows-instances-on-lucid-lynx/#comments</comments>
		<pubDate>Wed, 05 May 2010 14:11:37 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Eucalyptus Bundling]]></category>
		<category><![CDATA[Eucalyptus debugging]]></category>
		<category><![CDATA[Lucid UEC debugging]]></category>
		<category><![CDATA[UEC]]></category>
		<category><![CDATA[UEC on Lucid]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[UEC debugging]]></category>
		<category><![CDATA[UEC Lucid]]></category>
		<category><![CDATA[UEC on Ubuntu 10.04]]></category>
		<category><![CDATA[UEC Ubuntu]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=163</guid>
		<description><![CDATA[Bundling Windows instances on UEC setup on Lucid Lynx (Ubuntu 10.04) was not straight forward as it was with Karmic Koala (Ubuntu 9.10).  The steps for bundling, uploading and registering were the same as I mentioned here. The instance comes up nicely from pending to running state, acquires the public and private ip addresses. Lo!!! [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=163&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Bundling Windows instances on UEC setup on Lucid Lynx (Ubuntu 10.04) was not straight forward as it was with Karmic Koala (Ubuntu 9.10).  The steps for bundling, uploading and registering were the same as I mentioned <a href="http://kiranmurari.wordpress.com/2010/03/29/uec-bundling-windows-image/" target="_blank">here</a>. The instance comes up nicely from pending to running state, acquires the public and private ip addresses.</p>
<p>Lo!!! there ends the similarity&#8230;.</p>
<p>I wasn&#8217;t able to access the instance. No network connectivity&#8230;.. neither PING nor RDP works. And this was frustrating!!!</p>
<p>As mentioned in my earlier post about <a href="http://cssoss.wordpress.com/2010/05/04/ueceucalyptus-debugging-instances/" target="_blank">UEC/Eucalyptus &#8211; Debugging instances</a>, I tweaked the /usr/share/gen_kvm_libvirt_xml file on the Node Controller and added the VNC display option.</p>
<p>The outcome of this was surprising!!!!</p>
<h3 id="post-267"><a rel="bookmark" href="http://cssoss.wordpress.com/2010/05/05/uec-windows-instance-on-lucid-lynx-hack/">UEC: Windows instance on Lucid Lynx [HACK]</a></h3>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus-bundling/'>Eucalyptus Bundling</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus-debugging/'>Eucalyptus debugging</a>, <a href='http://kiranmurari.wordpress.com/category/lucid-uec-debugging/'>Lucid UEC debugging</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/category/uec-on-lucid-2/'>UEC on Lucid</a> Tagged: <a href='http://kiranmurari.wordpress.com/tag/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/tag/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/tag/lucid-lynx/'>Lucid Lynx</a>, <a href='http://kiranmurari.wordpress.com/tag/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-debugging/'>UEC debugging</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-lucid/'>UEC Lucid</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-on-lucid/'>UEC on Lucid</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-on-ubuntu-10-04/'>UEC on Ubuntu 10.04</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-ubuntu/'>UEC Ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=163&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/05/05/uec-bundling-windows-instances-on-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC/Eucalyptus – Debugging instances</title>
		<link>http://kiranmurari.wordpress.com/2010/05/04/uec-eucalyptus-debugging-instances/</link>
		<comments>http://kiranmurari.wordpress.com/2010/05/04/uec-eucalyptus-debugging-instances/#comments</comments>
		<pubDate>Tue, 04 May 2010 13:03:21 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[euca debug instances]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[Eucalyptus debugging]]></category>
		<category><![CDATA[Lucid UEC debugging]]></category>
		<category><![CDATA[UEC]]></category>
		<category><![CDATA[UEC on Lucid]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Ubuntu Lucid]]></category>
		<category><![CDATA[UEC debugging]]></category>
		<category><![CDATA[UEC Lucid]]></category>
		<category><![CDATA[UEC Ubuntu]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=159</guid>
		<description><![CDATA[I have had an issue with my MS-Windows 2003 server instance raised on one of the Node Controllers (NC) on my UEC setup on Lucid Lynx( Ubuntu 10.04 ). The instance came up moving from pending state to running state as expected and my hybrid fox showed public and private IPs. However, I was not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=159&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have had an issue with my MS-Windows 2003 server instance raised on one of the Node Controllers (NC) on my UEC setup on Lucid Lynx( Ubuntu 10.04 ). The instance came up moving from pending state to running state as expected and my hybrid fox showed public and private IPs. However, I was not able to ping or RDP into the instance. The Windows image was custom bundled and tried and tested on my Karmic UEC setup, so I was quite puzzled as to why I was unable to connect to the instance. I wished I had the luxury of connecting to the instance for troubleshooting using VNC, like I normally do when I start a VM on KVM or Xen. A little bit of probing of the Eucalyptus files on NC proved useful. Here is the hack that helped me attach a VNC display to the instance and ultimately I could identify and fix the actual problem.</p>
<p><strong>It is not safe to leave this option enabled on a production setup.</strong></p>
<h3><a href="http://cssoss.wordpress.com/2010/05/04/ueceucalyptus-debugging-instances/" target="_blank">Bringing up eucalyptus instance with VNC attached</a></h3>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/euca-debug-instances/'>euca debug instances</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus-debugging/'>Eucalyptus debugging</a>, <a href='http://kiranmurari.wordpress.com/category/lucid-uec-debugging/'>Lucid UEC debugging</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/category/uec-on-lucid-2/'>UEC on Lucid</a> Tagged: <a href='http://kiranmurari.wordpress.com/tag/cloud/'>Cloud</a>, <a href='http://kiranmurari.wordpress.com/tag/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/tag/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/tag/eucalyptus-debugging/'>Eucalyptus debugging</a>, <a href='http://kiranmurari.wordpress.com/tag/lucid-lynx/'>Lucid Lynx</a>, <a href='http://kiranmurari.wordpress.com/tag/ubuntu-lucid/'>Ubuntu Lucid</a>, <a href='http://kiranmurari.wordpress.com/tag/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-debugging/'>UEC debugging</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-lucid/'>UEC Lucid</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-ubuntu/'>UEC Ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=159&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/05/04/uec-eucalyptus-debugging-instances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC: Storage Management</title>
		<link>http://kiranmurari.wordpress.com/2010/04/27/uec-storage-management/</link>
		<comments>http://kiranmurari.wordpress.com/2010/04/27/uec-storage-management/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 13:59:28 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[EBS]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[Snapshots]]></category>
		<category><![CDATA[Storage Controller]]></category>
		<category><![CDATA[UEC]]></category>
		<category><![CDATA[Walrus]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=153</guid>
		<description><![CDATA[Storage Controller The Storage Controller is a block storage in Eucalyptus which is compatible with Amazon&#8217;s Elastic Block Store. euca2ools or EC2 commands can be used to control these volumes. Below we specify on using euca2ools commands for volume creation, attaching a volume to a running instance and how-to use the attached volume in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=153&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Storage Controller</h2>
<p>The Storage Controller is a block storage in Eucalyptus which is compatible with Amazon&#8217;s Elastic Block Store. euca2ools or EC2 commands can be used to control these volumes. Below we specify on using euca2ools commands for volume creation, attaching a volume to a running instance and how-to use the attached volume in the instance.</p>
<h3>Interacting with Storage Controller</h3>
<h4>Linux Instances</h4>
<p>First create a volume of the required size using euca-create-volume</p>
<p><pre class="brush: plain;">
$ euca-create-volume -s 10 -z mycloud
VOLUME  vol-333C04B8    10       creating        2010-03-26T05:20:56.383Z
</pre></p>
<p>Check the available volumes and their status with euca-describe-volumes</p>
<p><pre class="brush: plain;">
$ euca-describe-volumes
VOLUME  vol-333C04B8    10   mycloud   &lt;strong&gt;available&lt;/strong&gt; 2010-03-26T05:20:56.383Z
</pre></p>
<p>Now attach the volume to a running instance using euca-attach-volume</p>
<p><pre class="brush: plain;">
$ euca-attach-volume -i i-41620887 -d /dev/sdb vol-333C04B8
</pre></p>
<p>The volumes status changes from “available” to “in-use” if it is attached properly.</p>
<p><pre class="brush: plain;">
$ euca-describe-volumes
VOLUME  vol-333C04B8    10  mycloud &lt;strong&gt;in-use&lt;/strong&gt;  2010-03-26T05:41:28.019Z
ATTACHMENT      vol-331F04B2    i-41620887      unknown,requested:/dev/sdb  2010-03-26T05:43:51.343Z
</pre></p>
<p><span id="more-153"></span>Once you login to the instance through ssh, you should see the new volume.</p>
<p><pre class="brush: plain;">
$ sudo fdisk -l
Disk /dev/sda: 2195 MB, 2195718144 bytes
4 heads, 32 sectors/track, 33504 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Disk identifier: 0x000adc1c
Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       32769     2097152+  83  Linux
/dev/sda3           32769       33504       47071   82  Linux swap / Solaris
Disk /dev/sdb: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
</pre></p>
<p>Now /dev/sdb is ready to be formatted and mounted so that it can be used as a permanent storage. Unmount the volume before bringing down the instance, to avoid any data corruption.</p>
<h4>Windows Instances</h4>
<p>For windows instances, creating the volume and attaching the volume would be the same.</p>
<p style="padding-left:30px;">NOTE: Even while attaching to windows instances, the device has to be specified as /dev/sdb.</p>
<p>The only change is the way this disk is accessed. Once the disk is attached to a running windows instance, perform the following steps:</p>
<ul>
<li>Connect to windows instance via RDP.</li>
<li>Go to Start -&gt; Run and type diskmgmt.msc without the quotes. Select OK. This opens the Disk Management console.</li>
<li>Right click on the new disk at the bottom of the list and choose Initialize Disk.</li>
<li>A pop up will appear, choose OK.</li>
<li>Next right click on the volume and select New Partition.</li>
<li>A wizard appears and accept the defaults, other than change the disk letter as per need.</li>
<li>Finish up the wizard, and windows will now format the partition.</li>
</ul>
<p>After completion the disk management tool shows a healthy partition on the new drive.</p>
<p>To detach a volume from an instance use euca-detach-command command:</p>
<p><pre class="brush: plain;">
$ euca-detach-volume vol-333C04B8
</pre></p>
<p>Note that the volume has to unmounted before detaching it from the instance. Volume can be deleted using euca-delete-volume command:</p>
<p><pre class="brush: plain;">
$ euca-delete-volume vol-333C04B8
</pre></p>
<h2>WS3 Storage Controller</h2>
<p>Walrus is a storage service in Eucalyptus which is compatible with Amazon&#8217;s S3. Using Walrus users can store persistent data, which is organized as buckets and objects. WS3 is a file level storage system, as compared to the block level storage system of Storage Controller.</p>
<p>See Amazon&#8217;s S3 Getting Started Guide for more information http://docs.amazonwebservices.com/AmazonS3/2006-03-01/gsg/.</p>
<p>Walrus Controller options can be modified from the Web UI, on the &#8220;Configuration&#8221; page under &#8220;Walrus Configuration&#8221; section.</p>
<h3>Third party tools for interacting with Walrus</h3>
<ul>
<li>s3curl S3 Curl is a command line tool that is a wrapper around curl. http://open.eucalyptus.com/wiki/s3curl</li>
<li>s3cmd is a tool that allows command line access to storage that supports the S3 API. http://open.eucalyptus.com/wiki/s3cmd</li>
<li>s3fs is a tool that allows users to access S3 buckets as local directories. http://open.eucalyptus.com/wiki/s3fs</li>
</ul>
<p style="padding-left:30px;">DISCLAIMER: I haven&#8217;t yet used any of the above tools to interact with Walrus Storage, so can&#8217;t authenticate how well they gel with Walrus Controller. Need to check the tools.</p>
<h2>Snapshots</h2>
<p>The volumes that have been created on the Block Storage can be used to create point-in-time snapshots of volumes, which are stored on WS3. These snapshots can be used as the starting point for new Block Storage volumes and protect data for long-term durability. The same snapshot can be used to create many volumes as per requirement.</p>
<p>Snapshots can be created by using euca-create-snapshot command:</p>
<p><pre class="brush: plain;">
$ euca-create-snapshot vol-333C04B8
</pre></p>
<p>euca-describe-snapshots lists the available snapshots.</p>
<p><pre class="brush: plain;">
$ euca-describe-snapshots
SNAPSHOT        snap-32A804A2   vol-333C04B8    &lt;strong&gt;completed&lt;/strong&gt;       2010-04-15T13:48:32.01Z      100%
</pre></p>
<p>Volumes from these snapshots can be created by using the snapshot id.</p>
<p><pre class="brush: plain;">
$ euca-create-volume -s 10 --snapshot snap-32A804A2 --zone mycloud
</pre></p>
<p>Please note that the volume can only be created after the snapshot status is reflected as &#8220;completed&#8221; as shown by euca-describe-snapshots command. Similarly, snapshots from a volume can only be created after the volume status is &#8220;created&#8221;, but not when it is &#8220;creating&#8221;. The volume status is obtained from euca-describe-volumes command.</p>
<p>To delete a snapshot:</p>
<p><pre class="brush: plain;">
$ euca-delete-snapshot snap-32A804A2
</pre></p>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/ebs/'>EBS</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/category/snapshots/'>Snapshots</a>, <a href='http://kiranmurari.wordpress.com/category/storage-controller/'>Storage Controller</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/category/walrus-2/'>Walrus</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=153&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/04/27/uec-storage-management/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC installation on Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://kiranmurari.wordpress.com/2010/04/21/uec-installation-on-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://kiranmurari.wordpress.com/2010/04/21/uec-installation-on-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 14:39:59 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[UEC]]></category>
		<category><![CDATA[UEC Installation]]></category>
		<category><![CDATA[UEC on Lucid]]></category>
		<category><![CDATA[UEC on Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=146</guid>
		<description><![CDATA[Tested on Ubuntu 10.04 beta2 Tested and deployed on Ubuntu 10.04 final release Installation The following sections describe how to install and configure a basic UEC setup spanning 3 servers. 2 Servers(Server1 and Server2) will run Lucid 64-bit server version and server will run Lucid Desktop 64-bit version(Client1). We have decided on installing the Desktop [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=146&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:line-through;">Tested on Ubuntu 10.04 beta2</span> Tested and deployed on Ubuntu 10.04 final release<span style="text-decoration:line-through;"><br />
</span></p>
<h2>Installation</h2>
<p>The following sections describe how to install and configure a basic UEC setup spanning 3 servers. 2 Servers(Server1 and Server2) will run Lucid 64-bit server version and server will run Lucid Desktop 64-bit version(Client1). We have decided on installing the Desktop version on Client1 so that we can use Firefox or other browsers to access the web interface of UEC and also to use RDP/VNC clients during the image creation process.</p>
<p>Server1 &#8211; To run Cloud Controller, Cluster Controller, Walrus Storage service and Storage Controller</p>
<pre>Hardware       Minimum            Suggested
CPU            1GHz               2 x 2GHz
Memory         1GB                2GB
Disk           5400rpm IDE        7200rpm SATA
Disk Space     40GB               200GB
Networking     100Mbps            1000Mbps</pre>
<p>Server2 &#8211; To run node-controller for running Virtual Machine (VM) instances</p>
<pre>Hardware       Minimum            Suggested
CPU            VT extensions      VT, 64-bit, Multicore
Memory         1GB                4GB
Disk           5400rpm IDE        7200rpm SATA or SCSI
Disk Space     40GB               100GB
Networking     100Mbps            1000Mbps</pre>
<p>Client1 &#8211; To function as the client for the cloud and also to be used for bundling images etc.</p>
<pre>Hardware       Minimum            Suggested
CPU            VT extensions      VT, 64-bit, Multicore
Memory         1GB                4GB
Disk           5400rpm IDE        7200rpm SATA or SCSI
Disk Space     40GB               100GB
Networking     100Mbps            1000Mbps</pre>
<address><span id="more-146"></span>Note:</address>
<address>UEC installation is very similar to the installation of Ubuntu Server, the only difference is the additional configuration screens for the UEC components. The following instructions only cover the UEC specific options as they assume that you are familiar with the installation of Ubuntu server.</address>
<p>For ease of understanding, the instructions here assume the following sample setup. Please make necessary modifications to suit your setup.</p>
<ul>
<li>Server1 has 2 NICs. eth0 is connected to the enterprise network and eth1 is connected to a dedicated switch to be used for connecting various components of the UEC.</li>
<li>Server1 will have the following IP addresses:  eth0 &#8211; 192.168.10.121 (To be setup during the installation process)  eth1 &#8211; 192.168.20.1 (To be setup after the first reboot after installation)</li>
<li>Server1 has the hostname server1.example.com</li>
<li>Server2 has 2 NICs, eth0 is connected to the dedicated switch mentioned above and eth1 is connected to the enterprise network to have internet connectivity during the install process. This interface can later be deactivated.</li>
<li>Server2 will have the following IP address: eth0 &#8211; 192.168.20.2 (To be setup during the installation process) eth1 &#8211; 192.168.10.122 (To be setup after the first reboot after installation)</li>
<li>Server2 has the hostname server2.example.com</li>
<li>Client1 has the hostname client1.example.com</li>
<li>Server1 is a 64-bit server and Server2 is a 64-bit VT-enabled server.</li>
<li>The enterprise network runs on a class &#8216;C&#8217; private network &#8211; 192.168.10.0/255.255.255.0</li>
<li>Name servers of the enterprise &#8211; 192.168.10.2 and 192.168.10.3</li>
<li>The following IP addresses are allocated for the cloud instances as public IP addresses( from the enterprise nework range used) 192.168.10.200-192.168.10.220</li>
<li>The UEC components will use a dedicated class &#8216;C&#8217; private network for their interconnections &#8211; 192.168.20.0/255.255.255.0</li>
<li>Cluster Name &#8211; &#8220;myueccluster&#8221;</li>
<li>The first user name created on Server1, Server2 and Client1 is &#8220;uecadmin&#8221; and we perform all the operations while logged in as &#8220;uecadmin&#8221;</li>
</ul>
<h2>Server1</h2>
<h3>Installation</h3>
<ul>
<li>Boot the server off the Ubuntu Server 10.04 CD. At the graphical boot menu, select “Install Ubuntu Enterprise Cloud” and proceed with the basic installation steps.</li>
<li>Installation only lets you set up the IP address details for one interface. Please do that for eth0.</li>
<li>You will need to choose certain configuration options for your UEC, during the course of the install:</li>
</ul>
<ol>
<li>Cloud Controller Address &#8211; Leave this blank as server1 is the Cloud Controller in this setup.</li>
<li>Cloud Installation Mode &#8211; Select &#8216;Cloud controller&#8217;, &#8216;Walrus storage service&#8217;, &#8216;Cluster controller&#8217; and &#8216;Storage controller&#8217;.</li>
<li>Network interface for communication with nodes &#8211; eth1</li>
<li>Eucalyptus cluster name &#8211; myueccluster</li>
<li>Eucalyptus IP range &#8211; 192.168.10.200-192.168.10.220</li>
</ol>
<h3>Post Install Steps &amp; Configuration</h3>
<ul>
<li>Set up static IP for the second network interface eth1 by adding the following to /etc/network/interfaces</li>
</ul>
<pre>auto eth1
iface eth1 inet static
address 192.168.20.1
netmask  255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255</pre>
<ul>
<li>After making the above changes, run the following command to restart the networking.</li>
</ul>
<pre>uecadmin@server1:~$sudo /etc/init.d/networking restart</pre>
<ul>
<li>Make sure that you have the latest version of EUCALYPTUS.</li>
</ul>
<pre>uecadmin@server1:~$sudo apt-get update
uecadmin@server1:~$sudo apt-get upgrade eucalyptus</pre>
<ul>
<li>Install the NTP package, this machine is going to act as an NTP server for the nodes. The time on all components of UEC will have to be in sync. Since CLC is connected to Internet, we can run ntp server on it and have other components sync to it.</li>
</ul>
<pre>uecadmin@server1:~$sudo apt-get install ntp</pre>
<ul>
<li>Open the file /etc/ntp.conf and add the following two lines to make sure the server serves time even when its connectivity to the Internet is down. The following settings makes sure that the ntp server uses its own clock as the clock source.</li>
</ul>
<pre>server 127.127.1.0
fudge  127.127.1.0 stratum 10</pre>
<ul>
<li>Restart ntp service to make the changes effective.</li>
</ul>
<pre>uecadmin@server1:~$sudo /etc/init.d/ntp restart</pre>
<ul>
<li>Save the changes and restart CC.</li>
</ul>
<pre>uecadmin@server1:~$sudo start eucalyptus-cc CLEAN=1</pre>
<h2>Server2</h2>
<h3>Installation</h3>
<ul>
<li>Boot the server off the Ubuntu Server 10.04 CD. At the graphical boot menu, select “Install Ubuntu Enterprise Cloud” and proceed with the basic installation steps.</li>
<li>Installation only lets you set up the IP address details for one interface. Please do that for eth0.</li>
<li>You will need to choose certain configuration options for your UEC, during the course of the install. You can ignore all the settings, except the following:</li>
</ul>
<ol>
<li>Cloud Controller Address &#8211; 192.168.20.1</li>
<li>Cloud Installation Mode &#8211; Select &#8216;Node Controller&#8217;</li>
</ol>
<h3>Post Install Steps &amp; Configuration</h3>
<ul>
<li>Set up static IP for the second network interface eth1 by adding the following to /etc/network/interfaces</li>
</ul>
<pre>auto eth1
iface eth1 inet static
address 192.168.10.122
netmask  255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255</pre>
<ul>
<li>After making the above changes, run the following command to restart the networking.</li>
</ul>
<pre>uecadmin@server2:~$sudo /etc/init.d/networking restart</pre>
<ul>
<li>Add your DNS server details to /etc/resolv.conf</li>
</ul>
<pre>nameserver 192.168.10.2
nameserver 192.168.10.3</pre>
<ul>
<li>Make sure that you have the latest version of EUCALYPTUS.</li>
</ul>
<pre>uecadmin@server2:~$sudo apt-get update
uecadmin@server2:~$sudo apt-get upgrade eucalyptus</pre>
<ul>
<li>Install the NTP package to synchronize with the NTP server</li>
</ul>
<pre>uecadmin@server2:~$sudo apt-get install ntp</pre>
<ul>
<li>Open the file /etc/ntp.conf and add the line</li>
</ul>
<pre>server 192.168.20.1</pre>
<ul>
<li>Restart ntp service to make the changes effective.</li>
</ul>
<pre>uecadmin@server2:~$sudo /etc/init.d/ntp restart</pre>
<ul>
<li>Open the file /etc/eucalyptus/eucalyptus.conf and make the following changes</li>
</ul>
<pre>VNET_PUBINTERFACE="br0"
VNET_PRIVINTERFACE="br0"
VNET_BRIDGE="br0"
VNET_DHCPDAEMON="/usr/sbin/dhcpd3"
VNET_DHCPUSER="dhcpd"
VNET_MODE="MANAGED-NOVLAN"</pre>
<ul>
<li>After making the above changes, run the following commands</li>
</ul>
<pre>uecadmin@server2:~$sudo restart eucalyptus-nc-publication
uecadmin@server2:~$sudo restart eucalyptus-nc
</pre>
<h2>Install CC&#8217;s ssh public key to NC</h2>
<p>Next we need to install the Cluster Controller&#8217;s eucalyptus user&#8217;s public ssh key into the Node Controller&#8217;s eucalyptus user&#8217;s authorized_keys file.</p>
<ul>
<li>On the Node Controller, temporarily set a password for the eucalyptus user:</li>
</ul>
<pre>uecadmin@server2:~$sudo passwd eucalyptus</pre>
<ul>
<li>On the Cluster Controller:</li>
</ul>
<pre>uecadmin@server2:~$sudo -u eucalyptus ssh-copy-id -i ~eucalyptus/.ssh/id_rsa.pub eucalyptus@192.168.20.2</pre>
<ul>
<li>You can now remove the password of the eucalyptus account on the Node:</li>
</ul>
<pre>uecadmin@server2:~$sudo passwd -d eucalyptus</pre>
<h2>Client1</h2>
<p>The purpose of Client1 machine is to interact with the Cloud setup, for bundling and registering new Eucalyptus Machine Image (EMI)</p>
<h3>Installation</h3>
<ul>
<li>Boot the Desktop off the Ubuntu Desktop 10.04 CD and install. The Desktop would be on the enterprise network and obtaining an IP addresses through DHCP.</li>
<li>Install KVM to help us install images on KVM platform and bundle them.</li>
</ul>
<pre>uecadmin@client1:~$apt-get install qemu-kvm</pre>
<h3>Post Install Configuration</h3>
<ul>
<li>Install euca2ools to be able to manage the cloud from it.</li>
</ul>
<pre>uecadmin@client1:~$sudo apt-get install euca2ools</pre>
<ul>
<li>Login to the web interface of CLC by using the following link https://192.168.10.121:8443. Username is admin and password is admin.</li>
</ul>
<ul>
<li>Note that the installation of UEC installs a self signed certificate for the web server. The browser will warn you about the certificate not being signed by a trusted certifying authority. You can authorize the browser to access the server with the self signed certificate. Installing a valid certificate signed by a trusted certifying authorities is beyond the scope of this guide.</li>
</ul>
<ul>
<li>When you login for the first time, the web interface prompts you to change the password and provide the email ID of the admin. After completing this mandatory step, download the credentials archive from https://192.168.10.121:8443/#credentials and save to new location in ~/.euca directory.</li>
<li>Extract the credentials archive.</li>
</ul>
<pre>cd .euca
unzip mycreds.zip</pre>
<ul>
<li>To validate that the euca2ools are able to communicate with the UEC, get the local cluster availability details. Source eucarc script to make sure that the environmental variables used by euca2ools are set properly.</li>
</ul>
<pre>$ . ~/.euca/eucarc
$ euca-describe-availability-zones verbose</pre>
<p>You should see something like the following if it works properly:</p>
<pre>$ euca-describe-availability-zones verbose
AVAILABILITYZONE        myueccluster    192.168.10.121
AVAILABILITYZONE        |- vm types     free / max   cpu   ram  disk
AVAILABILITYZONE        |- m1.small     0016 / 0016   1    128     2
AVAILABILITYZONE        |- c1.medium    0014 / 0014   1    256     5
AVAILABILITYZONE        |- m1.large     0007 / 0007   2    512    10
AVAILABILITYZONE        |- m1.xlarge    0003 / 0003   2   1024    20
AVAILABILITYZONE        |- c1.xlarge    0001 / 0001   4   2048    20</pre>
<p>If you see the free/max VCPUs as 0 in the above list, it means the node did not get registered automatically. Please use the following on Server1 and approve when prompted to add 192.168.20.2 as the Node Controller.</p>
<pre>uecadmin@client1:~$sudo euca_conf --discover-nodes</pre>
<p>Please see the following posts on how to bundle Linux and Windows images:</p>
<ul>
<li><a href="http://kiranmurari.wordpress.com/2010/03/23/bundling-linux-image-for-uec/" target="_blank">UEC: Bundling Linux Image</a></li>
<li><a href="http://kiranmurari.wordpress.com/2010/03/29/uec-bundling-windows-image" target="_blank">UEC: Bundling Windows Image</a></li>
</ul>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a> Tagged: <a href='http://kiranmurari.wordpress.com/tag/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/tag/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-installation/'>UEC Installation</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-on-lucid/'>UEC on Lucid</a>, <a href='http://kiranmurari.wordpress.com/tag/uec-on-ubuntu-10-04/'>UEC on Ubuntu 10.04</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=146&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/04/21/uec-installation-on-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction to UEC and its components</title>
		<link>http://kiranmurari.wordpress.com/2010/04/19/introduction-to-uec-and-its-components/</link>
		<comments>http://kiranmurari.wordpress.com/2010/04/19/introduction-to-uec-and-its-components/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 12:51:00 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[UEC]]></category>
		<category><![CDATA[UEC Components]]></category>
		<category><![CDATA[CC]]></category>
		<category><![CDATA[CLC]]></category>
		<category><![CDATA[NC]]></category>
		<category><![CDATA[SC]]></category>
		<category><![CDATA[Walrus]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=137</guid>
		<description><![CDATA[Cloud Cloud Computing is a computing model, where resources such as computing power, storage, network and software are abstracted and provided as services on the Internet in a remotely accessible fashion. Billing models for these services are generally similar to the ones adopted for public utilities. On-demand availability, ease of provisioning, dynamic and virtually infinite [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=137&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Cloud</h2>
<p>Cloud Computing is a computing model, where resources such as computing power, storage, network and software are abstracted and provided as services on the Internet in a remotely accessible fashion. Billing models for these services are generally similar to the ones adopted for public utilities. On-demand availability, ease of provisioning, dynamic and virtually infinite scalability are some of the key attributes of Cloud Computing.</p>
<p>An infrastructure setup using the cloud computing model is generally referred to as ‘Cloud’. The following are the broad categories of services available on the ‘Cloud’:</p>
<ol>
<li>Infrastructure As A Services (IAAS)</li>
<li>Platform As A Service (PAAS)</li>
<li>Software As A Service (SAAS)</li>
</ol>
<p>This ‘Cloud’ is generally available to anyone on the Internet willing to pay. However, a variant called ‘Private Cloud’ is increasingly becoming popular for private infrastructure that has some of the attributes of the ‘Cloud’ as mentioned above.</p>
<h2>Eucalyptus</h2>
<p>Eucalyptus is a software available under GPL that helps in creating and managing a private or even a publicly accessible cloud. It provides an EC2 compatible cloud computing platform and S3 compatible cloud storage platform. Eucalyptus has become very popular and is seen as one of the key open source cloud platforms. Since Eucalyptus makes its services available through EC2/S3 compatible APIs, the client tools written for AWS can be used with Eucalyptus as well.</p>
<p><span id="more-137"></span></p>
<h2>Ubuntu Enterprise Cloud (UEC)</h2>
<p>Ubuntu Enterprise Cloud, UEC for short, is a stack of applications from Canonical included with Ubuntu Server Edition. UEC includes Eucalyptus along with a number of other open source software. UEC makes it very easy to install and configure the Cloud. Canonical also provides commercial technical support for UEC.</p>
<h2>UEC Components</h2>
<ol>
<li>Node Controller (NC)</li>
<li>Cluster Controller (CC)</li>
<li>Walrus Controller (WS3)</li>
<li>Storage Controller (SC)</li>
<li>Cloud Controller (CLC)</li>
</ol>
<h2>Node Controller (NC)</h2>
<p>A UEC node is a VT enabled server capable of running KVM as the hypervisor. UEC automatically installs KVM when the user chooses to install the UEC node. The VMs running on the hypervisor and controlled by UEC are called instances.</p>
<p>Node Controller runs on each node and controls the life cycle of instances running on the node. The NC interacts with the OS and hypervisor running on the node on one side and the CC on the other side.</p>
<p>NC queries the Operating System running on the node to discover the node’s physical resources – the number of cores, the size of memory, the available disk space and also to learn about the state of VM instances running on the node and propagates this data up to the CC.</p>
<p>Functions:</p>
<ol>
<li>Collection of data related to the resource availability and utilization on the Node and reporting the data to CC.</li>
<li>Instance life cycle management.</li>
</ol>
<h2>Cluster Controller (CC)</h2>
<p>CC manages certain number of Node Controllers and deploys instances using them. CC also manages the networking for the instances running on the Nodes under certain types of networking modes of Eucalyptus. More on this in later chapters.</p>
<p>CC communicates with CLC on one side and NCs on the other side.</p>
<p>Functions:</p>
<ol>
<li>To receive requests from CLC to deploy instances.</li>
<li>To decide which NCs to use for deploying the instances on.</li>
<li>To control the virtual network available to the instances.</li>
<li>To collect information about the NCs registered with it and report it to the CLC.</li>
</ol>
<h2>Walrus Storage Controller (WS3)</h2>
<p>WS3 provides a simple storage service using REST and SOAP APIs compatible with S3 APIs from Amazon Web Services.</p>
<p>Functions:</p>
<ol>
<li>Storing the the machine images.</li>
<li>Storing snapshots.</li>
<li>Storing and serving files (either from a running instance or from anywhere on the web) using S3 API</li>
</ol>
<p>WS3 should be considered as a simple file storage system.</p>
<h2>Storage Controller (SC)</h2>
<p>SC provides persistent block storage for use by the instances. This is similar to the EBS service from AWS.</p>
<p>SC runs on the same machine as the Cluster Controller and is configured automatically when the Cluster Controller is installed.</p>
<p>Functions:</p>
<ol>
<li>Creation of persistent Elastic Block Storage (EBS) devices.</li>
<li>Providing the block storage over AoE or iSCSI protocol to the instances.</li>
<li>Allowing creation of snapshots of volumes.</li>
</ol>
<h2>Cloud Controller (CLC)</h2>
<p>The Cloud Controller (CLC) is the front end to the entire cloud infrastrcuture. CLC provides an EC2/S3 compliant web services interface to the client tools on one side and interacts with the rest of the components of the Eucalyptus infrastructure on the other side. CLC also provides a web interface to the users for managing certain aspects of the UEC infrastructure.</p>
<p>Functions:</p>
<ol>
<li>Monitor the availability of resources on various components of the cloud infrastructure, including hypervisor nodes that are used to actually provision the instances and the cluster controllers that manage the hypervisor nodes.</li>
<li>Resource arbitration – Decide which clusters will be used for provisioning the instances.</li>
<li>Monitoring the running instances.</li>
</ol>
<p>In short, CLC has a comprehensive knowledge of the availability and usage of resources in the cloud and the state of the cloud.</p>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/category/uec-components/'>UEC Components</a> Tagged: <a href='http://kiranmurari.wordpress.com/tag/cc/'>CC</a>, <a href='http://kiranmurari.wordpress.com/tag/clc/'>CLC</a>, <a href='http://kiranmurari.wordpress.com/tag/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/tag/nc/'>NC</a>, <a href='http://kiranmurari.wordpress.com/tag/sc/'>SC</a>, <a href='http://kiranmurari.wordpress.com/tag/uec/'>UEC</a>, <a href='http://kiranmurari.wordpress.com/tag/walrus/'>Walrus</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=137&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/04/19/introduction-to-uec-and-its-components/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC: Log Files</title>
		<link>http://kiranmurari.wordpress.com/2010/04/08/uec-log-files/</link>
		<comments>http://kiranmurari.wordpress.com/2010/04/08/uec-log-files/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 06:56:07 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Logging]]></category>
		<category><![CDATA[UEC]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=110</guid>
		<description><![CDATA[The following log files would be of interest for debugging errors encountered while working with UEC. On CC axis2c.log &#8211; This file logs messages specific to Axis2c web services. cc.log &#8211; This file logs messages specific to Cluster controller. cc-registration.log &#8211; This file logs the success or failure of Cluster Controller registration. For example, SUCCESS: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=110&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following log files would be of interest for debugging errors encountered while working with UEC.</p>
<h3 id="On-CC">On CC</h3>
<p>axis2c.log &#8211; This file logs messages specific to Axis2c web services.</p>
<p>cc.log &#8211; This file logs messages specific to Cluster controller.</p>
<p>cc-registration.log &#8211; This file logs the success or failure of Cluster Controller registration. For example,</p>
<pre>SUCCESS: new cluster 'mycloud' on host '192.168.1.1' successfully registered.
</pre>
<p>cloud-debug.log, cloud-error.log, cloud-output.log &#8211; These files log messages specific to Cloud Controller.</p>
<p><span id="more-110"></span>sc-registration.log &#8211; This file logs the success or failure of Storage Controller registration. For example,</p>
<pre>SUCCESS: new SC for cluster 'mycloud' on host '192.168.1.1' successfully registered.
Adding SC 192.168.1.1 to cluster mycloud
</pre>
<p>sc-stats.log &#8211; This file logs statistics specific to Storage Controller.</p>
<p>walrus-registration.log &#8211; This file logs the success or failure of Walrus Storage Controller registration. For example,</p>
<pre>SUCCESS: new walrus on host '192.168.1.1' successfully registered.
Adding WALRUS host 192.168.1.1</pre>
<p>walrus-stats.log &#8211; This file logs statistics specific to Walrus Storage Controller.</p>
<p id="httpd-cc_error_log">httpd-cc_error_log</p>
<h4 id="On-NC">On NC</h4>
<p>axis2c.log &#8211; This file logs messages specific to Axis2c web services.</p>
<p>nc.log &#8211; This file logs messages specific to Node controller.</p>
<p id="euca_test_nclogbr-httpd-nc_error_log">euca_test_nc.log<br />
httpd-nc_error_log</p>
<p>The logging level of these files is controlled by the <strong>LOGLEVEL</strong> macro in eucalyptus.conf. This macro controls the level of logging output that appears in various eucalyptus log files. The options are DEBUG, INFO, WARN, ERROR, and FATAL (in descending order of verbosity). The default is DEBUG (everything).</p>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/logging/'>Logging</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=110&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/04/08/uec-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC: Bundling Windows Image</title>
		<link>http://kiranmurari.wordpress.com/2010/03/29/uec-bundling-windows-image/</link>
		<comments>http://kiranmurari.wordpress.com/2010/03/29/uec-bundling-windows-image/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 04:16:45 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[euca-bundle-images]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[Eucalyptus Bundling]]></category>
		<category><![CDATA[UEC]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=73</guid>
		<description><![CDATA[Creating new disk image This will be the main HDD in the virtual image, so make sure to give it as much space as you’ll need. Since we’re building a kvm image, we can use a qcow2 format for disk images. Qcow2 is an expandable image format, so it’ll only take as much storage space [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=73&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Creating new disk image</h2>
<p>This will be the main HDD in the virtual image, so make sure to give it as much space as you’ll need. Since we’re building a kvm image, we can use a qcow2 format for disk images. Qcow2 is an expandable image format, so it’ll only take as much storage space as it’s actually used within the image.</p>
<pre>$ kvm-img create -f qcow2 win-2k3.img 20G</pre>
<h2>OS Installation</h2>
<p>Get the iso file of the Windows distribution to be installed in the image. And start the installation process.</p>
<pre>$sudo kvm -m 1024 -cdrom Win2003_cd1.iso -drive file=win-2k3.img,if=scsi,boot=on -nographic -vnc :0</pre>
<p>After finishing the installation and in case the installation needs 2nd CD as well, reboot the VM and launch the VM by the following command.</p>
<pre>$ sudo kvm -m 1024 -boot c -cdrom Win2003_cd2.iso -drive file=win-2k3.img,if=scsi,boot=on -nographic -vnc :0</pre>
<p>Once installation is complete, create the boot disk needed for Windows 2003 server.<span id="more-73"></span></p>
<h2>Copying the boot files</h2>
<p>Re-launch the VM using the following command, so that the first CD can be accessed in order to copy some files from it.</p>
<pre>$ sudo kvm -m 1024 -boot c -cdrom Win2003_cd1.iso -drive file=win-2k3.img,if=scsi,boot=on -nographic -vnc :0</pre>
<p>Copy ntldr, ntdetect.com and sym_hi.sys files from CD1, to a specific location to create the boot disk, say C:\bootfiles</p>
<p>Rename sym_hi.sys to Ntbootdd.sys (this is the SCSI driver needed to boot the hard disk). In case, sym_hi.sys is not present in the CD, copy it from the following location of the installation</p>
<pre>C:\WINDOWS\system32\drivers</pre>
<p>Write the following lines to a new file and save it as Boot.ini in the same location, i.e, C:\bootfiles</p>
<pre>[boot loader]
timeout=30
Default= multi(0)disk(0)rdisk(0)partition(1)\Windows

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003"</pre>
<p>Shut down the VM and proceed for the boot disk creation.</p>
<h2>Boot disk creation</h2>
<p>On CC, execute the following command to create the boot disk.</p>
<pre>$ dd bs=512 count=2880 if=/dev/zero of=win-boot.img</pre>
<p>Now attach this disk as a floppy disk and start the Windows VM.</p>
<pre>$ sudo kvm -m 1024 -boot c -drive file=win-2k3.img,if=scsi,boot=on,index=1 -fda win-boot.img -nographic -vnc :0</pre>
<p>On the Windows VM, format the floppy disk and copy all the files from C:\bootfiles to the floppy.<br />
Shutdown the VM and test the boot disk created with the following command</p>
<pre>$ sudo kvm -m 1024 -boot a -drive file=win-2k3.img,if=scsi,boot=on,index=1 -fda win-boot.img -nographic -vnc :0</pre>
<p>This should boot into windows, if the boot floppy is properly created.</p>
<h2>Network Configuration</h2>
<p>Now download the e1000 drivers, since e1000 is the default interface that is supported by Eucalyptus. Download the drivers from the following location:<br />
<a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&amp;DwnldId=8659&amp;lang=ENG" target="_blank">e1000 Drivers Download</a></p>
<pre>For 32-bit VM, download PRO2KXP.exe
For 64-bit VM, download PROEM64T .exe</pre>
<p>Once the download is finished, shutdown the VM and restart the VM with the following command.</p>
<pre>$ sudo kvm -m 1024 -boot a -drive file=win-2k3.img,if=scsi,boot=on,index=1 -fda win-boot.img -net nic,model=e1000 -net tap-nographic -vnc :0</pre>
<p>The above command tell the VM to make use of e1000 model as its NIC. After executing the above command, the following warning is seen on the console which can be ignored.</p>
<pre>Warning: vlan 0 is not connected to host network</pre>
<p>Once the VM boots, install the network drivers.</p>
<p>Enable remote desktop for all users on the VM. This is needed, as this is the only way, without installing third party tools, Windows machines can be accessed remotely. Enable remote desktop by navigating to Start → Settings → Control Panel → System → Remote and select &#8220;Remote Desktop&#8221; option for all users. This completes the Windows disk setup. Shut down the VM.</p>
<h2>Memdisk</h2>
<p>The kernel memdisk can be used to load Windows. The default <a href="http://syslinux.zytor.com/wiki/index.php/MEMDISK#What_is_MEMDISK.3F" target="_blank">syslinux memdisk</a> can be used for this purpose. memdisk is present in /usr/lib/syslinux</p>
<p>If it is not present, install syslinux by the following command.</p>
<pre>$ sudo apt apt-get install syslinux</pre>
<p>After installing, memdisk will be found in /usr/lib/syslinux</p>
<pre>$ cd /usr/lib/syslinux
$ ls -l memdisk
-rw-r--r-- 1 root root 20068 2008-07-15 20:25 memdisk</pre>
<p>Copy it to the location where all windows files are present, i.e., win-2k3.img and win-boot.img</p>
<h2>Registering with UEC</h2>
<p>The last step would be to upload the images to UEC. The files that need to be uploaded are:</p>
<ul>
<li>memdisk</li>
<li>win-boot.img</li>
<li>win-2k3.img</li>
</ul>
<p>Before starting the upload process shut down the VM.</p>
<h3>Registering memdisk</h3>
<p>Execute the following commands to bundle and register the memdisk.</p>
<pre>$ euca-bundle-image -i memdisk --kernel true
$ euca-upload-bundle -b win2k3_bucket -m /tmp/memdisk.manifest.xml
$ euca-register win2k3_bucket/memdisk.manifest.xml</pre>
<p>Save the output produced by the last command above (eki-XXXXXXXX), which will be needed while registering the disk image.</p>
<h3>Registering boot disk</h3>
<p>Execute the following commands to bundle and register the boot disk (win-boot.img).</p>
<pre>$ euca-bundle-image -i win-boot.img --ramdisk true
$ euca-upload-bundle -b win2k3_bucket -m /tmp/win-boot.img.manifest.xml
$ euca-register win2k3_bucket/win-boot.img.manifest.xml</pre>
<p>Save the output produced by the last command above (eri-XXXXXXXX), which will be needed while registering the disk image.</p>
<h3>Registering disk image</h3>
<p>Execute the following commands to bundle and register the disk image (win-2k3.img)</p>
<pre>$ euca-bundle-image -i win-2k3.img --kernel eki-XXXXXXXX --ramdisk eri-XXXXXXXX
$ euca-upload-bundle -b win2k3_bucket -m /tmp/win-2k3.img.manifest.xml
$ euca-register win2k3_bucket/win-2k3.img.manifest.xml</pre>
<p>Replace eki-XXXXXXXX and eri-XXXXXXXX with the exact values as noted down earlier.</p>
<h2>Image Listing</h2>
<p>The new images that have been uploaded can be seen by using euca-describe-images command.<br />
For Ex:</p>
<pre>$ euca-describe-images
IMAGE   emi-55470DE2    win-2k3/win-2k3.img.manifest.xml        admin   available    public  x86_64  machine
IMAGE   eki-2BC30D1B    win-2k3/memdisk.manifest.xml    admin   available   public   x86_64  kernel
IMAGE   eri-76C20ED5    win-2k3/win-boot.img.manifest.xml       admin   available    public  x86_64  ramdisk</pre>
<h2>Security Group</h2>
<p>Verify that the security group to be used with this instance is allowing RDP traffic.</p>
<pre>$ euca-describe-groups
GROUP   admin   default default group
PERMISSION      admin   default ALLOWS  tcp     3389    3389    FROM    CIDR0.0.0.0/0</pre>
<p>If the above entry is not present, allow RDP with the following command.</p>
<pre>$ euca-authorize default -P tcp -p 22 -s 0.0.0.0/0</pre>
<h2>Running the instance</h2>
<p>To launch a new instance of the custom image, execute euca-run-instances command.</p>
<pre>$ euca-run-instances  emi-55470DE2 -k mykey -t c1.xlarge</pre>
<p>Since this is a windows instance the VM type is specified as c1.xlarge, which has 20GB of hard disk space. Also specifying the key is not mandatory, as the access to the instance would be through RDP.</p>
<h2>Accessing the instance</h2>
<p>From the remote machine, navigate to Start → Programs → Accessories → Remote Desktop Connection.<br />
Specify the public ip address that the instance gets and click Connect.<br />
The desktop of the windows instance should be accessible after providing the credentials.</p>
<h2 id="For-Windows-XP-bundling"><span style="color:#000000;">UPDATE: For Windows XP bundling</span></h2>
<p><span style="color:#000000;">While bundling Windows XP, the OS doesn&#8217;t recognize SCSI driver during installation process.</span></p>
<p><span style="color:#000000;">The following workaround is suggested:<br />
1. Attach the disk as IDE disk.</span></p>
<pre><span style="color:#000000;">$ sudo kvm -m 1024 -cdrom winxpcd.iso -drive file=winxp.img,boot=on -nographic -vnc :0
</span></pre>
<p><span style="color:#000000;">2. Finish the installation of Windows XP.<br />
3. Now create another disk image using kemu-img</span></p>
<pre><span style="color:#000000;">$ kvm-img create -f qcow2 newdisk.img 5G
</span></pre>
<p><span style="color:#000000;">4. Start the instance by attaching the second disk as SCSI disk.</span></p>
<pre><span style="color:#000000;">$ sudo kvm -m 1024 -drive file=winxp.img,boot=on -drive file=newdisk.img,if=scsi -nographic -vnc :0
</span></pre>
<p><span style="color:#000000;">5. After Windows XP boots, it detects and installs the driver for the SCSI disk (sys_hi.sys)</span></p>
<p><span style="color:#000000;">The remaining procedure is same as that of bundling Windows 2003 Server.</span></p>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/euca-bundle-images/'>euca-bundle-images</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus-bundling/'>Eucalyptus Bundling</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=73&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/03/29/uec-bundling-windows-image/feed/</wfw:commentRss>
		<slash:comments>76</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC: Attach EBS volume to a running instance</title>
		<link>http://kiranmurari.wordpress.com/2010/03/26/attach-ebs-volume-to-a-running-instance/</link>
		<comments>http://kiranmurari.wordpress.com/2010/03/26/attach-ebs-volume-to-a-running-instance/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 06:28:44 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[EBS]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[UEC]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=65</guid>
		<description><![CDATA[Linux Instances First create a volume of the required size using euca-create-volume $ euca-create-volume -s 10 -z mycloud VOLUME vol-333C04B8 10 creating 2010-03-26T05:20:56.383Z Check the available volumes and their status with euca-describe-volumes $ euca-describe-volumes VOLUME vol-333C04B8 10 mycloud available 2010-03-26T05:20:56.383Z Now attach the volume to a running instance using euca-attach-volume $ euca-attach-volume -i i-41620887 -d [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=65&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Linux Instances</h2>
<p>First create a volume of the required size using euca-create-volume</p>
<pre>$ euca-create-volume -s 10 -z mycloud
VOLUME  vol-333C04B8    10       creating        2010-03-26T05:20:56.383Z</pre>
<p>Check the available volumes and their status with euca-describe-volumes</p>
<pre>$ euca-describe-volumes
VOLUME  vol-333C04B8    10   mycloud   available     2010-03-26T05:20:56.383Z</pre>
<p>Now attach the volume to a running instance using euca-attach-volume</p>
<pre>$ euca-attach-volume -i i-41620887 -d /dev/sdb vol-333C04B8</pre>
<p>The volumes status changes from <strong>&#8220;available&#8221;</strong> to <strong>&#8220;in-use&#8221;</strong> if it is attached properly.</p>
<pre>$ euca-describe-volumes
VOLUME  vol-333C04B8    10  mycloud <strong>in-use</strong>  2010-03-26T05:41:28.019Z
ATTACHMENT      vol-331F04B2    i-41620887      unknown,requested:/dev/sdb  2010-03-26T05:43:51.343Z</pre>
<p><span id="more-65"></span>Once you login to the instance through ssh, you should see the new volume.</p>
<pre>$ sudo fdisk -l

Disk /dev/sda: 2195 MB, 2195718144 bytes
4 heads, 32 sectors/track, 33504 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Disk identifier: 0x000adc1c

 Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       32769     2097152+  83  Linux
/dev/sda3           32769       33504       47071   82  Linux swap / Solaris

Disk /dev/sdb: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table</pre>
<p>Now /dev/sdb is ready to be formatted and mounted so that it can be used as a permanent storage. Unmount the volume before bringing down the instance, to avoid any data corruption.</p>
<h2>Windows Instances</h2>
<p>For windows instances, creating the volume and attaching the volume would be the same.</p>
<p>NOTE: Even while attaching the device need to specified as /dev/sdb</p>
<p>The only change is the way this disk is accessed. Once the disk is attached to a running windows instance, perform the following steps:</p>
<ul>
<li>Connect to windows instance via RDP</li>
<li>Go to Start -&gt; Run and type diskmgmt.msc without the quotes. Select OK. This opens the Disk Management console.</li>
<li>Right click on the new disk at the bottom of the list and choose Initialize Disk.</li>
<li>A pop up will appear,  choose OK.</li>
<li>Next right click on the volume and select New Partition.</li>
<li>A wizard appears and accept the defaults, other than change the disk letter as per need.</li>
<li>Finish up the wizard, and windows will now format the partition.</li>
</ul>
<p>After completion the disk management tool shows a healthy partition on the new drive.</p>
<h2>Troubleshooting</h2>
<p>If the network configuration on CC and NC has changed,  say either the interfaces changed, due to which the ip addresses have also changed. In such cases the following errors appear in nc.log</p>
<pre>[EUCAERROR ] libvirt: operation failed: adding scsi disk failed: pci_add pci_addr=auto storage file=/dev/etherd/e0.8,if=scsi
failed to add file=/dev/etherd/e0.8,if=scsi
 (code=9)
[Fri Mar 26 10:57:39 2010][001621][EUCAERROR ] virDomainAttachDevice() failed (err=-1) XML=
<!--more-->[Fri Mar 26 10:57:39 2010][001621][EUCAERROR ] ERROR: doAttachVolume() failed error=1</pre>
<p>In order to overcome this, the configuration has to be changed accordingly from the webUI. Access the webUI of UEC using https://:8443. On Configuration page, under Clusters section, replace the correct ip and interface name for Storage Controller.</p>
<p>See below screenshot.</p>
<p><a href="http://kiranmurari.files.wordpress.com/2010/03/sc1.jpg"><img class="alignnone size-full wp-image-69" title="sc" src="http://kiranmurari.files.wordpress.com/2010/03/sc1.jpg?w=497" alt=""   /></a></p>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/ebs/'>EBS</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=65&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/03/26/attach-ebs-volume-to-a-running-instance/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>

		<media:content url="http://kiranmurari.files.wordpress.com/2010/03/sc1.jpg" medium="image">
			<media:title type="html">sc</media:title>
		</media:content>
	</item>
		<item>
		<title>UEC: Bundling Linux Image</title>
		<link>http://kiranmurari.wordpress.com/2010/03/23/bundling-linux-image-for-uec/</link>
		<comments>http://kiranmurari.wordpress.com/2010/03/23/bundling-linux-image-for-uec/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 14:42:57 +0000</pubDate>
		<dc:creator>kiranmurari</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[euca-bundle-images]]></category>
		<category><![CDATA[Eucalyptus]]></category>
		<category><![CDATA[Eucalyptus Bundling]]></category>
		<category><![CDATA[UEC]]></category>

		<guid isPermaLink="false">http://kiranmurari.wordpress.com/?p=44</guid>
		<description><![CDATA[Creating a new disk Image This will be the main HDD in the virtual image, so make sure to give it as much space as youll need. Since were building a kvm image, we can use a qcow2 format for disk images. Qcow2 is an expandable image format, so itll only take as much storage [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=44&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Creating a new disk Image</h3>
<p>This will be the main HDD in the virtual image, so make sure to give it as much space as youll need. Since were building a kvm image, we can use a qcow2 format for disk images. Qcow2 is an expandable image format, so itll only take as much storage space as its actually used within the image.</p>
<pre>$ kvm-img create -f qcow2 image.img 5G</pre>
<h3>OS Installation</h3>
<p>Download the iso file of the Linux distribution you want installed in the image.</p>
<pre>$ wget http://releases.ubuntu.com/karmic/ubuntu-9.04-server-amd64.iso</pre>
<p>And start the installation process:</p>
<pre>$ sudo kvm -m 256 -cdrom ubuntu-9.04-server-amd64.iso -drive file=image.img,if=scsi,index=0 \
-boot d -net nic,vlan=0,model=e1000,macaddr= 00:16:3e:de:ad:01 -net tap -nographic -vnc :0</pre>
<p>If your installation process requires more than 256MB of RAM change the -m option, and if you need more processors available, you can use the -c option.</p>
<p><span id="more-44"></span>The command above will boot a new KVM instance, with the disk image youve created as the primary HDD and the iso as the first bootable device. Also the -nographic option will not display any graphical output. You can connect to the instance through VNC (use display number :0 ) and finish the installation.</p>
<pre>For Ex: vncviewer A.B.C.D :0, where A.B.C.D is the IP address of the CC.</pre>
<p>After finishing the installation, relaunch the VM by executing the following command.</p>
<pre>$ sudo kvm -m 256 -drive file=image.img,if=scsi,index=0,boot=on -boot c \
-net nic,vlan=0,model=e1000,macaddr=00:16:e3:de:ad:01 -net tap -nographic -vnc :0</pre>
<p>At this point you can add all the packages you want to have installed, update the installation, add users and any settings that need to be present in your new UEC instances.</p>
<pre>$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install mediawiki</pre>
<h3>Integrating with UEC</h3>
<p>The new image needs to know what IP it has when started in UEC and also, it needs to have the public key of the user allowed to do a passwordless access through SSH. The way its done in UEC is via a restful interface provided by the cloud. The interface is available under this URL: http://169.254.169.254/latest/meta-data.</p>
<p>First install curl on the VM.</p>
<pre>$ sudo apt-get install curl<!--more--></pre>
<p>And add the following lines to /etc/rc.local of the image.</p>
<pre>depmod -a
modprobe acpiphp

# simple attempt to get the user ssh key using the meta-data service
# assuming user is the username of an account that has been created
mkdir -p /home/user/.ssh
echo &gt;&gt; /home/user/.ssh/authorized_keys
curl -m 10 -s http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key | grep 'ssh-rsa' &gt;&gt;  /home/user/.ssh/authorized_keys
echo "AUTHORIZED_KEYS:"
echo "************************"
cat /home/user/.ssh/authorized_keys
echo "************************"</pre>
<p>Add the above lines before the exit 0 in /etc/rc.local.</p>
<p>Also remove persistent udev rules from /etc/udev/rules.d. This is needed because the interface name will change whenever the instance reboots and Eucalyptus expects the interface to be as eth0.</p>
<pre>$ sudo rm -rf /etc/udev/rules.d/70-persistent-*
</pre>
<h3>Registering with UEC</h3>
<p>The last step would be to upload the images to UEC. The files that need to be uploaded are:</p>
<ul>
<li> vmlinuz-2.6.28-11-server</li>
<li>initrd.img-2.6.28-11-server</li>
<li>image.img</li>
</ul>
<p>Copy the kernel and the initrd image from the VM image to some place outside. They will be used later for creating and uploading a complete virtual image to UEC.</p>
<pre> $ scp /boot/initrd.img-2.6.28-11-server user@A.B.C.D:
 $ scp /boot/vmlinuz-2.6.28-11-server user@A.B.C.D:</pre>
<p>Before starting the upload process shut down the VM.</p>
<h3>Registering kernel image</h3>
<p>Execute the following commands to bundle and register the kernel image (vmlinuz-2.6.28-11-server)</p>
<pre>$ euca-bundle-image -i vmlinuz-2.6.28-11-server --kernel true
 $ euca-upload-bundle -b mybucket -m /tmp/vmlinuz-2.6.28-11-server.manifest.xml
 $ euca-register mybucket/vmlinuz-2.6.28-11-server.manifest.xml</pre>
<p>Save the output produced by the last command above (eki-XXXXXXXX), which will be needed  while registering the disk image.</p>
<h3>Registering ramdisk image</h3>
<p>Execute the following commands to bundle and register the ramdisk image (initrd.img-2.6.28-11-server)</p>
<pre>$ euca-bundle-image -i  initrd.img-2.6.28-11-server
 $ euca-upload-bundle -b mybucket -m /tmp/initrd.img-2.6.28-11-server.manifest.xml
 $ euca-register mybucket/initrd.img-2.6.28-11-server.manifest.xml</pre>
<p>Save the output produced by the last command above (eri-XXXXXXXX), which will be needed while registering the disk image.</p>
<h3>Registering disk image</h3>
<p>Execute the following commands to bundle and register the ramdisk image (image.img)</p>
<pre>$ euca-bundle-image -i image.img --kernel eki-XXXXXXXX --ramdisk eri-XXXXXXXX
 $ euca-upload-bundle -b mybucket -m /tmp/image.img.manifest.xml
 $ euca-register mybucket/image.img.manifest.xml</pre>
<p>Replace eki-XXXXXXXX and eri-XXXXXXXX with the exact values as noted down earlier.</p>
<h3>Image Listing</h3>
<p>The new images that have been uploaded can be seen by using euca-describe-images command.</p>
<pre>$ euca-describe-images
 IMAGE   emi-70B70EC0    mybucket/image.img.manifest.xml admin   available   public   x86_64  machine
 IMAGE   eri-A2BE13EC    mybucket/initrd.img-2.6.28-11-server.manifest.xml   admin    available       public  x86_64  ramdisk
 IMAGE   eki-685F1306    mybucket/vmlinuz-2.6.28-11-server.manifest.xml  adminavailable       public  x86_64  kernel</pre>
<h3>Running instance of custom image</h3>
<p>To launch a new instance of the custom image, execute euca-run-instances command.</p>
<pre>$ euca-run-instances  emi-70B70EC0 -k mykey -t c1.xlarge
</pre>
<h6>Credits: This post draws inspiration from <a href="http://in.linkedin.com/in/mysondhruv" target="_blank">Sam</a> for all his <a href="http://code.google.com/p/hybridfox/">endeavors</a> on <a href="http://megam.info/" target="_blank">&#8220;Technology from Up there to Down here&#8221;</a></h6>
<br />Filed under: <a href='http://kiranmurari.wordpress.com/category/cloud-computing/'>Cloud Computing</a>, <a href='http://kiranmurari.wordpress.com/category/euca-bundle-images/'>euca-bundle-images</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus/'>Eucalyptus</a>, <a href='http://kiranmurari.wordpress.com/category/eucalyptus-bundling/'>Eucalyptus Bundling</a>, <a href='http://kiranmurari.wordpress.com/category/uec/'>UEC</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kiranmurari.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kiranmurari.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kiranmurari.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kiranmurari.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kiranmurari.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kiranmurari.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kiranmurari.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kiranmurari.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kiranmurari.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kiranmurari.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kiranmurari.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kiranmurari.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kiranmurari.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kiranmurari.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kiranmurari.wordpress.com&amp;blog=4147383&amp;post=44&amp;subd=kiranmurari&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kiranmurari.wordpress.com/2010/03/23/bundling-linux-image-for-uec/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1734c9c45f8dad6faf341cb82fcd4ee?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kiranmurari</media:title>
		</media:content>
	</item>
	</channel>
</rss>
