<?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>High Tech Sorcery &#187; virtualization</title>
	<atom:link href="http://hightechsorcery.com/category/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://hightechsorcery.com</link>
	<description>technology indistinguishable from magic</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:02:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing Windows GPLPV Drivers in Xen</title>
		<link>http://hightechsorcery.com/2012/01/installing-windows-gplpv-drivers-in-xen/</link>
		<comments>http://hightechsorcery.com/2012/01/installing-windows-gplpv-drivers-in-xen/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 21:02:21 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[bcdedit]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[gplpv]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=370</guid>
		<description><![CDATA[I&#8217;ve done this enough times to know it by heart but I remember when I tried to find documentation on this step I ran into countless inaccurate and outdated examples.  So here&#8217;s what I do to get the Windows GPL PV drivers installed under Xen. Download the drivers from meadowcourt.org.  As of 1/18/2012 the latest [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done this enough times to know it by heart but I remember when I tried to find documentation on this step I ran into countless inaccurate and outdated examples.  So here&#8217;s what I do to get the Windows GPL PV drivers installed under Xen.</p>
<ol>
<li>Download the drivers from <a href="http://www.meadowcourt.org/downloads/">meadowcourt.org</a>.  As of 1/18/2012 the latest version is 0.11.0.308.  You&#8217;ll need to get the appropriate drivers for your OS.</li>
<li>turn testsigning off on Windows</li>
<ol>
<li>bcedit</li>
<ul>
<li>I like to check out the config first</li>
</ul>
<li>bcdedit /set {current} testsigning on</li>
<ul>
<li>this turns testsigning on</li>
</ul>
<li>bcdedit</li>
</ol>
<ul>
<ul>
<li>I usually run this again to make sure &#8220;testsigning Yes&#8221; appears</li>
</ul>
</ul>
<li>restart windows. upon restart the system should indicate it is in &#8220;Test Mode&#8221;</li>
<li>install the drivers msi file that was downloaded. I always choose &#8220;Typical&#8221; installation. I choose not to restart at this point.</li>
<li>create new default boot option</li>
<ol>
<li>bcdedit /copy {current} /d &#8220;GPLPV</li>
<ul>
<li>this will copy the current boot setup into a new one called GPLPV</li>
<li>pay attention to the id returned here</li>
</ul>
<li>bcdedit /default ID</li>
<ul>
<li>replace ID with the id from the copy command</li>
<li>this sets the new menu to be the default</li>
</ul>
<li>bcdedit /set {default} loadoptions GPLPV</li>
<ul>
<li>this makaes this option use GPLPV drivers</li>
</ul>
<li>bcdedit</li>
<ul>
<li>double check everything</li>
</ul>
</ol>
<li>restart windows</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2012/01/installing-windows-gplpv-drivers-in-xen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with LXC</title>
		<link>http://hightechsorcery.com/2011/08/playing-with-lxc/</link>
		<comments>http://hightechsorcery.com/2011/08/playing-with-lxc/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 07:04:45 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=313</guid>
		<description><![CDATA[I&#8217;ve been wanting to explore the OS-level virtualization space again.  For a long time I was running linux-verser on a number of servers.  I switched to Xen because I really like the aesthetic of being able to run each virtual machine with it&#8217;s own kernel.  But I wonder if this is not too heavy a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to explore the OS-level virtualization space again.  For a long time I was running linux-verser on a number of servers.  I switched to Xen because I really like the aesthetic of being able to run each virtual machine with it&#8217;s own kernel.  But I wonder if this is not too heavy a solution when all you really want is a super-chroot.  LXC has a lot of support since it&#8217;s in the kernel but it&#8217;s difficult to tell how big a community there is.  Thus far I&#8217;ve been pretty disappointed with LXC and I&#8217;ve had trouble getting information.  For example there is very little information as to whether capabilities are changed in different kernel versions.  Here are some of the major difficulties I&#8217;ve found so far:</p>
<p><span id="more-313"></span></p>
<ul>
<li>Isolation &#8211; The LXC home page mentions isolation repeatedly, as does the README.  I was disappointed to find running dmesg on my container displayed the messages from the host system.  That&#8217;s not isolated enough for me.</li>
<li>Networking &#8211; While you can assign multiple ip addresses you can only have 1 interface which is on 1 bridge.  With Xen I have several virtual machines with multiple devices, usually one on a public bridge and another on a vpn.  Also on Ubuntu guests since udev does not work the network/interfaces file is not run and there is not routing until ifup -a is run from the guest.</li>
<li>No udev &#8211; This could be ok except for ubuntu guests which, as noted above, use upstart which depends on udev notifications to start networking and other services.  Basically it&#8217;s safe to assume that with an ubuntu guest many services will not be started.  This will not be the case for guests using sysvinit or systemd as far as I know.</li>
</ul>
<div>Resources:</div>
<div>
<ul>
<li><a href="http://lxc.sourceforge.net/">lxc Linux Containers</a></li>
<li><a href="http://en.gentoo-wiki.com/wiki/LXC">LXC &#8211; Gentoo Linux Wiki</a></li>
<li><a href="https://wiki.archlinux.org/index.php/Linux_Containers">Linux Containers &#8211; ArchWiki</a></li>
<li><a href="http://wiki.debian.org/LXC">LXC &#8211; Debian Wiki</a></li>
<li><a href="https://help.ubuntu.com/community/LXC">LXC &#8211; Community Ubuntu Documentation</a></li>
<li><a href="http://lxc.teegra.net/">LXC HOWTO</a></li>
</ul>
<ul>
<li><a href="http://ubuntuforums.org/showthread.php?t=1760428">[ubuntu] LXC container network strange behaviour &#8211; Ubuntu Forums</a></li>
<li><a href="http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01287.html">Re: [Lxc-users] ubuntu / lucid container not starting / mountall not sen</a></li>
<li><a href="http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01297.html">Re: [Lxc-users] ubuntu / lucid container not starting / mountall not sen</a></li>
<li><a href="http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg02217.html">Re: [Lxc-users] Network problem on start</a></li>
<li><a href="http://jinntech.blogspot.com/2011/04/lxc-interface-bonding-vlans-macvlan-and.html">/var/log/sysnote: LXC, interface bonding, vlans, macvlan and communication with host</a></li>
<li><a href="http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/">LXC Configure Ubuntu Lucid Containers | Shadows of epiphany</a></li>
<li><a href="http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-karmic-containers/">LXC Configure Ubuntu Karmic Containers | Shadows of epiphany</a></li>
<li><a href="http://blog.foaa.de/2010/05/lxc-on-debian-squeeze/">Foaa » Blog Archive » LXC on Debian Squeeze</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/08/playing-with-lxc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen 4.0 and 4.1 packages for Ubuntu and Debian</title>
		<link>http://hightechsorcery.com/2011/05/xen-4-0-and-4-1-packages-for-ubuntu-and-debian/</link>
		<comments>http://hightechsorcery.com/2011/05/xen-4-0-and-4-1-packages-for-ubuntu-and-debian/#comments</comments>
		<pubDate>Thu, 26 May 2011 06:48:14 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=276</guid>
		<description><![CDATA[Packages can be found here: https://launchpad.net/~agent-8131/+archive/ppa/+packages Design goals: packages created for xen 4.0.1 and xen 4.1.0 packages mirror install of xen as closely as possible currently only hypervisor and utils are included (make xen and make tools) no rc.d scripts setup, that&#8217;s left to user should be installable and functional on Debian and Ubuntu and [...]]]></description>
			<content:encoded><![CDATA[<p>Packages can be found here:</p>
<p><a href="https://launchpad.net/~agent-8131/+archive/ppa/+packages">https://launchpad.net/~agent-8131/+archive/ppa/+packages</a></p>
<p>Design goals:</p>
<ul>
<li>packages created for xen 4.0.1 and xen 4.1.0</li>
<li>packages mirror install of xen as closely as possible</li>
<li>currently only hypervisor and utils are included (make xen and make tools)</li>
<li>no rc.d scripts setup, that&#8217;s left to user</li>
<li>should be installable and functional on Debian and Ubuntu and on several versions
<ul>
<li>Debian lenny (hopefully), squeeze</li>
<li>Ubuntu hardy (hopefully), lucid, maverick, natty</li>
</ul>
</li>
</ul>
<p>Things to work on:</p>
<ul>
<li>getting stubdom to compile so pvgrub is present</li>
<li>testing on various systems and fixing dependencies and conflicts as needed</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/05/xen-4-0-and-4-1-packages-for-ubuntu-and-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attempting to package Xen</title>
		<link>http://hightechsorcery.com/2011/05/attempting-to-package-xen/</link>
		<comments>http://hightechsorcery.com/2011/05/attempting-to-package-xen/#comments</comments>
		<pubDate>Tue, 17 May 2011 10:43:26 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=265</guid>
		<description><![CDATA[I&#8217;m not an expert at Debian packaging but I&#8217;ve been gotten tired of building Xen on every systems and losing the advantages that packaging brings like tracking file conflicts.  So I decided to try and package Xen though I have had no luck so far.  I am making slow but steady progress.  I wanted to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not an expert at Debian packaging but I&#8217;ve been gotten tired of building Xen on every systems and losing the advantages that packaging brings like tracking file conflicts.  So I decided to try and package Xen though I have had no luck so far.  I am making slow but steady progress.  I wanted to package both 4.0.1 and 4.1.0 so I could compare them.  I&#8217;m finding that 4.1.0 has stability issues and switching between the two without packages is incredibly time consuming.</p>
<p><span id="more-265"></span></p>
<ul>
<li>Xen 4.0.1
<ul>
<li>linker error: /usr/bin/ld: cannot find -lxenctrl
<ul>
<li><a href="http://www.linuxquestions.org/questions/linux-general-1/usr-bin-ld-cannot-find-lxenctrl-863891/">/usr/bin/ld: cannot find -lxenctrl</a></li>
</ul>
<ul>
<li><a href="http://lists.alioth.debian.org/pipermail/pkg-xen-devel/2010-April/002725.html">[Pkg-xen-devel] Trying to compile/pack the Xen 4 for Debian fail&#8230;</a></li>
<li><a href="http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00788.html">[Xen-devel] Trying to compile Xen 4 for a Debian package fail &#8211; Xen Source</a></li>
<li>use this patch: <a href="http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01882.html">[Xen-devel] Compile error for xen-4.0.1 if xen-tools is not inst &#8211; Xen Source</a></li>
</ul>
</li>
</ul>
</li>
<li>Xen 4.1.0
<ul>
<li>ipxe &#8211; requires package for ipxe</li>
</ul>
</li>
<li>common:
<ul>
<li>linker error: ld: unrecognized option &#8216;-Wl,-Bsymbolic-functions&#8217;
<ul>
<li><a href="http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00669.html">[Xen-devel] XEN build failure &#8211; Xen Source</a></li>
<li><a href="http://lists.gnu.org/archive/html/bug-recutils/2011-05/msg00005.html">[bug-recutils] recfix tests fail on Ubuntu 64-Bit systems</a></li>
<li>fix: <a href="http://lists.gnu.org/archive/html/bug-recutils/2011-05/msg00013.html">Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems</a></li>
</ul>
</li>
</ul>
</li>
<li>packaging help:
<ul>
<li><a href="http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html">How To Create A .DEB Package [Ubuntu / Debian] ~ Web Upd8: Ubuntu / Linux blog</a></li>
<li><a href="http://www.debian-administration.org/articles/253">How do I patch a Debian package</a></li>
<li><a href="https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage">Packaging/PPA/BuildingASourcePackage &#8211; Launchpad Help</a></li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/05/attempting-to-package-xen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with Xen 4.1</title>
		<link>http://hightechsorcery.com/2011/05/working-with-xen-4-1/</link>
		<comments>http://hightechsorcery.com/2011/05/working-with-xen-4-1/#comments</comments>
		<pubDate>Mon, 09 May 2011 22:16:03 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=254</guid>
		<description><![CDATA[I took a development box running Xen 3.3 on Ubuntu 8.04 and upgraded in to Ubuntu 10.04 and installed Xen 4.1.0 from source.  I still believe Xen is the best open source virtualization solution.  At some point I&#8217;ll have to write up my experiments testing KVM + libvirt but suffice if to say the performance [...]]]></description>
			<content:encoded><![CDATA[<p>I took a development box running Xen 3.3 on Ubuntu 8.04 and upgraded in to Ubuntu 10.04 and installed Xen 4.1.0 from source.  I still believe Xen is the best open source virtualization solution.  At some point I&#8217;ll have to write up my experiments testing KVM + libvirt but suffice if to say the performance and stability were unacceptable.  However, while the performance of Xen is great, I have noticed some issues with Xen 4.1.0.</p>
<p><span id="more-254"></span></p>
<ul>
<li>rebooting from inside a DomU causes it to be destroyed.  This may be a problem with xl or with pygrub but I get the following error when rebooting: &#8220;failed to run bootloader: -3&#8243;</li>
<li>confusion over xl/xm and xencommons/xend.  I&#8217;ve learned that I should run xencommons and use xl and not use xend and xm.  Running both xend and xencommons seemed to lead to stability issues.  Using xm was useless as my existing configurations would not work (problems with blktap2 and qcow2).  However xl worked fine as long as I removed any python code from the config files.</li>
<li>pvgrub does not work.  While pvgrub seems like a much better alternative to pygrub I found that it would give me an error about the disk not being available.  This may just require a change to grub but that&#8217;s not ideal.  I want a drop-in secure replacement for pygrub.</li>
<li>configuring the Dom0 kernel takes time.  You have to be somewhat careful on the options and there is extremely little documentation on the various Xen options.  I found that &#8220;CONFIG_XEN_DEV_EVTCHN=y&#8221; was better than a module since you need evtchn on the Dom0 always.</li>
<li>problems with xenpm. running &#8220;xenpm get-cpufreq-states&#8221; led to an unkillable hung process and shortly thereafter a system lockup. See: <a href="http://bugzilla.xensource.com/bugzilla/buglist.cgi?content=xenpm">xenpm bugs</a>.</li>
</ul>
<p>Helpful information:</p>
<ul>
<li><a href="http://www.zeroaccess.org/2011/04/xen-4-1-on-ubuntu-10-04-64bit/">Xen 4.1 on Ubuntu 10.04 64bit » ZeroAccess</a> (helpful info on compiling Xen 4.1.0 and a Dom0 kernel)</li>
<li><a href="http://www.gossamer-threads.com/lists/xen/devel/205595">Performance difference between Xen versions | Xen | Devel</a> (information on performance and power saving)</li>
<li><a href="http://wiki.xensource.com/xenwiki/xenpm">xenpm &#8211; Xen Wiki</a></li>
<li><a href="http://wiki.xensource.com/xenwiki/PvGrub">PvGrub &#8211; Xen Wiki</a></li>
<li><a href="http://wiki.xensource.com/xenwiki/PyGrub">PyGrub &#8211; Xen Wiki</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/05/working-with-xen-4-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Xen 4.0.1 working in Debian 6.0</title>
		<link>http://hightechsorcery.com/2011/03/getting-xen-4-0-1-working-in-debian-6-0/</link>
		<comments>http://hightechsorcery.com/2011/03/getting-xen-4-0-1-working-in-debian-6-0/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 05:23:00 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=177</guid>
		<description><![CDATA[I&#8217;ve decided to expand this post a bit as I&#8217;ve run into a lot more problems.  I think I will try evaluating XCP 1.0.  Hard to imagine it being worse than Xen on Debian. Sadly a person installing Xem 4.0.1 on a freshly installed Debian 6.0 install is in for some trouble getting Xen to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to expand this post a bit as I&#8217;ve run into a lot more problems.  I think I will try evaluating XCP 1.0.  Hard to imagine it being worse than Xen on Debian.</p>
<p><span id="more-177"></span></p>
<p>Sadly a person installing Xem 4.0.1 on a freshly installed Debian 6.0 install is in for some trouble getting Xen to work.  You&#8217;ll see errors about hotplug scripts not working related to the tap driver.  The problem stems from <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591456">Debian Bug #591456</a>.  The solution is to create /etc/xen/scripts/hotplugpath.sh with the following contents:</p>
<p><code><br />
SBINDIR="/usr/sbin"<br />
BINDIR="/usr/bin"<br />
LIBEXEC="/usr/lib/xen/bin"<br />
LIBDIR="/usr/lib64"<br />
SHAREDIR="/usr/share"<br />
PRIVATE_BINDIR="/usr/lib64/xen/bin"<br />
XENFIRMWAREDIR="/usr/lib/xen/boot"<br />
XEN_CONFIG_DIR="/etc/xen"<br />
XEN_SCRIPT_DIR="/etc/xen/scripts"<br />
</code></p>
<p>It&#8217;s also important to note that Debian stripped out the blktap2 module so only the blktap module is available in Debian 6.0 currently.  I&#8217;d follow <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586772#30">Debian Bug #586772 </a> to see if it ever gets re-added.  More likely blktap2 may be added through a backport at some point.</p>
<p>Next you might want to fix an error in ﻿/etc/xen/scripts/xen-hotplug-cleanup.  You can change line 24 from:</p>
<p>if [ $(xenstore-read "$vm_dev" 2&gt;/dev/null) != "" ] \</p>
<p>to:</p>
<p>if [ "$(xenstore-read '$vm_dev' 2&gt;/dev/null)" != "" ] \</p>
<p>Alternatives not guaranteed to work:</p>
<ul>
<li><a href="http://lists.opensuse.org/opensuse-bugs/2010-05/msg01675.html">[Bug 605182] New: /etc/xen/scripts/xen-hotplug-cleanup: line 24: [: !=:</a></li>
<li><a href="http://lists.xensource.com/archives/cgi-bin/mesg.cgi?a=xen-devel&amp;i=AANLkTikSZj2bfkE7cm1E3K6_QShl0w7UrNp0O1M6QMo4%40mail.gmail.com">[Xen-devel] [PATCH] bug fix for &#8220;xen-hotplug-cleanup&#8221; script &#8211; Xen Source</a></li>
</ul>
<p>Other bugs and problems:</p>
<ul>
<li>no pv_grub is present</li>
<li>block-attach and block-detach in dom0 seem to not work &#8211; attach doesn&#8217;t seem to give a usable disk and detach fails unless the &#8211;force option is used</li>
<li>domu&#8217;s do not have there xenstore entries cleaned up after shutting down (this may be fixed by patching ﻿xen-hotplug-cleanup)</li>
</ul>
<p>All in all I&#8217;d say Xen 4.0.1 in Debian 6.0 is a mess.  Not sure if this is a buggy Xen release or related to Debian changes.  But I&#8217;d advise a lot of caution and testing before implementing a Xen server using Debian 6.0.</p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/03/getting-xen-4-0-1-working-in-debian-6-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Source Virtualization &#8211; thoughts on the state of various alternatives</title>
		<link>http://hightechsorcery.com/2011/02/open-source-virtualization-thoughts-on-the-state-of-various-alternatives/</link>
		<comments>http://hightechsorcery.com/2011/02/open-source-virtualization-thoughts-on-the-state-of-various-alternatives/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 22:57:54 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=136</guid>
		<description><![CDATA[I&#8217;ve been feeling less than thrilled with the open source virtualization alternatives available.  It&#8217;s not that I am not grateful for all the hard work people have put into these systems.  I am increasingly finding the platforms to be buggy.  I&#8217;m trying to decide on what the best setup is moving forward.  Just thought I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been feeling less than thrilled with the open source virtualization alternatives available.  It&#8217;s not that I am not grateful for all the hard work people have put into these systems.  I am increasingly finding the platforms to be buggy.  I&#8217;m trying to decide on what the best setup is moving forward.  Just thought I would jot down some of my recent notes.</p>
<h2><span id="more-136"></span>Xen</h2>
<p>As someone that prefers Debian and Debian-based distros using Xen means using Debian.  However the Xen 4.0.1 packages in Debian Squeeze have seemed buggy to me, partcularly when allocating large amounts of memory to a DomU.  In addition for the purpose of running a Windows server there are no signed paravirtualization drivers available.  This leaves people in the position of choosing lower performance or the hassle of unsigned drivers.  Those drivers can be found at <a href="http://www.meadowcourt.org/downloads/">http://www.meadowcourt.org/downloads/</a>.  The Xen team has had some recent success getting  parts of the dom0 kernel code merged.  If the entire</p>
<h2>KVM</h2>
<p>I have generally believed that KVM would overtake Xen given the level of development activity.  Yet, in my dealings with KVM I still find it has a long way to go.  I find bugs with virtual machines using SMP (performance problems, lockups on AMD processors) and even keeping a correct clock for Windows systems.  There are signed Windows drivers but the virtio net drivers are too buggy for production use (as of version 1.1.6).  You can get those drivers here: <a href="http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/">http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/</a>.  KVM is so well supported that there are many OS options: Debian, Ubuntu, Proxmox.</p>
<h2>OpenVZ / LXC</h2>
<p>I used linux-vservers for quite some time before switching to Xen.  Container-based virtualization is seeming better to me now in that performance should be close to native, particularly with regard to latency.  I also think I overlooked the value of container-based virtualization with regard to ease of management tasks such as backup or migration.  I haven&#8217;t used OpenVZ or LXC.  Using Proxmox to administer OpenVZ seems like it might be a pretty easy way to go.  OpenVZ can also be used from Debian.</p>
<ul>
<li>OS
<ul>
<li>Debian 6 &#8211; Xen, KVM, OpenVZ</li>
<li>Ubuntu 10.04 &#8211; KVM</li>
<li>Proxmox &#8211; KVM, OpenVZ</li>
</ul>
</li>
<li>Xen
<ul>
<li>- unsigned paravirtualization drivers</li>
<li>- buggy with large memory</li>
</ul>
</li>
<li>KVM
<ul>
<li>+ signed ﻿﻿paravirtualization drivers</li>
<li>- buggy ﻿﻿paravirtualization nic driver</li>
<li>- clock issues</li>
<li>- SMP issues</li>
<li>+ ksmd may offer more memory for virtual servers</li>
</ul>
</li>
<li>OpenVZ
<ul>
<li>untested</li>
</ul>
</li>
<li>LXC
<ul>
<li>untested</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/02/open-source-virtualization-thoughts-on-the-state-of-various-alternatives/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pay attention to the default IO scheduler</title>
		<link>http://hightechsorcery.com/2010/06/pay-attention-to-the-default-io-scheduler/</link>
		<comments>http://hightechsorcery.com/2010/06/pay-attention-to-the-default-io-scheduler/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 08:06:30 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=97</guid>
		<description><![CDATA[With recent versions of Ubuntu running as Xen DomU&#8217;s I&#8217;ve noticed that the default scheduler is deadline.  I&#8217;ve read documentation that noop should be the preferred scheduler.  However, I make use of ionice, as do disk intensive programs such as fcheck.  It&#8217;s not often noted but ionice only works with the cfq scheduler and because [...]]]></description>
			<content:encoded><![CDATA[<p>With recent versions of Ubuntu running as Xen DomU&#8217;s I&#8217;ve noticed that the default scheduler is deadline.  I&#8217;ve read documentation that noop should be the preferred scheduler.  However, I make use of ionice, as do disk intensive programs such as fcheck.  It&#8217;s not often noted but ionice only works with the cfq scheduler and because of that cfq is probably the best default for any system.</p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/06/pay-attention-to-the-default-io-scheduler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Xen on Various Linux Distributions</title>
		<link>http://hightechsorcery.com/2010/01/running-xen-on-various-linux-distributions/</link>
		<comments>http://hightechsorcery.com/2010/01/running-xen-on-various-linux-distributions/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 00:41:29 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[virtualization]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=39</guid>
		<description><![CDATA[I have been looking to various GNU/Linux distributions to determine their level of support for Xen.  Here&#8217;s what I found: Debian Etch &#8211; Xen Hypervisor 3.2.1 (via backports), Linux kernel 2.6.26 (via backports) Debian Lenny &#8211; Xen Hypervisor 3.2.1, Linux dom0 kernel 2.6.26 Debian Squeeze (testing) &#8211; Xen Hypervisor 3.4.2, Linux dom0 kernel ??? Ubuntu 8.04 (Hardy) [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking to various GNU/Linux distributions to determine their level of support for Xen.  Here&#8217;s what I found:</p>
<ul>
<li>Debian Etch &#8211; Xen Hypervisor 3.2.1 (via backports), Linux kernel 2.6.26 (via backports)</li>
<li>Debian Lenny &#8211; Xen Hypervisor 3.2.1, Linux dom0 kernel 2.6.26</li>
<li>Debian Squeeze (testing) &#8211; Xen Hypervisor 3.4.2, Linux dom0 kernel ???</li>
<li>Ubuntu 8.04 (Hardy) &#8211; Xen Hypervisor 3.3.0 (via backports), Linux dom0 kernel 2.6.24</li>
<li>Ubuntu 8.10-10.04 (Intrepid-Lucid) &#8211; ﻿Xen Hypervisor 3.3.0, no Linux dom0 kernel</li>
<li>OpenSuse 11.2 &#8211; Xen Hypervisor 3.4.1, Linux dom0 kernel 2.6.31</li>
</ul>
<p>As much as I like Debian and Debian based distros I think OpenSuse is probably the best platform for hosting Xen at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/01/running-xen-on-various-linux-distributions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

