<?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>SubNetWorld</title>
	<atom:link href="http://subnetworld.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://subnetworld.com</link>
	<description>About our works</description>
	<lastBuildDate>Sat, 05 Feb 2011 20:00:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Cloudstack test environment</title>
		<link>http://subnetworld.com/?p=51</link>
		<comments>http://subnetworld.com/?p=51#comments</comments>
		<pubDate>Tue, 25 Jan 2011 18:18:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://subnetworld.com/?p=51</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;I played turning the local storage from a Xen Server into an NFS volume. Use this to be shared in a Xen and using to test the live migration using only 2 boxes. Was a nice test and easy to build. But the final words was: &#8220;And now&#8230;&#8221;. It it a very good test but [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I played turning the local storage from a Xen Server into an NFS volume. Use this to be shared in a Xen and using to test the live migration using only 2 boxes. Was a nice test and easy to build. But the final words was: &#8220;And now&#8230;&#8221;. It it a very good test but no other utility, until&#8230;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Until I need to test the new beta 2.2 version of Cloudstack and I was forced to have again a small test environment. And I testing the beta version using only 2 IBMs xServer 3550 XEON dual core, one whitebox server and two Linksys switches.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&#8217;m using separate storage network setup in order to have the best nfs result and also I will play with virtual network for beginning.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Let see first the preparation:</p>
<ul><strong>First tune-up one host to become a decent NFS server</strong></ul>
<li>Increasing the amount of memory associated with socket buffers<br />
<code>echo 262143 > /proc/sys/net/core/rmem_max<br />
echo 262143 > /proc/sys/net/core/rmem_default</code><br />
This will increase the amount of memory available for socket input queues. The &#8220;wmem_*&#8221; values do the same for output queues.<br />
These reduce the amount of work the TCP stack has to do, so is often helpful in this situation.<br />
<code>echo 0 > /proc/sys/net/ipv4/tcp_sac<br />
echo 0 > /proc/sys/net/ipv4/tcp_timestamps</code></li>
<li>Modify dedicated fixed amount of memory for dom0 from 512MB to 3GB will give us more memory for nfs<br />
<code>vi  /boot/extlinux.conf</code><br />
Change for both tage xe si xe-serial value dom0_mem from 512M to 3072M and apply the changes using this commands<br />
<code>. /etc/xensource-inventory<br />
staticmax=`xe vm-param-get uuid=$CONTROL_DOMAIN_UUID param-name=memory-static-max`<br />
echo staticmax=$staticmax<br />
xe vm-param-set uuid=$CONTROL_DOMAIN_UUID memory-dynamic-max=$staticmax<br />
xe vm-memory-target-set uuid=$CONTROL_DOMAIN_UUID target=$staticmax</code><br />
Restart the server and check the new value for &#8220;Maximum target&#8221; to be 3GB and &#8220;High-mem balloon&#8221; to be different than 0<br />
<code>cat /proc/xen/balloon</code></li>
<ul><strong>Build your NFS storage</strong></ul>
]]></content:encoded>
			<wfw:commentRss>http://subnetworld.com/?feed=rss2&#038;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

