<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/dev/zero &#187; Xen</title>
	<atom:link href="http://blogs.pure-chaos.com/andrew/archives/tag/xen/feed" rel="self" type="application/rss+xml" />
	<link>http://blogs.pure-chaos.com/andrew</link>
	<description>The Life and Times of a Unix Geek</description>
	<lastBuildDate>Sun, 18 Jul 2010 19:51:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CentOS domU under Debian</title>
		<link>http://blogs.pure-chaos.com/andrew/archives/764</link>
		<comments>http://blogs.pure-chaos.com/andrew/archives/764#comments</comments>
		<pubDate>Fri, 13 Jun 2008 15:00:56 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[geeking]]></category>
		<category><![CDATA[ljxp]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://blogs.pure-chaos.com/andrew/?p=764</guid>
		<description><![CDATA[I finally got a CentOS 5 domU running under Debian. The xen-tools xen-create-image method didn&#8217;t work. I managed to find an appropriate build script for centos5, but it was pretty badly out of date, trying to install RPM versions that don&#8217;t exist on the mirror servers any more. Trying to bring it back up to [...]]]></description>
			<content:encoded><![CDATA[<div id="post_content_764" class="post_content">
<p>I finally got a CentOS 5 domU running under Debian.<br />
The xen-tools xen-create-image method didn&#8217;t work. I managed to find an appropriate build script for centos5, but it was pretty badly out of date, trying to install RPM versions that don&#8217;t exist on the mirror servers any more. Trying to bring it back up to date would have been a PITA. It has the RPM versions hard-coded in the script.<br />
However the instructions at http://wiki.kartbuilding.net/index.php/Create_Centos5_DomU_on_Debian_Etch_Dom0 worked a treat.<br />
After following those steps, I converted it from a file-based image, to an LVM, with the following steps:<br />
Manually create logical volumes for the filesystem and swap. I use 40G filesystem LVs and 128M swaps.</p>
<p># mkdir /mnt/loop<br />
# mkdir /mnt/cenots<br />
# mount /home/andrew/centos.5-0.img /mnt/loop -o loop<br />
# mount /dev/mapper/ember-centos5&#8211;disk /mnt/centos<br />
# cd /mnt/loop<br />
# cp -Rp bin  boot  dev  etc  home  lib media  mnt  opt root  sbin  selinux  srv  sys  tmp  usr  var ../centos<br />
# cd<br />
# umount /mnt/loop<br />
# umount /mnt/centos</p>
<p>Then edit /etc/xen/domains/centos.cfg and change the following lines:</p>
<p>kernel = &#8220;/boot/vmlinuz-2.6.18-4-xen-686&#8243;<br />
ramdisk = &#8220;/boot/initrd.img-2.6.18-4-xen-686&#8243;<br />
vif = ['bridge=xenbr0']<br />
disk = ['file:/xens/name_of_new_server_to_be/centos.5-0.img,sda1,w','file:/xens/name_of_new_server_to_be/centos.swap,sda2,w']</p>
<p>To:</p>
<p>kernel = &#8216;/boot/vmlinuz-2.6.18-6-xen-686&#8242;<br />
ramdisk = &#8220;/boot/initrd.img-2.6.18-6-xen-686&#8243;<br />
vif = [ 'ip=192.168.1.13' ]<br />
disk    = [ 'phy:ember/centos5-disk,sda1,w', 'phy:ember/centos5-swap,sda2,w' ]</p>
<p>Then &#8220;xm create centos&#8221;. Boom! Centos 5, running as a domU on a Debian Etch dom0, from a logical volume.<br />
And I still have the original centos5 image file for creating fresh domUs.</p>
</div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blogs.pure-chaos.com/andrew/archives/764" target="_blank"><img src="http://blogs.pure-chaos.com/andrew/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a></p>

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://blogs.pure-chaos.com/andrew/archives/764&amp;n=CentOS+domU+under+Debian&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://blogs.pure-chaos.com/andrew/archives/764/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blogs.pure-chaos.com/andrew/archives/764&amp;t=CentOS+domU+under+Debian" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=CentOS+domU+under+Debian&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/764 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20finally%20got%20a%20CentOS%205%20domU%20running%20under%20Debian.%0D%0AThe%20xen-tools%20xen-create-image%20method%20didn%27t%20work.%20I%20managed%20to%20find%20an%20appropriate%20build%20script%20for%20centos5%2C%20but%20it%20was%20pretty%20badly%20out%20of%20date%2C%20trying%20to%20install%20RPM%20versions%20that%20don%27t%20exist%20on%20the%20mirror%20servers%20any%20more.%20Trying%20to%20bring%20it%20b" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://blogs.pure-chaos.com/andrew/archives/764&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian&amp;srcUrl=http://blogs.pure-chaos.com/andrew/archives/764&amp;srcTitle=CentOS+domU+under+Debian&amp;snippet=I%20finally%20got%20a%20CentOS%205%20domU%20running%20under%20Debian.%0D%0AThe%20xen-tools%20xen-create-image%20method%20didn%27t%20work.%20I%20managed%20to%20find%20an%20appropriate%20build%20script%20for%20centos5%2C%20but%20it%20was%20pretty%20badly%20out%20of%20date%2C%20trying%20to%20install%20RPM%20versions%20that%20don%27t%20exist%20on%20the%20mirror%20servers%20any%20more.%20Trying%20to%20bring%20it%20b" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=CentOS+domU+under+Debian&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/764 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20finally%20got%20a%20CentOS%205%20domU%20running%20under%20Debian.%0D%0AThe%20xen-tools%20xen-create-image%20method%20didn%27t%20work.%20I%20managed%20to%20find%20an%20appropriate%20build%20script%20for%20centos5%2C%20but%20it%20was%20pretty%20badly%20out%20of%20date%2C%20trying%20to%20install%20RPM%20versions%20that%20don%27t%20exist%20on%20the%20mirror%20servers%20any%20more.%20Trying%20to%20bring%20it%20b" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian&amp;summary=I%20finally%20got%20a%20CentOS%205%20domU%20running%20under%20Debian.%0D%0AThe%20xen-tools%20xen-create-image%20method%20didn%27t%20work.%20I%20managed%20to%20find%20an%20appropriate%20build%20script%20for%20centos5%2C%20but%20it%20was%20pretty%20badly%20out%20of%20date%2C%20trying%20to%20install%20RPM%20versions%20that%20don%27t%20exist%20on%20the%20mirror%20servers%20any%20more.%20Trying%20to%20bring%20it%20b&amp;source=/dev/zero" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22CentOS%20domU%20under%20Debian%22&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/764 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20finally%20got%20a%20CentOS%205%20domU%20running%20under%20Debian.%0D%0AThe%20xen-tools%20xen-create-image%20method%20didn%27t%20work.%20I%20managed%20to%20find%20an%20appropriate%20build%20script%20for%20centos5%2C%20but%20it%20was%20pretty%20badly%20out%20of%20date%2C%20trying%20to%20install%20RPM%20versions%20that%20don%27t%20exist%20on%20the%20mirror%20servers%20any%20more.%20Trying%20to%20bring%20it%20b" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-pingfm">
			<a href="http://ping.fm/ref/?link=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian&amp;body=I%20finally%20got%20a%20CentOS%205%20domU%20running%20under%20Debian.%0D%0AThe%20xen-tools%20xen-create-image%20method%20didn%27t%20work.%20I%20managed%20to%20find%20an%20appropriate%20build%20script%20for%20centos5%2C%20but%20it%20was%20pretty%20badly%20out%20of%20date%2C%20trying%20to%20install%20RPM%20versions%20that%20don%27t%20exist%20on%20the%20mirror%20servers%20any%20more.%20Trying%20to%20bring%20it%20b" rel="nofollow" class="external" title="Ping this on Ping.fm">Ping this on Ping.fm</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=CentOS+domU+under+Debian+-+http://blogs.pure-chaos.com/andrew/archives/764&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blogs.pure-chaos.com/andrew/archives/764&amp;title=CentOS+domU+under+Debian" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://blogs.pure-chaos.com/andrew/archives/764" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=CentOS+domU+under+Debian+-+http://bit.ly/9Ccn1m&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=CentOS+domU+under+Debian&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/764 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20finally%20got%20a%20CentOS%205%20domU%20running%20under%20Debian.%0D%0AThe%20xen-tools%20xen-create-image%20method%20didn%27t%20work.%20I%20managed%20to%20find%20an%20appropriate%20build%20script%20for%20centos5%2C%20but%20it%20was%20pretty%20badly%20out%20of%20date%2C%20trying%20to%20install%20RPM%20versions%20that%20don%27t%20exist%20on%20the%20mirror%20servers%20any%20more.%20Trying%20to%20bring%20it%20b" rel="nofollow" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.pure-chaos.com/andrew/archives/764/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen and the art of server maintenance</title>
		<link>http://blogs.pure-chaos.com/andrew/archives/760</link>
		<comments>http://blogs.pure-chaos.com/andrew/archives/760#comments</comments>
		<pubDate>Thu, 12 Jun 2008 18:34:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[geeking]]></category>
		<category><![CDATA[ljxp]]></category>

		<guid isPermaLink="false">http://blogs.pure-chaos.com/andrew/?p=760</guid>
		<description><![CDATA[Aught to be a good title for a book on Xen, no? Anyway, while discussing Xen with the COO (and it just occurred to me, really this project should be the CTO&#8217;s, not the COOs&#8230; odd how the COO does all this stuff&#8230;) he came to the conclusion that, like openVZ and Virtuozzo, Xen guest [...]]]></description>
			<content:encoded><![CDATA[<div id="post_content_760" class="post_content">
<p>Aught to be a good title for a book on Xen, no?</p>
<p>Anyway, while discussing Xen with the COO (and it just occurred to me, really this project should be the CTO&#8217;s, not the COOs&#8230; odd how the COO does all this stuff&#8230;) he came to the conclusion that, like openVZ and Virtuozzo, Xen guest systems shared the kernel with the Host. That didn&#8217;t sound right to me, but I couldn&#8217;t disprove it with my Xen server, where every DomU had an empty /boot.</p>
<p>So I updated the kernel in Dom0, but didn&#8217;t reboot. I now have a newer kernel installed than the one it&#8217;s currently running.<br />
I then tweaked the /etc/xen-tools/xen-tools.conf and built a new DomU, to use the new kernel. Everything went without a hitch. I now have a Dom0 running 2.6.18-4-xen-686, with a domU running 2.6.18-6-xen-686. So it would seem that while they all &#8220;share&#8221; a kernel in the sense that they share a single install on the hard drive (all pulling from the dom0 /boot directory), they aren&#8217;t sharing a single instance of the kernel in memory.</p>
<p>I then tried to get a working CentOS 5 domU running, but ran into some snags. That will be another post.</p>
</div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blogs.pure-chaos.com/andrew/archives/760" target="_blank"><img src="http://blogs.pure-chaos.com/andrew/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a></p>

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://blogs.pure-chaos.com/andrew/archives/760&amp;n=Xen+and+the+art+of+server+maintenance&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://blogs.pure-chaos.com/andrew/archives/760/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blogs.pure-chaos.com/andrew/archives/760&amp;t=Xen+and+the+art+of+server+maintenance" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Xen+and+the+art+of+server+maintenance&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/760 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Aught%20to%20be%20a%20good%20title%20for%20a%20book%20on%20Xen%2C%20no%3F%0D%0A%0D%0AAnyway%2C%20while%20discussing%20Xen%20with%20the%20COO%20%28and%20it%20just%20occurred%20to%20me%2C%20really%20this%20project%20should%20be%20the%20CTO%27s%2C%20not%20the%20COOs...%20odd%20how%20the%20COO%20does%20all%20this%20stuff...%29%20he%20came%20to%20the%20conclusion%20that%2C%20like%20openVZ%20and%20Virtuozzo%2C%20Xen%20guest%20systems%20shar" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://blogs.pure-chaos.com/andrew/archives/760&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance&amp;srcUrl=http://blogs.pure-chaos.com/andrew/archives/760&amp;srcTitle=Xen+and+the+art+of+server+maintenance&amp;snippet=Aught%20to%20be%20a%20good%20title%20for%20a%20book%20on%20Xen%2C%20no%3F%0D%0A%0D%0AAnyway%2C%20while%20discussing%20Xen%20with%20the%20COO%20%28and%20it%20just%20occurred%20to%20me%2C%20really%20this%20project%20should%20be%20the%20CTO%27s%2C%20not%20the%20COOs...%20odd%20how%20the%20COO%20does%20all%20this%20stuff...%29%20he%20came%20to%20the%20conclusion%20that%2C%20like%20openVZ%20and%20Virtuozzo%2C%20Xen%20guest%20systems%20shar" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Xen+and+the+art+of+server+maintenance&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/760 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Aught%20to%20be%20a%20good%20title%20for%20a%20book%20on%20Xen%2C%20no%3F%0D%0A%0D%0AAnyway%2C%20while%20discussing%20Xen%20with%20the%20COO%20%28and%20it%20just%20occurred%20to%20me%2C%20really%20this%20project%20should%20be%20the%20CTO%27s%2C%20not%20the%20COOs...%20odd%20how%20the%20COO%20does%20all%20this%20stuff...%29%20he%20came%20to%20the%20conclusion%20that%2C%20like%20openVZ%20and%20Virtuozzo%2C%20Xen%20guest%20systems%20shar" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance&amp;summary=Aught%20to%20be%20a%20good%20title%20for%20a%20book%20on%20Xen%2C%20no%3F%0D%0A%0D%0AAnyway%2C%20while%20discussing%20Xen%20with%20the%20COO%20%28and%20it%20just%20occurred%20to%20me%2C%20really%20this%20project%20should%20be%20the%20CTO%27s%2C%20not%20the%20COOs...%20odd%20how%20the%20COO%20does%20all%20this%20stuff...%29%20he%20came%20to%20the%20conclusion%20that%2C%20like%20openVZ%20and%20Virtuozzo%2C%20Xen%20guest%20systems%20shar&amp;source=/dev/zero" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Xen%20and%20the%20art%20of%20server%20maintenance%22&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/760 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Aught%20to%20be%20a%20good%20title%20for%20a%20book%20on%20Xen%2C%20no%3F%0D%0A%0D%0AAnyway%2C%20while%20discussing%20Xen%20with%20the%20COO%20%28and%20it%20just%20occurred%20to%20me%2C%20really%20this%20project%20should%20be%20the%20CTO%27s%2C%20not%20the%20COOs...%20odd%20how%20the%20COO%20does%20all%20this%20stuff...%29%20he%20came%20to%20the%20conclusion%20that%2C%20like%20openVZ%20and%20Virtuozzo%2C%20Xen%20guest%20systems%20shar" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-pingfm">
			<a href="http://ping.fm/ref/?link=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance&amp;body=Aught%20to%20be%20a%20good%20title%20for%20a%20book%20on%20Xen%2C%20no%3F%0D%0A%0D%0AAnyway%2C%20while%20discussing%20Xen%20with%20the%20COO%20%28and%20it%20just%20occurred%20to%20me%2C%20really%20this%20project%20should%20be%20the%20CTO%27s%2C%20not%20the%20COOs...%20odd%20how%20the%20COO%20does%20all%20this%20stuff...%29%20he%20came%20to%20the%20conclusion%20that%2C%20like%20openVZ%20and%20Virtuozzo%2C%20Xen%20guest%20systems%20shar" rel="nofollow" class="external" title="Ping this on Ping.fm">Ping this on Ping.fm</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Xen+and+the+art+of+server+maintenance+-+http://blogs.pure-chaos.com/andrew/archives/760&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blogs.pure-chaos.com/andrew/archives/760&amp;title=Xen+and+the+art+of+server+maintenance" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://blogs.pure-chaos.com/andrew/archives/760" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Xen+and+the+art+of+server+maintenance+-+http://bit.ly/aepnf5&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=Xen+and+the+art+of+server+maintenance&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/760 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Aught%20to%20be%20a%20good%20title%20for%20a%20book%20on%20Xen%2C%20no%3F%0D%0A%0D%0AAnyway%2C%20while%20discussing%20Xen%20with%20the%20COO%20%28and%20it%20just%20occurred%20to%20me%2C%20really%20this%20project%20should%20be%20the%20CTO%27s%2C%20not%20the%20COOs...%20odd%20how%20the%20COO%20does%20all%20this%20stuff...%29%20he%20came%20to%20the%20conclusion%20that%2C%20like%20openVZ%20and%20Virtuozzo%2C%20Xen%20guest%20systems%20shar" rel="nofollow" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.pure-chaos.com/andrew/archives/760/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve been a busy little geek</title>
		<link>http://blogs.pure-chaos.com/andrew/archives/755</link>
		<comments>http://blogs.pure-chaos.com/andrew/archives/755#comments</comments>
		<pubDate>Fri, 02 May 2008 03:36:35 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[control panels]]></category>
		<category><![CDATA[geeking]]></category>
		<category><![CDATA[ispCP]]></category>
		<category><![CDATA[ddclient]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dyndns]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://blogs.pure-chaos.com/andrew/?p=755</guid>
		<description><![CDATA[So far this week I&#8217;ve: Finally gotten a working Xen system that will boot a Debian guest. Successfully installed ispCP on the Debian guest. Built another Debian guest to be an OpenVPN server. Successfully built an OpenVPN server and got two clients to connect from outside the network, through the DSL modem/router. Correctly configured the [...]]]></description>
			<content:encoded><![CDATA[<div id="post_content_755" class="post_content">
<p>So far this week I&#8217;ve:<br />
Finally gotten a working Xen system that will boot a Debian guest.<br />
Successfully installed ispCP on the Debian guest.<br />
Built another Debian guest to be an OpenVPN server.<br />
Successfully built an OpenVPN server and got two clients to connect from outside the network, through the DSL modem/router.<br />
Correctly configured the VPN server to give the client access to the full network via IP masquerading (next trick: get the network to simply route the packets instead of having to use masq).<br />
Got ddclient working on the VPN server to keep dyndns updated so I don&#8217;t have to hard code an IP address in my VPN clients and check various server log files to see if it changed.<br />
Fixed ddclient, when it failed to update dyndns with new IP address after my DSL provider mysteriously issued a new one, not 3 hours after setting up ddclient in the first place.</p>
<p>I can now log into my ispcp box from my desk at work, as though it was on the same network. I can now proceed with trying to get Mailman to play nice with ispCP when it&#8217;s slow at work.</p>
<p>I get productive when I ignore my games.</p>
</div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blogs.pure-chaos.com/andrew/archives/755" target="_blank"><img src="http://blogs.pure-chaos.com/andrew/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a></p>

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://blogs.pure-chaos.com/andrew/archives/755&amp;n=I%27ve+been+a+busy+little+geek&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://blogs.pure-chaos.com/andrew/archives/755/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blogs.pure-chaos.com/andrew/archives/755&amp;t=I%27ve+been+a+busy+little+geek" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=I%27ve+been+a+busy+little+geek&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/755 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A So%20far%20this%20week%20I%27ve%3A%0D%0AFinally%20gotten%20a%20working%20Xen%20system%20that%20will%20boot%20a%20Debian%20guest.%0D%0ASuccessfully%20installed%20ispCP%20on%20the%20Debian%20guest.%0D%0ABuilt%20another%20Debian%20guest%20to%20be%20an%20OpenVPN%20server.%0D%0ASuccessfully%20built%20an%20OpenVPN%20server%20and%20got%20two%20clients%20to%20connect%20from%20outside%20the%20network%2C%20through%20th" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://blogs.pure-chaos.com/andrew/archives/755&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek&amp;srcUrl=http://blogs.pure-chaos.com/andrew/archives/755&amp;srcTitle=I%27ve+been+a+busy+little+geek&amp;snippet=So%20far%20this%20week%20I%27ve%3A%0D%0AFinally%20gotten%20a%20working%20Xen%20system%20that%20will%20boot%20a%20Debian%20guest.%0D%0ASuccessfully%20installed%20ispCP%20on%20the%20Debian%20guest.%0D%0ABuilt%20another%20Debian%20guest%20to%20be%20an%20OpenVPN%20server.%0D%0ASuccessfully%20built%20an%20OpenVPN%20server%20and%20got%20two%20clients%20to%20connect%20from%20outside%20the%20network%2C%20through%20th" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=I%27ve+been+a+busy+little+geek&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/755 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A So%20far%20this%20week%20I%27ve%3A%0D%0AFinally%20gotten%20a%20working%20Xen%20system%20that%20will%20boot%20a%20Debian%20guest.%0D%0ASuccessfully%20installed%20ispCP%20on%20the%20Debian%20guest.%0D%0ABuilt%20another%20Debian%20guest%20to%20be%20an%20OpenVPN%20server.%0D%0ASuccessfully%20built%20an%20OpenVPN%20server%20and%20got%20two%20clients%20to%20connect%20from%20outside%20the%20network%2C%20through%20th" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek&amp;summary=So%20far%20this%20week%20I%27ve%3A%0D%0AFinally%20gotten%20a%20working%20Xen%20system%20that%20will%20boot%20a%20Debian%20guest.%0D%0ASuccessfully%20installed%20ispCP%20on%20the%20Debian%20guest.%0D%0ABuilt%20another%20Debian%20guest%20to%20be%20an%20OpenVPN%20server.%0D%0ASuccessfully%20built%20an%20OpenVPN%20server%20and%20got%20two%20clients%20to%20connect%20from%20outside%20the%20network%2C%20through%20th&amp;source=/dev/zero" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22I%27ve%20been%20a%20busy%20little%20geek%22&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/755 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A So%20far%20this%20week%20I%27ve%3A%0D%0AFinally%20gotten%20a%20working%20Xen%20system%20that%20will%20boot%20a%20Debian%20guest.%0D%0ASuccessfully%20installed%20ispCP%20on%20the%20Debian%20guest.%0D%0ABuilt%20another%20Debian%20guest%20to%20be%20an%20OpenVPN%20server.%0D%0ASuccessfully%20built%20an%20OpenVPN%20server%20and%20got%20two%20clients%20to%20connect%20from%20outside%20the%20network%2C%20through%20th" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-pingfm">
			<a href="http://ping.fm/ref/?link=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek&amp;body=So%20far%20this%20week%20I%27ve%3A%0D%0AFinally%20gotten%20a%20working%20Xen%20system%20that%20will%20boot%20a%20Debian%20guest.%0D%0ASuccessfully%20installed%20ispCP%20on%20the%20Debian%20guest.%0D%0ABuilt%20another%20Debian%20guest%20to%20be%20an%20OpenVPN%20server.%0D%0ASuccessfully%20built%20an%20OpenVPN%20server%20and%20got%20two%20clients%20to%20connect%20from%20outside%20the%20network%2C%20through%20th" rel="nofollow" class="external" title="Ping this on Ping.fm">Ping this on Ping.fm</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=I%27ve+been+a+busy+little+geek+-+http://blogs.pure-chaos.com/andrew/archives/755&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blogs.pure-chaos.com/andrew/archives/755&amp;title=I%27ve+been+a+busy+little+geek" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://blogs.pure-chaos.com/andrew/archives/755" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=I%27ve+been+a+busy+little+geek+-+http://bit.ly/atrQOu&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=I%27ve+been+a+busy+little+geek&amp;body=Link: http://blogs.pure-chaos.com/andrew/archives/755 (sent via shareaholic)%0D%0A%0D%0A----%0D%0A So%20far%20this%20week%20I%27ve%3A%0D%0AFinally%20gotten%20a%20working%20Xen%20system%20that%20will%20boot%20a%20Debian%20guest.%0D%0ASuccessfully%20installed%20ispCP%20on%20the%20Debian%20guest.%0D%0ABuilt%20another%20Debian%20guest%20to%20be%20an%20OpenVPN%20server.%0D%0ASuccessfully%20built%20an%20OpenVPN%20server%20and%20got%20two%20clients%20to%20connect%20from%20outside%20the%20network%2C%20through%20th" rel="nofollow" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.pure-chaos.com/andrew/archives/755/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
