<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to move Servers Between Xen and Amazon</title>
	<atom:link href="http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/</link>
	<description>layerboom systems</description>
	<lastBuildDate>Thu, 15 Jul 2010 21:39:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: How to move a Virtual Machine From EC2 to VirtualBox or KVM at Blogging Linux</title>
		<link>http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/comment-page-1/#comment-326</link>
		<dc:creator>How to move a Virtual Machine From EC2 to VirtualBox or KVM at Blogging Linux</dc:creator>
		<pubDate>Tue, 11 May 2010 16:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.layerboom.com/?p=65#comment-326</guid>
		<description>[...] so that developers or sysadmins could run them in their local environments. We’ve already written a howto on importing an AMI from Amazon, so you may want to read that first, but this howto also applies to [...]</description>
		<content:encoded><![CDATA[<p>[...] so that developers or sysadmins could run them in their local environments. We’ve already written a howto on importing an AMI from Amazon, so you may want to read that first, but this howto also applies to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pytho25</title>
		<link>http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/comment-page-1/#comment-270</link>
		<dc:creator>pytho25</dc:creator>
		<pubDate>Wed, 02 Dec 2009 00:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.layerboom.com/?p=65#comment-270</guid>
		<description>is this fedora?</description>
		<content:encoded><![CDATA[<p>is this fedora?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to move a Virtual Machine From EC2 to VirtualBox or KVM &#124; LayerBlog</title>
		<link>http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/comment-page-1/#comment-171</link>
		<dc:creator>How to move a Virtual Machine From EC2 to VirtualBox or KVM &#124; LayerBlog</dc:creator>
		<pubDate>Tue, 20 Oct 2009 22:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.layerboom.com/?p=65#comment-171</guid>
		<description>[...] so that developers or sysadmins could run them in their local environments. We&#8217;ve already written a howto on importing an AMI from Amazon, so you may want to read that first, but this howto also applies to [...]</description>
		<content:encoded><![CDATA[<p>[...] so that developers or sysadmins could run them in their local environments. We&#8217;ve already written a howto on importing an AMI from Amazon, so you may want to read that first, but this howto also applies to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/comment-page-1/#comment-89</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 11 Jul 2009 08:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.layerboom.com/?p=65#comment-89</guid>
		<description>I am allowing myself to repost what kcpike wrote on http://developer.amazonwebservices.com/connect/thread.jspa?messageID=108544&amp;#108544. Hope it helps someone...

 &lt;!--@page { size: 8.5in 11in; margin: 0.79in }P { margin-bottom: 0.08in }--&gt;

I ended up figuring it out on my own.Figured since I couldn&#039;t find anything on line about it I&#039;d post someinfo for anyone else who might be trying to do the same.

Icopied the kernel and ramdisk from the image that I had downloadedearlier. and placed it on the host OS in /boot/xen/

Here is my.cfg for xen:


I switched tap:aio: to file:

kernel= &quot;/boot/xen/vmlinuz-2.6.18-92.1.18.el5xen&quot;
#ramdisk =&quot;/boot/xen/initrd-2.6.18-92.1.18.el5xen.img&quot;
ramdisk =&quot;/home/kylec/initrd-2.6.18-92.1.18.el5xen-no-scsi.img&quot;
name= &quot;ami&quot;
memory = &quot;1024&quot;
disk = [&#039;file:/xen/image,xvda1,w&#039;,&#039;file:/etc/xen/XenGuest1.swap,xvda2,w&#039;]
root = &quot;/dev/xvda1ro&quot;
vif = [ &#039;bridge=xenbr0&#039;, ]
vcpus=2
on_reboot =&#039;destroy&#039;
on_crash = &#039;destroy&#039;

Now since this is CentOS...the ramdisk was not working for reasons that had to do with SCSIdrivers so I built the ramdisk without. The fix ended up being thefollowing. and using that instead in the xen .cfg.

mkinitrd--omit-scsi-modules --with=xennet --with=xenblk --preload=xenblkinitrd-$(uname -r)-no-scsi.img $(uname -r)


I created the swap file


then just started normally, xm create/etc/ami.cfg -c</description>
		<content:encoded><![CDATA[<p>I am allowing myself to repost what kcpike wrote on <a href="http://developer.amazonwebservices.com/connect/thread.jspa?messageID=108544&amp;#108544" rel="nofollow">http://developer.amazonwebservices.com/connect/thread.jspa?messageID=108544&amp;#108544</a>. Hope it helps someone&#8230;</p>
<p> <!--@page { size: 8.5in 11in; margin: 0.79in }P { margin-bottom: 0.08in }--></p>
<p>I ended up figuring it out on my own.Figured since I couldn&#8217;t find anything on line about it I&#8217;d post someinfo for anyone else who might be trying to do the same.</p>
<p>Icopied the kernel and ramdisk from the image that I had downloadedearlier. and placed it on the host OS in /boot/xen/</p>
<p>Here is my.cfg for xen:</p>
<p>I switched tap:aio: to file:</p>
<p>kernel= &#8220;/boot/xen/vmlinuz-2.6.18-92.1.18.el5xen&#8221;<br />
#ramdisk =&#8221;/boot/xen/initrd-2.6.18-92.1.18.el5xen.img&#8221;<br />
ramdisk =&#8221;/home/kylec/initrd-2.6.18-92.1.18.el5xen-no-scsi.img&#8221;<br />
name= &#8220;ami&#8221;<br />
memory = &#8220;1024&#8243;<br />
disk = ['file:/xen/image,xvda1,w','file:/etc/xen/XenGuest1.swap,xvda2,w']<br />
root = &#8220;/dev/xvda1ro&#8221;<br />
vif = [ 'bridge=xenbr0', ]<br />
vcpus=2<br />
on_reboot =&#8217;destroy&#8217;<br />
on_crash = &#8216;destroy&#8217;</p>
<p>Now since this is CentOS&#8230;the ramdisk was not working for reasons that had to do with SCSIdrivers so I built the ramdisk without. The fix ended up being thefollowing. and using that instead in the xen .cfg.</p>
<p>mkinitrd&#8211;omit-scsi-modules &#8211;with=xennet &#8211;with=xenblk &#8211;preload=xenblkinitrd-$(uname -r)-no-scsi.img $(uname -r)</p>
<p>I created the swap file</p>
<p>then just started normally, xm create/etc/ami.cfg -c</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weston</title>
		<link>http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/comment-page-1/#comment-82</link>
		<dc:creator>Weston</dc:creator>
		<pubDate>Wed, 20 May 2009 19:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.layerboom.com/?p=65#comment-82</guid>
		<description>Nice!</description>
		<content:encoded><![CDATA[<p>Nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kyle</title>
		<link>http://blog.layerboom.com/2008/10/03/how-to-move-servers-between-xen-and-amazon/comment-page-1/#comment-80</link>
		<dc:creator>kyle</dc:creator>
		<pubDate>Tue, 25 Nov 2008 00:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.layerboom.com/?p=65#comment-80</guid>
		<description>Great article, and awesome blog. I  have a few questions if you wouldn&#039;t mind answering.

Right where you leave off with grabbing the kernel image, and ramdisk from the AMI image. and then creating the xen .cfg, if you could possibly go more into detail or an example with that last part it would be awesome, right where I&#039;m having issues.

Also remapping the file system so that it can boot. If you could shoot me an email I&#039;d really appreciate it.</description>
		<content:encoded><![CDATA[<p>Great article, and awesome blog. I  have a few questions if you wouldn&#8217;t mind answering.</p>
<p>Right where you leave off with grabbing the kernel image, and ramdisk from the AMI image. and then creating the xen .cfg, if you could possibly go more into detail or an example with that last part it would be awesome, right where I&#8217;m having issues.</p>
<p>Also remapping the file system so that it can boot. If you could shoot me an email I&#8217;d really appreciate it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
