<?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>Coretanium &#187; Xen</title>
	<atom:link href="http://www.coretanium.net/category/xen/feed" rel="self" type="application/rss+xml" />
	<link>http://www.coretanium.net</link>
	<description>tech blah blah</description>
	<lastBuildDate>Tue, 20 Sep 2011 07:21:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>S3FS on XenServer 5.6</title>
		<link>http://www.coretanium.net/s3fs-on-xenserver-5-6</link>
		<comments>http://www.coretanium.net/s3fs-on-xenserver-5-6#comments</comments>
		<pubDate>Sun, 07 Aug 2011 12:26:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=426</guid>
		<description><![CDATA[Get s3fs going on xenserver 5.6: yum remove fuse fuse* yum --enablerepo=base install yum-utils yumdownloader --enablerepo=base e2fsprogs-devel rpm --nodeps -Uvh e2fsprogs-devel*.rpm yum install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap cd /usr/local/src wget --no-check-certificate "https://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz?r=&#38;ts=1312707573&#38;use_mirror=kent" tar -zxff fuse-2.8.4.tar.gz cd fuse-2.8.4 ./configure --prefix=/usr &#38;&#38; make &#38;&#38; make install export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/ ldconfig modprobe [...]]]></description>
			<content:encoded><![CDATA[<pre>Get s3fs going on xenserver 5.6:</pre>
<pre class="brush: bash; gutter: false; first-line: 1">yum remove fuse fuse*
yum --enablerepo=base install yum-utils
yumdownloader --enablerepo=base e2fsprogs-devel
rpm --nodeps -Uvh e2fsprogs-devel*.rpm
yum install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap
cd /usr/local/src
wget --no-check-certificate "https://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz?r=&amp;ts=1312707573&amp;use_mirror=kent"
tar -zxff fuse-2.8.4.tar.gz
cd fuse-2.8.4
./configure --prefix=/usr &amp;&amp; make &amp;&amp; make install
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/
ldconfig
modprobe fuse
pkg-config --modversion fuse (confirm correct version)
cd ../
wget http://s3fs.googlecode.com/files/s3fs-1.59.tar.gz
tar -zxf s3fs-1.59.tar.gz
cd s3fs-1.59
./configure --prefix=/usr &amp;&amp; make &amp;&amp; make install
vi /etc/passwd-s3fs (add aws id and secret key in format xxxxx:xxxxx)
mkdir /mnt/s3drive
s3fs bucket /mnt/s3drive

dump all running vms/data to the AWS S3 cloud mount (/mnt/s3drive)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/s3fs-on-xenserver-5-6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding an ISO repository on XenServer 5.5</title>
		<link>http://www.coretanium.net/adding-an-iso-repository-on-xenserver-5-5</link>
		<comments>http://www.coretanium.net/adding-an-iso-repository-on-xenserver-5-5#comments</comments>
		<pubDate>Sat, 06 Mar 2010 09:38:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/adding-an-iso-repository-on-xenserver-5-5</guid>
		<description><![CDATA[In order to do advanced installs or installations where there are no templates under XenCenter and you wish to use your own custom ISO images, you can add an ISO repository. The following steps outlines what needs to be done; mkdir -p /var/opt/xen/iso_import Copy your ISO image to this directly, but be careful as the [...]]]></description>
			<content:encoded><![CDATA[<p>In order to do advanced installs or installations where there are no templates under XenCenter and you wish to use your own custom ISO images, you can add an ISO repository. The following steps outlines what needs to be done;</p>
<p>mkdir -p /var/opt/xen/iso_import</p>
<p>Copy your ISO image to this directly, but be careful as the control domain filesystem has limited space and if this fills up, unpredictable behaviour will follow.</p>
<p>Next up you need to create the repository by running</p>
<p><br/><code>xe sr-create name-label=ISOs type=iso device-config:location=/var/opt/xen/iso_import device-config:legacy_mode=true content-type=iso</code></p>
<p><br/>You need to mount the new repository so it&#8217;s available on XenCenter</p>
<p><code>xe-mount-iso-sr /var/opt/xen/iso_import</code></p>
<p>You can now proceed to create your VM using the ISO repository you just added.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/adding-an-iso-repository-on-xenserver-5-5/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Debian xenserver updates apt repository missing GPG key</title>
		<link>http://www.coretanium.net/debian-xenserver-updates-apt-repository-missing-gpg-key</link>
		<comments>http://www.coretanium.net/debian-xenserver-updates-apt-repository-missing-gpg-key#comments</comments>
		<pubDate>Thu, 13 Aug 2009 06:34:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/debian-xenserver-updates-apt-repository-missing-gpg-key/</guid>
		<description><![CDATA[After you&#8217;ve installed XenTools on your VM and you try to do a apt-get update you are greeted with a GPG error message saying that the repository isn&#8217;t trusted. This is because the GPG key Citrix use to sign their packages has not been added to the apt keyring. To fix it, run; wget -q [...]]]></description>
			<content:encoded><![CDATA[<p>After you&rsquo;ve installed XenTools on your VM and you try to do a apt-get update you are greeted with a GPG error message saying that the repository isn&rsquo;t trusted. This is because the GPG key Citrix use to sign their packages has not been added to the apt keyring.</p>
<p>To fix it, run;</p>
<p>wget -q <a href="http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY">http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY</a> -O- | apt-key add &mdash;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/debian-xenserver-updates-apt-repository-missing-gpg-key/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>error: xenconsole: Could not open tty `/dev/pts/2&#039;: No such file or directory</title>
		<link>http://www.coretanium.net/error-xenconsole-could-not-open-tty-devpts2-no-such-file-or-directory</link>
		<comments>http://www.coretanium.net/error-xenconsole-could-not-open-tty-devpts2-no-such-file-or-directory#comments</comments>
		<pubDate>Thu, 13 Aug 2009 06:26:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/error-xenconsole-could-not-open-tty-devpts2-no-such-file-or-directory/</guid>
		<description><![CDATA[Error: xenconsole: Could not open tty `/dev/pts/2&#8242;: No such file or directory Check whether xenconsoled is running, if not; &#160; /etc/init.d/xend start or xenconsoled]]></description>
			<content:encoded><![CDATA[<p>Error: xenconsole: Could not open tty `/dev/pts/2&prime;: No such file or directory</p>
<p>Check whether xenconsoled is running, if not;</p>
<p>&nbsp;</p>
<p>/etc/init.d/xend start</p>
<p>or</p>
<p>xenconsoled</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/error-xenconsole-could-not-open-tty-devpts2-no-such-file-or-directory/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PTY allocation request failed on channel 0</title>
		<link>http://www.coretanium.net/pty-allocation-request-failed-on-channel-0</link>
		<comments>http://www.coretanium.net/pty-allocation-request-failed-on-channel-0#comments</comments>
		<pubDate>Fri, 16 Jan 2009 21:58:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/pty-allocation-request-failed-on-channel-0</guid>
		<description><![CDATA[After creating a new VM on Debian Lenny, I got the following when trying to ssh into the DomU; PTY allocation request failed on channel 0 stdin: is not a tty Run the following to fix the issue; apt-get install udev]]></description>
			<content:encoded><![CDATA[<p>After creating a new VM on Debian Lenny, I got the following when trying to ssh into the DomU;</p>
<pre style="PADDING-LEFT: 30px">PTY allocation request failed on channel 0</pre>
<pre style="TEXT-ALIGN: left; PADDING-LEFT: 30px">stdin: is not a tty</pre>
<p>Run the following to fix the issue;</p>
<p><strong><code>apt-get install udev</code></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/pty-allocation-request-failed-on-channel-0/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen on Debian Etch</title>
		<link>http://www.coretanium.net/xen-on-debian-etch</link>
		<comments>http://www.coretanium.net/xen-on-debian-etch#comments</comments>
		<pubDate>Tue, 02 Dec 2008 00:53:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://blog.coretanium.net/?p=46</guid>
		<description><![CDATA[I&#8217;ve been testing out a few virtualization systems and am sofar very pleased with Xen. Installing on Debian Etch couldn&#8217;t be easier and it worked straight out the box &#8211; I had my first virtual server running in under 15 minutes flat! Use the following commands to install Xen on a Debian Etch machine: apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been testing out a few virtualization systems and am sofar very pleased with Xen. Installing on Debian Etch couldn&#8217;t be easier and it worked straight out the box &#8211; I had my first virtual server running in under 15 minutes flat!</p>
<p>Use the following commands to install Xen on a Debian Etch machine:</p>
<pre lang="shell">apt-get install xen-linux-system-2.6.18-4-xen-686 libc6-xen bridge-utils</pre>
<p>This will install the Xen kernel (2.6.18-5-xen-686 #1 SMP), the libc6-xen  libraries which is optimized for the Xen hypervisor and the utilities for configuring the Linux ethernet bridge.</p>
<p>Next up is a reboot into your newly installed kernel:</p>
<pre lang="shell">reboot</pre>
<p>Once the machine is back online you need to install the xen-tools package which allows you easily create new guest Xen domains on your Debian Etch host:</p>
<pre lang="shell">apt-get install xen-tools</pre>
<p>Next, modify the Xen config file (/etc/xen/xend-config.sxp) and enable:</p>
<pre lang="shell">(network-script network-bridge)</pre>
<p>You also need to modify /etc/xen-tools/xen-tools.conf to set kernel and initrd parameters as well as the disk and sizing options for your vistual servers.</p>
<p>You can easily find out what your kernel and initrd image is named by typing:</p>
<pre lang="shell">ls /boot/vmlinuz* /boot/initrd*</pre>
<p>This will list the kernel and initrd names for your system. Remember, your after the xen kernel and initrd images!</p>
<pre lang="shell">/boot/initrd.img-2.6.18-5-xen-686

/boot/vmlinuz-2.6.18-5-xen-686</pre>
<p>Continue and edit the xen-tools configuration file</p>
<pre lang="shell">vi /etc/xen-tools/xen-tools.conf

#
# Default kernel and ramdisk to use for the virtual servers
#
kernel = /boot/vmlinuz-2.6.18-5-xen-686
initrd = /boot/initrd.img-2.6.18-5-xen-686

dir = /data/vservers
debootstrap = 1
gateway   = 172.16.0.1
netmask   = 255.255.255.0

size   = 6Gb
memory = 256Mb
swap   = 256Mb
fs     = ext3
dist   = etch
image  = sparse</pre>
<p>Next, create the directory where your virtual servers will reside:</p>
<pre lang="shell">mkdir -p /data/vservers/domains</pre>
<p>Now your ready to create your first virtual server! Use the following command to create it:</p>
<pre lang="shell">xen-create-image -hostname=dns -ip=172.16.0.25 -passwd</pre>
<p>It will take a minute or two to create the virtual server after which you can fire it up by using:</p>
<pre lang="shell">xm create dns.cfg</pre>
<p>Your virtual server should be started up and ready for you to use.. You can either ssh to the IP you created the server with or attach to it from the host using:</p>
<pre lang="shell">xm console dns</pre>
<p>Have fun with your Xen virtual machine!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/xen-on-debian-etch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

