<?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>Admins Goodies &#187; xen</title>
	<atom:link href="http://adminsgoodies.com/tag/xen/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 23 May 2013 16:33:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Issues migrating a CentOS 4 xen guest to VMWare</title>
		<link>http://adminsgoodies.com/issues-migrating-a-centos-4-xen-guest-to-vmware/</link>
		<comments>http://adminsgoodies.com/issues-migrating-a-centos-4-xen-guest-to-vmware/#comments</comments>
		<pubDate>Wed, 12 Dec 2012 17:36:09 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[vmware-esxi]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/issues-migrating-a-centos-4-xen-guest-to-vmware/</guid>
		<description><![CDATA[I am migrating a xen guest. It is running a CentOS 4. I am using the same steps that have worked in the past for our RHEL5 and RHEL6 based systems but for some reason, I&#8217;m getting errors. Here are the steps in brief: On the guest, install a non-xen kernel and the kernel&#8217;s devel package. Turn off database and other services that may cause data inconsistencies Using VMWare vCenter Converter, migrate data to VMWare [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I am migrating a xen guest. It is running a CentOS 4. I am using the same steps that have worked in the past for our RHEL5 and RHEL6 based systems but for some reason, I&#8217;m getting errors.</p>
<p>Here are the steps in brief:</p>
<ol>
<li>On the guest, install a non-xen kernel and the kernel&#8217;s devel package.</li>
<li>Turn off database and other services that may cause data inconsistencies</li>
<li>Using VMWare vCenter Converter, migrate data to VMWare</li>
<li>Boot into rescue mode using CentOS 4.8 CD disc 1</li>
<li>Change root to the OS&#8217; root mount that rescue mode creates: <code>chroot /mnt/sysimage</code></li>
<li>Modify <code>/etc/grub/grub.conf</code> so that the non-xen stanza is default</li>
<li>Remove non-xen modules from config: <code>sed -i.pre-vmware '/xen/d' /etc/modprobe.conf</code></li>
<li>Check <code>/etc/inittab</code> and remove <code>co</code> runlevel and make sure we have lines for other runlevels</li>
<li>Double check <code>/etc/inittab</code> to make sure the Converter configured it correctly</li>
<li>Re-install grub: <code>grub-install --recheck /dev/sda</code></li>
<li>Finally, recreate init ram disk: <code>mkinitrd -v -f /boot/initr&lt;kernel version&gt;.img &lt;kernel version&gt;</code></li>
</ol>
<p>This is what I get when I reboot now:</p>
<p><img src="http://i.stack.imgur.com/9CDbZ.png" alt="Kernel panic"></p>
<p>Can anyone help? Or provide some some troubleshooting tips? TIA.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/53736/beaming-mel-bin" target="_blank">Beaming Mel-Bin</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>There is a Red Hat <a href="https://access.redhat.com/knowledge/solutions/267403" rel="nofollow">KBase article</a> discussing this issue and a solution.  Essentially it looks like you do not have the right storage drivers for your disks.  Be sure to include the scsi drivers when you make your initrd image:</p>
<pre><code># mkinitrd -f -v --with=scsi_mod --with=sd_mod --with=mptbase --with=mptscsi --with=mptspi --with=mptsas --with=mptscsih /boot/initrd-&lt;version&gt;.ELsmp.img &lt;version&gt;.ELsmp
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/71001/red-tux" target="_blank">Red Tux</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/457443/issues-migrating-a-centos-4-xen-guest-to-vmware" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/issues-migrating-a-centos-4-xen-guest-to-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing boot device in initramfs on the fly?</title>
		<link>http://adminsgoodies.com/changing-boot-device-in-initramfs-on-the-fly/</link>
		<comments>http://adminsgoodies.com/changing-boot-device-in-initramfs-on-the-fly/#comments</comments>
		<pubDate>Fri, 07 Dec 2012 17:36:07 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[initramfs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/changing-boot-device-in-initramfs-on-the-fly/</guid>
		<description><![CDATA[I try to boot a XEN VM and it looks like the hard drive naming changed from /dev/sda1 to /dev/hda1. So the boot process drops me to a busy box in initramfs. How can I specify the probably right boot device on the fly and continue the booting? Asked by Alex If you&#8217;re asking how to boot this one time, usually you just mount the filesystems to their correct locations, then exit and the boot [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I try to boot a XEN VM and it looks like the hard drive naming changed from <code>/dev/sda1</code> to <code>/dev/hda1</code>. So the boot process drops me to a busy box in initramfs. How can I specify the probably right boot device on the fly and continue the booting?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/48782/alex" target="_blank">Alex</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>If you&#8217;re asking how to boot this one time, usually you just mount the filesystems to their correct locations, then exit and the boot process will continue.</p>
<p>If you want to fix this permanently you can change your fstab file to use drive labels.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/15028/longneck" target="_blank">longneck</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/453434/changing-boot-device-in-initramfs-on-the-fly" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/changing-boot-device-in-initramfs-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which mirror should I use to download Kernel Xen 6.3?</title>
		<link>http://adminsgoodies.com/which-mirror-should-i-use-to-download-kernel-xen-6-3/</link>
		<comments>http://adminsgoodies.com/which-mirror-should-i-use-to-download-kernel-xen-6-3/#comments</comments>
		<pubDate>Tue, 23 Oct 2012 16:35:46 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos6]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/which-mirror-should-i-use-to-download-kernel-xen-6-3/</guid>
		<description><![CDATA[I&#8217;m following this construction to install (version 4.1.2) on a CentOS 6.2 (x86_64) system. When I use this command yum install http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-3.noarch.rpm I face this error: Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: ftp.sh.cvut.cz * extras: ftp.sh.cvut.cz * updates: ftp.sh.cvut.cz Setting up Install Process Cannot open: http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-3.noarch.rpm. Skipping. Error: Nothing to do there is a third-party repository with some mirror list, but I don&#8217;t know if I could use them? [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m following <a href="http://www.howtoforge.com/virtualization-with-xen-on-centos-6.2-x86_64-paravirtualization-and-hardware-virtualization" rel="nofollow">this construction</a> to install (version 4.1.2) on a CentOS 6.2 (x86_64) system.<br />
When I use this command </p>
<pre><code>yum install http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-3.noarch.rpm
</code></pre>
<p>I face this error:</p>
<pre><code>Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.sh.cvut.cz
 * extras: ftp.sh.cvut.cz
 * updates: ftp.sh.cvut.cz
Setting up Install Process
Cannot open: http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-3.noarch.rpm. Skipping.
Error: Nothing to do
</code></pre>
<p>there is a  <a href="https://www.crc.id.au/repo/" rel="nofollow">third-party repository</a> with some mirror list, but I don&#8217;t know if I could use them? and how would that possible?<br />
I would appreciate if any one could lead me to a available link to download Xen Repository.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/86902/user758667" target="_blank">user758667</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>You received the error because the file does not exist.</p>
<p>The reason the file does not exist is that <a href="http://au1.mirror.crc.id.au/repo/" rel="nofollow">the file in the repo</a> is named <code>kernel-xen-release-6-4.noarch.rpm</code>, while your howto has a <code>3</code> instead of the <code>4</code>.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/126632/michael-hampton" target="_blank">Michael Hampton</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/441253/which-mirror-should-i-use-to-download-kernel-xen-6-3" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/which-mirror-should-i-use-to-download-kernel-xen-6-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to makesure VM is in Para virtualization mode on XEN?</title>
		<link>http://adminsgoodies.com/how-to-makesure-vm-is-in-para-virtualization-mode-on-xen/</link>
		<comments>http://adminsgoodies.com/how-to-makesure-vm-is-in-para-virtualization-mode-on-xen/#comments</comments>
		<pubDate>Mon, 22 Oct 2012 16:35:21 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[intel-vt-x]]></category>
		<category><![CDATA[kvm-virtualization]]></category>
		<category><![CDATA[paravirtualization]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-to-makesure-vm-is-in-para-virtualization-mode-on-xen/</guid>
		<description><![CDATA[I am having a server running XEN,with ubuntu 12.04 as Domain 0. Intel VT is turned on by default and i dont want to run any Windows OS as VM. So 1. how can i makesure that all the created VM will be in paravirtualized mode even with VT enabled? I have heard that in Full Virtualization hypervisor needs to work hard for emulating all the underlying hardware,which may reduce performance for too much i/o [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I am having a server running XEN,with ubuntu 12.04 as Domain 0.</p>
<p>Intel VT is turned on by default and i dont want to run any Windows OS as VM.<br />
So </p>
<pre><code>1. how can i makesure that all the created VM will be in
paravirtualized mode even with VT enabled?
</code></pre>
<p>I have heard that in Full Virtualization hypervisor needs to work hard for emulating all the underlying hardware,which may reduce performance for too much i/o specific applications when compared to para mode. </p>
<pre><code>2.Since i am running only Linux VMs do i really need to enable VT
support?3.Can i be able to run Linux VM in para mode with VT enabled?4.Will simply turning on VT support changes virtualization from para to full virtualization??5.Will there be any performance improvement for VM running Linux OS if VT is enabled?
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/113505/ananthan" target="_blank">ananthan</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<pre><code>1. how can i makesure that all the created VM will be inparavirtualized mode even with VT enabled?
</code></pre>
<p>when creating Vm specify whether its in para or full virtmode.<br />
For vm to run in para mode it needs special kernel which need to be downloaded from online.So installing from CD may not work.</p>
<pre><code>2.Since i am running only Linux VMs do i really need to enable VT support?
</code></pre>
<p>if running vm in para mode there is no need of VT.</p>
<pre><code>3.Can i be able to run Linux VM in para mode with VT enabled?
</code></pre>
<p>Yes,Even with VT enabled Linux Vms can be run in para  mode.</p>
<pre><code> 4.Will simply turning on VT support changes virtualization from para to full virtualization??
</code></pre>
<p>No,it means we can run both para and full vms.We can choose whether to use vm in full mode or in para mode.</p>
<pre><code>5.Will there be any performance improvement for VM running Linux OS if VT is enabled?
</code></pre>
<p>If VM is in para mode,enabling VT has no impact on VM.but HVM can be installed only with VT support.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/113505/ananthan" target="_blank">ananthan</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/430231/how-to-makesure-vm-is-in-para-virtualization-mode-on-xen" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-to-makesure-vm-is-in-para-virtualization-mode-on-xen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transient network dropout for Xen DomU&#8217;s</title>
		<link>http://adminsgoodies.com/transient-network-dropout-for-xen-domus/</link>
		<comments>http://adminsgoodies.com/transient-network-dropout-for-xen-domus/#comments</comments>
		<pubDate>Wed, 05 Sep 2012 16:33:41 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/transient-network-dropout-for-xen-domus/</guid>
		<description><![CDATA[We&#8217;ve got a CentOS server running a cluster of virtuals. Occasionally the cluster&#8217;s internal network drops out for a minute or so &#8230; and then comes back. The problem is somehow related to the actual network traffic, but it is not a simple load issue. (The system is generally lightly loaded, and the problem occurs irrespective of actual load.) The setup: CentOS 5.6 on Dom0, various CentOS on the DomU&#8217;s Hardware &#8211; a Dell R710 [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>We&#8217;ve got a CentOS server running a cluster of virtuals.  Occasionally the cluster&#8217;s internal network drops out for a minute or so &#8230; and then comes back.  The problem is somehow related to the actual network traffic, but it is not a simple load issue.  (The system is generally lightly loaded, and the problem occurs irrespective of actual load.)</p>
<p>The setup:</p>
<ul>
<li>CentOS 5.6 on Dom0, various CentOS on the DomU&#8217;s</li>
<li>Hardware &#8211; a Dell R710 with a BroadCom NextXpress 2 NIC (sigh)
<ul>
<li>using the latest drivers for the NIC from BroadCom</li>
</ul>
</li>
<li>Xen configured to use network-bridge and vif-bridge</li>
<li>Some iptable tweaks to route an unrelated port to one of the virtuals.</li>
</ul>
<p>The system has one externally visible IP address, and Dom0 runs an Apache httpd configured with a number of virtual hosts each of which reverse proxies to web servers running on the virtuals.  (The virtuals have to be NAT&#8217;ed, primarily because we don&#8217;t have enough allocated public IP addresses.)</p>
<p>The symptoms:</p>
<ul>
<li>Works fine most of the time.</li>
<li>When someone tries to UPLOAD a large file to one virtuals, the internal network drops out &#8230; for all virtuals:
<ul>
<li>The Dom0 httpd sees a network timeout talking to the backend server on the virtual and reports a 502.</li>
<li>A previously established ssh connection from Dom0 to any of the DomU&#8217;s freezes.</li>
<li>Our monitoring shows ping failures for traffic between virtuals.</li>
<li>The Xen consoles to the DomU&#8217;s do not freeze.</li>
<li>No log messages in any log files that I can see, on either Dom0 or the DomU&#8217;s &#8230; apart from the Dom0 httpd logs.</li>
<li>After a minute or so, the problem clears by itself.</li>
</ul>
</li>
</ul>
<p>This is 100% reproducible.</p>
<p>What we&#8217;ve tried:</p>
<ul>
<li>Downloading, building and installing the latest BNX2 driver on Dom0</li>
<li>Turning off MSI on the NIC &#8211; adding &#8220;options bnx2 disable_msi=1&#8243; to /etc/modprobe.conf</li>
<li>Turning off tcp segmentation offload &#8211; &#8220;ethtool -K eth0 tso off&#8221;.</li>
<li>Sacrificing a black rooster at midnight.</li>
</ul>
<p>I&#8217;ve exhausted all my options apart from switching to KVM &#8230; or slaughtering more roosters.</p>
<p>Any suggestions?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/20362/stephen-c" target="_blank">Stephen C</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>We eventually did find the problem.  It turned out to be a caused by a problem in our virtual network configuration.  For some reason that I can no longer remember exactly, network traffic for that particular download was taking an extra loop through the virtual networks.  When a user tried to upload a large file, the download was tying down all available kernel network buffers.  That was causing the entire network to freeze &#8230; until something timed out and it all unjammed.</p>
<p>I&#8217;m sorry that this is all a bit vague, but there may offer some hints for people who run into a similar problem.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/20362/stephen-c" target="_blank">Stephen C</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/301078/transient-network-dropout-for-xen-domus" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/transient-network-dropout-for-xen-domus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>can xen server be configured to address more than 4 GB for host machine</title>
		<link>http://adminsgoodies.com/can-xen-server-be-configured-to-address-more-than-4-gb-for-host-machine/</link>
		<comments>http://adminsgoodies.com/can-xen-server-be-configured-to-address-more-than-4-gb-for-host-machine/#comments</comments>
		<pubDate>Sun, 19 Aug 2012 16:33:08 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[pae]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/can-xen-server-be-configured-to-address-more-than-4-gb-for-host-machine/</guid>
		<description><![CDATA[Can xen server be configured to address more than 4Gb RAM. Since its based on a 32 bit kernel,is it possible to address more than 4GB ram.I have heard about PAE can it solve this? Will changing the default 750M to more than 4Gb results in any performance degradation? The only reason i want to add more ram to host is to load a 5 GB VM to completely run on RAM,for maximum performance benefits,for [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Can xen server be configured to address more than 4Gb RAM.<br />
Since its based on a 32 bit kernel,is it possible to address more than 4GB ram.I have heard about PAE can it solve this?</p>
<p>Will changing the default 750M to more than 4Gb results in any performance degradation?</p>
<p>The only reason i want to add more ram to host is to load a 5 GB VM to completely  run on RAM,for maximum performance benefits,for some testing purpose.</p>
<p>Installed RAM is more than 64 GB,and a lot of unused RAM.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/132720/blue-gene" target="_blank">Blue Gene</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>With a 3-2bit System, every application can address up to 4GB of memory. PAE only lets you put more RAM in the Server to let more applications run with their 4GB.</p>
<p>If you really need to address more then 4GB you have to switch to a 64-bit kernel.</p>
<hr />
<h2>Edit</h2>
<p><a href="http://xen.org/files/XenCloud/installation.pdf" rel="nofollow">This document</a> suggests that Xen Cloud Platform is based on a 64-bit system:</p>
<blockquote>
<p>The Xen Cloud Platform host is a 64-bit x86 server-class machine<br />
  devoted to hosting mul-tiple VMs. This machine runs a stripped-down<br />
  Linux operating system with a Xen-enabled kernel which controls the<br />
  interaction between the virtualized devices seen by VMs and the<br />
  physical hardware.</p>
</blockquote>
<div class="author">Answered by <a href="http://serverfault.com/users/125342/christopher-perrin" target="_blank">Christopher Perrin</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/419088/can-xen-server-be-configured-to-address-more-than-4-gb-for-host-machine" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/can-xen-server-be-configured-to-address-more-than-4-gb-for-host-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating tmpfs file system in xen server to store VM</title>
		<link>http://adminsgoodies.com/creating-tmpfs-file-system-in-xen-server-to-store-vm/</link>
		<comments>http://adminsgoodies.com/creating-tmpfs-file-system-in-xen-server-to-store-vm/#comments</comments>
		<pubDate>Wed, 15 Aug 2012 16:33:26 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[tmpfs]]></category>
		<category><![CDATA[virtual-machines]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/creating-tmpfs-file-system-in-xen-server-to-store-vm/</guid>
		<description><![CDATA[i want to create a tmpfs file system for one of my vm to run on,using XEN Server. On the host machine i tried this but is not working,. xe sr-create device-config:device=/dev/shm name-label=&#8221;RAM&#8221; type=tmpfs Is it possible to make a tmpfs file system using xe command and make the vm run on it rather on HDD.This VM should not be slowed down by waiting for disks(This is what required).Can this be achieved using XEN server.Is [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>i want to create a <strong>tmpfs</strong> file system for one of my vm to run on,using XEN Server.</p>
<p>On the host machine i tried this but is not working,.</p>
<blockquote>
<p>xe sr-create device-config:device=/dev/shm name-label=&#8221;RAM&#8221;<br />
  type=tmpfs</p>
</blockquote>
<p>Is it possible to make a <strong>tmpfs</strong> file system using xe command and make the vm run on it rather  on HDD.This VM should not be slowed down by waiting for disks(This is what required).Can this be achieved using XEN server.Is there a better way of doing it?<br />
This host is having only a single HDD and can not afford to add extra storage.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/130107/kevin-parker" target="_blank">Kevin Parker</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>I&#8217;m guessing here, but tmpfs generates a filesystem.  SR&#8217;s are block devices.  You could probably create an empty file on the tmpfs, run losetup on it, and use that as your block device on tmpfs.</p>
<p>Edit:<br />
I just did a quick test:</p>
<pre><code>dd if=/dev/zero out=/dev/shm/testing bs=4M count=100
losetup /dev/loop0 /dev/shm/testing
parted /dev/loop0 mklabel msdos
parted /dev/loop0 mkpart 1 primary ext2 0% 100%
pvcreate /dev/loop0
</code></pre>
<p>At this moment you can make it into a part of your LVM, so you should be able to put images on it.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/4441/marcin" target="_blank">Marcin</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/417721/creating-tmpfs-file-system-in-xen-server-to-store-vm" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/creating-tmpfs-file-system-in-xen-server-to-store-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Citrix Xen Center to Manage XEN 4.1 running on ubuntu 12.04</title>
		<link>http://adminsgoodies.com/citrix-xen-center-to-manage-xen-4-1-running-on-ubuntu-12-04/</link>
		<comments>http://adminsgoodies.com/citrix-xen-center-to-manage-xen-4-1-running-on-ubuntu-12-04/#comments</comments>
		<pubDate>Sat, 28 Jul 2012 16:33:33 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[citrix]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/citrix-xen-center-to-manage-xen-4-1-running-on-ubuntu-12-04/</guid>
		<description><![CDATA[I have been using virt manager to manage XEN and it crashes often so i moved to Citrix Xencenter but i can not make it work. Details: using XEN 4.1 running on ubuntu 12.04 citrix XenCenter Installed on windows XP No firewall or network issue exist as i can ping XEN running on ubuntu 12.04. when i try to add server its showing Unable to Connect to server &#8216;ip-address&#8217; connection was refused.Check that XENServer is [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have been using virt manager to manage XEN and it crashes often so i moved to Citrix Xencenter but i can not make it work.</p>
<p>Details:<br />
using XEN 4.1 running on ubuntu 12.04</p>
<p>citrix XenCenter Installed on windows XP</p>
<p>No firewall or network issue exist as i can ping XEN running on ubuntu 12.04.</p>
<p>when i try to add server its showing </p>
<blockquote>
<p>Unable to Connect to server &#8216;ip-address&#8217; connection was refused.Check<br />
  that XENServer is configured correctly on &#8216;ip-address&#8217; and try again</p>
</blockquote>
<p>Should i need to enable anything in XEN Configuration file to allow accessing XEN from citrix XENCenter..?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/130107/kevin-parker" target="_blank">Kevin Parker</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Citrix Xen is a complete operating system on it&#8217;s own running from a modified CentOS machine. If you are not running Citrix Xen on your server, then you will not be able to connect to it with XenCenter.</p>
<p>You can not use XenCenter with a default Xen, your OS <em>has</em> to be XenServer.</p>
<p>You can get it over here: <a href="http://www.citrix.com/lang/English/lp/lp_2304908.asp" rel="nofollow">http://www.citrix.com/lang/English/lp/lp_2304908.asp</a></p>
<div class="author">Answered by <a href="http://serverfault.com/users/86280/lucas-kauffman" target="_blank">Lucas Kauffman</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/412046/citrix-xen-center-to-manage-xen-4-1-running-on-ubuntu-12-04" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/citrix-xen-center-to-manage-xen-4-1-running-on-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>is it possible to load virtual machine to memory like that of a live cd</title>
		<link>http://adminsgoodies.com/is-it-possible-to-load-virtual-machine-to-memory-like-that-of-a-live-cd/</link>
		<comments>http://adminsgoodies.com/is-it-possible-to-load-virtual-machine-to-memory-like-that-of-a-live-cd/#comments</comments>
		<pubDate>Sat, 14 Jul 2012 16:33:33 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[kvm-virtualization]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/is-it-possible-to-load-virtual-machine-to-memory-like-that-of-a-live-cd/</guid>
		<description><![CDATA[Can we create and run a virtual machine that uses RAM only or minimized HDD usage. That is same as the working concept as that of live CD. I know It is possible,but still confused,whether it can be implemented. Asked by ananthan If you have sufficient ram, create a large tmpfs ram drive and put your hard drive images there. Just like a live cd things will be lost when the system crashes or reboots. [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Can we create and run a virtual machine that uses RAM only or minimized HDD usage.</p>
<p><strong>That is same as the working concept  as that of live  CD.</strong></p>
<p>I know It is possible,but still confused,whether it can be implemented.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/113505/ananthan" target="_blank">ananthan</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>If you have sufficient ram, create a large tmpfs ram drive and put your hard drive images there.</p>
<p>Just like a live cd things will be lost when the system crashes or reboots. You will probably need scripts that sync it to a real drive on a regular basis and before shutting down.</p>
<p>Why are you trying to minimize hard drive use? That might help figure out the best solution.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/108667/grant" target="_blank">Grant</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/407591/is-it-possible-to-load-virtual-machine-to-memory-like-that-of-a-live-cd" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/is-it-possible-to-load-virtual-machine-to-memory-like-that-of-a-live-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen HVM Windows 2008 network bridge</title>
		<link>http://adminsgoodies.com/xen-hvm-windows-2008-network-bridge/</link>
		<comments>http://adminsgoodies.com/xen-hvm-windows-2008-network-bridge/#comments</comments>
		<pubDate>Tue, 03 Jul 2012 16:33:23 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[windows-server-2008]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/xen-hvm-windows-2008-network-bridge/</guid>
		<description><![CDATA[I have a problem with the Windows Server 2008 guest (hvm). I can&#8217;t get a network interface running for him. I also have a Debian guest and it&#8217;s working ok, but I can&#8217;t do it with the Win2k8 guest. When I started the VM, the machine freezes and I can&#8217;t connect by ssh to the host. /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopbackauto eth0 iface eth0 inet static address 188.165.B.C [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have a problem with the <code>Windows Server 2008</code> guest (hvm). I can&#8217;t get a network interface running for him.</p>
<p>I also have a <code>Debian guest</code> and it&#8217;s working ok, but I can&#8217;t do it with the <code>Win2k8 guest</code>. When I started the VM, the machine freezes and I can&#8217;t connect by ssh to the host.</p>
<p><strong>/etc/network/interfaces</strong></p>
<pre><code># The loopback network interface
auto lo
iface lo inet loopbackauto eth0
iface eth0 inet static
        address 188.165.B.C
        netmask 255.255.255.0
        network 188.165.B.0
        broadcast 188.165.255.255
        gateway 188.165.B.254
</code></pre>
<p><strong>brctl show</strong></p>
<pre><code>bridge name bridge id       STP enabled interfaces
eth0        8000.e840f20acc28   no      peth0
</code></pre>
<p><strong>/etc/xen/xend-config.sxp</strong></p>
<pre><code>...
(vif-script vif-bridge)
(network-script 'network-bridge') 
...
</code></pre>
<p><strong>/etc/xen/win2k8.cfg</strong></p>
<pre><code>#  Networking
#
vif         = [ 'ip=5.39.F.G,mac=yy:yy:yy:yy:yy:yy,type=ioemu,bridge=eth0' ]
</code></pre>
<p><strong>/etc/xen/debian.cfg</strong></p>
<pre><code>#  Networking
#
vif         = [ 'ip=178.33.D.E,mac=xx:xx:xx:xx:xx:xx' ]
</code></pre>
<p>As you can see, in the <code>Debian guest</code> I only have to specify an IP address and a MAC. But if I put that in the <code>Win2k8 guest</code>, the machine does not start.</p>
<p>I am using Xen 4.0</p>
<div class="author">Asked by <a href="http://serverfault.com/users/125497/javiermartinz" target="_blank">JavierMartinz</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>I am surprised to see &#8220;peth0&#8243; in your btctl show output. Perhaps your issue is a simple typo? (but then no idea how your Debian VM should work)</p>
<p>And in my only Debian based system I have right now with a bridge (A proxmox 2.1 machine), I also have the bridge in /etc/network/interfaces:</p>
<pre><code># cat /etc/network/interfaces
[...]
iface eth0 inet manualiface eth1 inet manualiface eth2 inet manualiface eth3 inet manualauto vmbr0
iface vmbr0 inet static
    address  10.11.12.13
    netmask  255.255.0.0
    gateway  10.11.0.1
    bridge_ports eth0 eth1 eth2 eth3
    bridge_stp off
    bridge_fd 0
[...]# brctl show
bridge name     bridge id               STP enabled     interfaces
vmbr0           8000.0025903b7d66       no              eth0
                                                        eth1
                                                        eth2
                                                        eth3
                                                        tap100i0
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/107973/peter" target="_blank">Peter</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/404346/xen-hvm-windows-2008-network-bridge" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/xen-hvm-windows-2008-network-bridge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
