<?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:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Shane Sveller &#187; 64-bit</title>
	<atom:link href="http://shanesveller.com/tag/64-bit/feed/" rel="self" type="application/rss+xml" />
	<link>http://shanesveller.com</link>
	<description>Somewhere between happy and total f**king wreck</description>
	<lastBuildDate>Thu, 07 Jan 2010 18:31:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Ubuntu Gutsy AMD64, LVM, and Xen from repositories</title>
		<link>http://shanesveller.com/2008/04/10/ubuntu-gutsy-amd64-lvm-and-xen-from-repositories/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu-gutsy-amd64-lvm-and-xen-from-repositories</link>
		<comments>http://shanesveller.com/2008/04/10/ubuntu-gutsy-amd64-lvm-and-xen-from-repositories/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 16:08:57 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[64-bit]]></category>
		<category><![CDATA[gutsy]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=33</guid>
		<description><![CDATA[For a weekend project, I installed and configured Xen as a virtual machine hosting solution on Ubuntu Gutsy AMD64 using LVM for drive/partition management.]]></description>
			<content:encoded><![CDATA[<p>My desktop just grew by two 500GB Western Digital Caviar drives. Having installed those, I loaded Gutsy-AMD64 on one using LVM. The partition schema is as follows:</p>
<pre>
Drive: 500GB #1
Volume Group: server1
Volumes:
	swap_1 - 6GB - swap
	root_1 - 30GB - ext3 - mounted as /
	home_1 - 20GB - ext3 - mounted as /home/
Free space: ~398GB
</pre>
<p>500GB number two will probably wind up being a RAID mirror via my motherboard. This LVM layout allows me to dynamically allocate space for the many potential Xen DomUs I create.</p>
<p>To install Xen on Gutsy-AMD64 desktop version:<br />
<code>sudo apt-get install ubuntu-xen-desktop-amd64</code></p>
<p><span id="more-18"></span><br />
My <code>/etc/xen-tools/xen-tools.conf</code>:</p>
<pre>
lvm = server1               # LVM volume group to use
install-method = debootstrap
size   = 4Gb                # Disk image size.
memory = 256Mb              # Memory size
swap   = 512Mb              # Swap size
fs     = ext3               # use the EXT3 filesystem for the disk image.
dist   = gutsy              # Default distribution to install.
gateway = 10.0.1.1
netmask = 255.255.255.0
cache = yes                 # Cache downloaded debs
passwd = 1                  # Set up root password during creation
kernel = /boot/vmlinuz-`uname -r`
initrd = /boot/initrd.img-`uname -r`
arch = amd64                # 64-bit domU
mirror = http://us.archive.ubuntu.com/ubuntu
ext3_options = noatime,nodiratime,errors=remount-ro
serial_device = tty1
</pre>
<p>My <code>/etc/xen/xend-config.sxp</code>:</p>
<pre>
(xend-tcp-xmlrpc-server yes)
(xend-relocation-server yes)
(xend-relocation-server yes)
(xend-tcp-xmlrpc-server-address '')
(xend-tcp-xmlrpc-server-port 8006)
(xend-relocation-port 8002)
(xend-relocation-address '')
(xend-relocation-hosts-allow '')
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)
(vncpasswd '')
</pre>
<p>Edit the file <code>/etc/xen-tools/xm.tmpl</code> as follows, around line 19:</p>
<pre>
memory      = '{$memory}'
extra='xencons=tty'
</pre>
<p>To generate one Gutsy-based DomU:<br />
<code>xen-create-image --hostname=gutsy1 --ip=10.0.1.3 --verbose --force</code>
</p>
<p>To boot created DomU:<br />
<code>xm create gutsy1.cfg -c</p>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/04/10/ubuntu-gutsy-amd64-lvm-and-xen-from-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
