<?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>All Free For You &#187; CentOS</title>
	<atom:link href="http://tusforyou.com/category/lunix/centos/feed" rel="self" type="application/rss+xml" />
	<link>http://tusforyou.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Aug 2010 17:05:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How To Install Openbravo ERP On CentOS 5.2 – Page 2</title>
		<link>http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2-p2</link>
		<comments>http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2-p2#comments</comments>
		<pubDate>Thu, 26 Aug 2010 16:52:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Openbravo]]></category>
		<category><![CDATA[page]]></category>

		<guid isPermaLink="false">http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2-p2-2</guid>
		<description><![CDATA[This howto describes how to set up Openbravo ERP (enterprise management system) on CentOS 5.2 using PostgreSQL 8.3. Openbravo is an open source ERP solution designed specifically for the SME (small to midsize firm). Developed in a web based environment, it includes many robust functionalities which are considered part of the extended ERP: procurement and [...]]]></description>
			<content:encoded><![CDATA[<p>This howto describes how to set up Openbravo ERP (enterprise management system) on CentOS 5.2 using PostgreSQL 8.3. Openbravo is an open source ERP solution designed specifically for the SME (small to midsize firm). Developed in a web based environment, it includes many robust functionalities which are considered part of the extended ERP: procurement and warehouse management, project and service management, production management, and financial management.<span id="more-5159"></span>
<div class="node">
<div class="content">
<h4>3.3Apache Tomcat 5.5</h4>
<p>	I have not tried the bundled Apache Tomcat in the CentOS 5 Repository, I went ahead and downloaded it anyway from the tomcat.apache.org site:
</p>
<p class="command">cd /opt</p>
<p class="command">wget http://apache.cyberuse.com/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.tar.gz</p>
<p class="command">tar xzf apache-tomcat-5.5.27.tar.gz</p>
<p class="command">mv apache-tomcat-5.5.27 tomcat</p>
<p>Start the Tomcat Daemon and send it to the background: </p>
<p class="command">/opt/tomcat/bin/startup.sh &amp;</p>
<p>Append it to the <span class="system">rc.local</span> file to start at boot time:</p>
<p class="command">echo &#8220;/opt/tomcat/bin/startup.sh &amp;&#8221; &gt;&gt; /etc/rc.local</p>
<p>&nbsp;</p>
<h4>3.4Apache Ant 1.7</h4>
<p>	I have gone ahead and downloaded the source for apache ant too as I want to keep everything consistent and so it doesn`t break the CentOS installation.With this technique however, you can easily remove all the exported directories and delete the applications directory and install the stock rpmsupplied with CentOS later if you like.
</p>
<p class="command">cd /opt</p>
<p class="command">wget http://apache.promopeddler.com/ant/binaries/apache-ant-1.7.1-bin.tar.gz</p>
<p class="command">tar xzf apache-ant-1.7.1-bin.tar.gz</p>
<p class="command">mv apache-ant-1.7.1 ant</p>
<p class="command">echo &#8220;export ANT_HOME=/opt/ant&#8221; &gt;&gt; /etc/rc.local</p>
<p class="command">export ANT_HOME=/opt/ant</p>
<p>&nbsp;</p>
<h3>4. Downloading and Installing OpenBravo 2.4<br />
</h3>
<p>	I am using OpenBravo 2.4 because this Howto was tested and declared working. However, there is a new release 2.5 which I have not tested and so you can try atyour won RISK.
</p>
<p class="command">cd /tmp</p>
<p>Download the installation binary from SourceForge:</p>
<p class="command">wget http://surfnet.dl.sourceforge.net/sourceforge/openbravo/OpenbravoERP_2.40-linux-installer.bin</p>
<p>Make it executable:</p>
<p class="command">chmod +x OpenbravoERP_2.40-linux-installer.bin</p>
<p>Run the installer:</p>
<p class="command">./OpenbravoERP_2.40-linux-installer.bin</p>
<p>A text based installer will guide you through the installation. First press a few times ENTER to read the single parts of the license agreement. Type in yes at&nbsp;the end if you agree with it:</p>
<p><span class="system">Do you accept this license? [y/n]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">y</span></span></p>
<p>Before the installation begins you&#8217;ll be asked a few questions &#8211; answer them as follows:</p>
<p class="system">Please specify the directory where Openbravo ERP will be installed</p>
<p><span class="system">[/opt/OpenbravoERP]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please specify a directory for the Openbravo ERP attachments</p>
<p><span class="system">[/opt/OpenbravoERP/AppsOpenbravo/attachments]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Installation mode</p>
<p class="system">Please select the installation mode you wish to perform</p>
<p class="system">[1] Complete</p>
<p class="system">The database and the application server in the same computer</p>
<p class="system">[2] Distributed</p>
<p class="system">The database and the application server in different computers</p>
<p><span class="system">Please choose an option [1] : </span><span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please select the installation type you wish to perform</p>
<p class="system">[1] Standard</p>
<p class="system">Installs the database and sets up the application server.</p>
<p class="system">Recommended.</p>
<p class="system">[2] Development</p>
<p class="system">Installs the database and and sets up the application server</p>
<p class="system">through a compilation process.</p>
<p class="system">Recommended for developers.</p>
<div></div>
<p><span class="system">Please choose an option [1] :</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please specify the directory where the JDK is located</p>
<p><span class="system">[/opt/java]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please specify the location where the Ant executable is located</p>
<p><span class="system">[/opt/ant/bin/ant]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please specify the directory where Tomcat is located.</p>
<p class="system">In case of having Tomcat split into 2 directories, select the one containing the webapps directory</p>
<p><span class="system">[/opt/tomcat]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please select a database</p>
<p class="system">[1] PostgreSQL</p>
<p class="system">[2] Oracle</p>
<p><span class="system">Please choose an option [1] : </span><span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please specify the directory where the binaries of the PostgreSQL installation are located (psql, pg_restore, vacuumdb)</p>
<p><span class="system">[/usr/bin]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please enter the IP address of the PostgreSQL database</p>
<p><span class="system">Database host [localhost]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please enter the port of the PostgreSQL database</p>
<p><span class="system">Database port [5432]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Enter the password for your &#8220;postgres&#8221; administrator user</p>
<p><span class="system">Password :</span> <span class="highlight">&lt;&#8211; testpassword</span></p>
<p><span class="system">Retype password :</span> <span class="highlight">&lt;&#8211; testpassword</span></p>
<p class="system">Please enter the name of the PostgreSQL database</p>
<p><span class="system">Database name [openbravo]:</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Please enter a username for the Openbravo ERP PostgreSQL database</p>
<p><span class="system">Username [tad]:</span> <span class="highlight">&lt;&#8211; admin</span></p>
<p class="system">Please enter a password for the new database user</p>
<p><span class="system">Password :</span> <span class="highlight">&lt;&#8211; adminpassword (a password of your choice)</span></p>
<p><span class="system">Retype password :</span> <span class="highlight">&lt;&#8211; adminpassword</span></p>
<p class="system">Enter a context name.</p>
<p class="system">This is used in the URL to access Openbravo ERP:</p>
<p class="system">http://&lt;ip_address&gt;:&lt;port&gt;/context_name</p>
<p><span class="system">Context name [openbravo]:</span> <span class="highlight">&lt;&#8211; openbravoerp</span></p>
<p class="system">Please select the preferred date and time formats</p>
<p class="system">Date format</p>
<p class="system">Date format</p>
<p class="system">[1] DD MM YYYY</p>
<p class="system">[2] MM DD YYYY</p>
<p class="system">[3] YYYY MM DD</p>
<p><span class="system">Please choose an option [1] :</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Date separator</p>
<p class="system">[1] -</p>
<p class="system">[2] /</p>
<p class="system">[3] .</p>
<p class="system">[4] :</p>
<p><span class="system">Please choose an option [2] :</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Time format</p>
<p class="system">[1] 12h</p>
<p class="system">[2] 24h</p>
<p><span class="system">Please choose an option [2] :</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Time separator</p>
<p class="system">[1] :</p>
<p class="system">[2] .</p>
<p><span class="system">Please choose an option [1] :</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Should the installer populate the database with demo data?</p>
<p><span class="system">[Y/n]: Y</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">Setup is now ready to begin installing Openbravo ERP on your computer.</p>
<p><span class="system">Do you want to continue? [Y/n]: Y</span> <span class="highlight">&lt;&#8211; <span style="font-weight: bold">ENTER</span></span></p>
<p class="system">The installation will take a few minutes, so please be patient:</p>
<p class="system">Please wait while Setup installs Openbravo ERP on your computer.</p>
<p class="system">Installing</p>
<p class="system">0% ______________ 50% ______________ 100%</p>
<p class="system">#########################################</p>
<p class="system">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p class="system">Setup has finished installing Openbravo ERP on your computer.</p>
<p>&nbsp;</p>
<h3>5. Testing the Waters</h3>
<p>If everything up to this point is successful, then you have won! &nbsp;You can access Openbravo at <span class="system">http://www.example.com:8080/openbravoerp</span> or <span class="system">http://192.168.1.1:8080/openbravoerp</span>.&nbsp;</p>
<p>Log in with the username <span class="system">Openbravo</span> and the password <span class="system">openbravo.</span></p>
<p><span class="Apple-style-span" style="font-weight: bold">Note:</span> I have decided not to post any screen shot of this as this has been tested and declared working. If you need more information, you can use the links provided below as reference.</p>
<p>&nbsp;</p>
<h3>6. Links</h3>
<p>Openbravo: <a href="http://www.openbravo.com/" target="_blank"><span class="Apple-style-span"><span class="Apple-style-span">http://www.openbravo.com/</span></span></a></p>
<p>Centos: <a href="http://www.centos.org" target="_blank"><span class="Apple-style-span"><span class="Apple-style-span">http://www.centos.org</span></span></a></p>
<p>&nbsp;PostgreSQL 8.3:&nbsp;<a href="http://yum.pgsqlrpms.org" target="_blank"><span class="Apple-style-span"><span class="Apple-style-span">http://yum.pgsqlrpms.org</span></span></a></p>
<div class="book">
<div class="nav">
<div class="links">
<div class="prev"><a href="how-to-install-openbravo-erp-on-centos-5.2" title="View the previous page.">previous</a></div>
<div class="next">&nbsp;</div>
<div class="up"><a href="how-to-install-openbravo-erp-on-centos-5.2" title="View this page&#039;s parent section.">up</a></div>
</div>
<div class="titles">
<div class="prev">How To Install Openbravo ERP On CentOS 5.2</div>
</div>
</div>
</div>
<p>
<div class="copyright-footer">Copyright © 2009 Mfawa Alfred Onen<br />All Rights Reserved.</div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2&amp;headline=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2&amp;u=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2+%E2%80%93+Page+2&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2-p2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Install Openbravo ERP On CentOS 5.2</title>
		<link>http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2</link>
		<comments>http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2#comments</comments>
		<pubDate>Thu, 26 Aug 2010 16:20:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Openbravo]]></category>

		<guid isPermaLink="false">http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2</guid>
		<description><![CDATA[This howto describes how to set up Openbravo ERP (enterprise management system) on CentOS 5.2 using PostgreSQL 8.3. Openbravo is an open source ERP solution designed specifically for the SME (small to midsize firm). Developed in a web based environment, it includes many robust functionalities which are considered part of the extended ERP: procurement and [...]]]></description>
			<content:encoded><![CDATA[<p>This howto describes how to set up Openbravo ERP (enterprise management system) on CentOS 5.2 using PostgreSQL 8.3. Openbravo is an open source ERP solution designed specifically for the SME (small to midsize firm). Developed in a web based environment, it includes many robust functionalities which are considered part of the extended ERP: procurement and warehouse management, project and service management, production management, and financial management.<span id="more-5150"></span>
<div class="node">
<div class="content">
<h2>How To Install Openbravo ERP On CentOS 5.2</h2>
<p>This howto describes how to set up Openbravo ERP (enterprise management system) on CentOS 5.2 using PostgreSQL 8.3. Openbravo is an open source ERP solution&nbsp;designed specifically for the SME (small to midsize firm). Developed in a web based environment, it includes many robust functionalities which are&nbsp;considered part of the extended ERP: procurement and warehouse management, project and service management, production management, and financial&nbsp;management.</p>
<p>This is a follow up of Falko`s Wonderful &#8220;How To Install Openbravo ERP On Ubuntu 8.10&#8243;.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>&nbsp;</p>
<h3>&nbsp;1. Preliminary Note</h3>
<p>&nbsp;This howto assumes you have freshly installed CentOS system along with the following.</p>
<p>&nbsp;a) Hostname:- <span class="system"><span class="Apple-style-span">server1.example.com</span></span></p>
<p>&nbsp;b) Server IP:- <span class="system"><span class="Apple-style-span">192.168.1.1</span></span></p>
<p>&nbsp;You must have root privileges to run most of the actions described in this Howto.</p>
<p>&nbsp;</p>
<h3>2. Setup DNS</h3>
<p class="command">yum install bind bind-utils</p>
<p class="command">#nano /etc/named.conf</p>
<pre>options
{ directory	"/var/named"; dump-file	"data/cache_dump.db"; statistics-file"data/named_stats.txt"; memstatistics-file"data/named_mem_stats.txt"; forwarders {ISP_DNS_IP;};
};
zone "example.com" IN {type master;file "forward.zone";
};
</pre>
<p class="command">#nano /var/named/forward.zone</p>
<pre>$TTL 3h
@	IN	SOA	server1	muffycompoqm.gmail.com. (	1	; Serial Number	15m	; Refresh Rate	30m	; Retry Interval	1h	; Expire Delay	2h )	; Negative Cache TTL
@	IN	NS	server1
@	IN	A	192.168.1.1
server1	IN	A	192.168.1.1
www	IN	CNAME	server1.example.com.
ftp	IN	CNAME server1.example.com.</pre>
<p class="command">#nano /etc/resolv.conf</p>
<div></div>
<pre>search example.com
nameserver 127.0.0.1</pre>
<p class="command">#chkconfig &#8211;levels 35 named on </p>
<p class="command">#service named start</p>
<p>&nbsp;</p>
<h3>3. Installing Openbravo Dependencies</h3>
<h4>3.1Postgresql 8.3</h4>
<p>	Exclude Postgresql from the CentOS base repository as OpenBravo uses Postgresql 8.3 which is not included in the base repository.
</p>
<p class="command">#nano /etc/yum.repos.d/CentOS-Base.repo</p>
<p>Add to the bottom of the file:</p>
<pre>exclude=postgresql*</pre>
<p>Download and install the RPMs from <a href="http://yum.pgsqlrpms.org" target="_blank">http://yum.pgsqlrpms.org</a>: </p>
<p class="command">wget http://yum.pgsqlrpms.org/reporpms/8.3/pgdg-centos-8.3-6.noarch.rpm</p>
<p class="command">rpm -ivh pgdg-centos-8.3-6.noarch.rpm</p>
<p class="command">yum install postgresql postgresql-server</p>
<p>Afterwards we have to set the PostgreSQL admin password:</p>
<p class="command">sed -i &#8216;s/ident sameuser$/trust/&#8217; /etc/postgresql/8.3/main/pg_hba.conf</p>
<p class="command">service postgresql start</p>
<p class="command">chkconfig &#8211;levels 35 postgresql on</p>
<p>Open a PostgreSQL shell and alter the postgres user role:</p>
<p class="command">psql -U postgres</p>
<p class="command">alter role postgres with password &#8216;testpassword&#8217;;\q</p>
<p class="command">sed -i &#8216;s/trust$/md5/&#8217; /etc/postgresql/8.3/main/pg_hba.conf</p>
<p class="command">service postgresql reload</p>
<p class="command">service postgresql restart</p>
<p>&nbsp;</p>
<h4>3.2 Sun Java JDK 1.6<br />
</h4>
<p>You will have to download Java 1.6 JDK from <a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">http://java.sun.com/javase/downloads/index.jsp</a>.</p>
<p class="command">cp jdk-6u13-linux-i586.bin.bin /opt</p>
<p class="command">cd /opt</p>
<p class="command">sh jdk-6u13-linux-i586.bin.bin &#8211;unpack</p>
<p class="command">mv jdk1-* java</p>
<p class="command">echo &#8220;export JAVA_HOME=/opt/java&#8221; &gt;&gt; /etc/rc.local</p>
<p class="command">export JAVA_HOME=/opt/java</p>
<div class="book">
<div class="tree">
<div class="menu">
<ul>
<li class="leaf"><a href="how-to-install-openbravo-erp-on-centos-5.2-p2">How To Install Openbravo ERP On CentOS 5.2 &#8211; Page 2</a></li>
</ul>
</div>
</div>
<div class="nav">
<div class="links">
<div class="prev">&nbsp;</div>
<div class="next"><a href="how-to-install-openbravo-erp-on-centos-5.2-p2" title="View the next page.">next</a></div>
</div>
<div class="titles">
<div class="next">How To Install Openbravo ERP On CentOS 5.2 &#8211; Page 2</div>
</div>
</div>
</div>
<p>
<div class="copyright-footer">Copyright © 2009 Mfawa Alfred Onen<br />All Rights Reserved.</div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2&amp;headline=How+To+Install+Openbravo+ERP+On+CentOS+5.2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=How+To+Install+Openbravo+ERP+On+CentOS+5.2&amp;u=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=How+To+Install+Openbravo+ERP+On+CentOS+5.2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2&amp;title=How+To+Install+Openbravo+ERP+On+CentOS+5.2&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fhow-to-install-openbravo-erp-on-centos-5-2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/how-to-install-openbravo-erp-on-centos-5-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bigbluebutton CentOS install failed_1</title>
		<link>http://tusforyou.com/bigbluebutton-centos-install-failed_1</link>
		<comments>http://tusforyou.com/bigbluebutton-centos-install-failed_1#comments</comments>
		<pubDate>Sat, 22 May 2010 05:28:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Bigbluebutton]]></category>
		<category><![CDATA[failed_1]]></category>
		<category><![CDATA[Install]]></category>

		<guid isPermaLink="false">http://tusforyou.com/bigbluebutton-centos-install-failed_1</guid>
		<description><![CDATA[Bigbluebutton CentOS install failed]]></description>
			<content:encoded><![CDATA[<p>					<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ABSFB-MlzaA?fs=1"></param><param name="allowFullScreen" value="true"></param>
					<embed src="http://www.youtube.com/v/ABSFB-MlzaA?fs=1" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object><br />
Bigbluebutton CentOS install failed</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1&amp;title=Bigbluebutton+CentOS+install+failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1&amp;title=Bigbluebutton+CentOS+install+failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1&amp;title=Bigbluebutton+CentOS+install+failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1&amp;headline=Bigbluebutton+CentOS+install+failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Bigbluebutton+CentOS+install+failed_1&amp;url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Bigbluebutton+CentOS+install+failed_1&amp;u=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Bigbluebutton+CentOS+install+failed_1&amp;url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Bigbluebutton+CentOS+install+failed_1&amp;url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Bigbluebutton+CentOS+install+failed_1&amp;url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1&amp;title=Bigbluebutton+CentOS+install+failed_1&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fbigbluebutton-centos-install-failed_1" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/bigbluebutton-centos-install-failed_1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High-Availability Storage With GlusterFS On CentOS 5.4 &#8211; Automatic File Replication (Mirror) Across Two Storage Servers Page 2</title>
		<link>http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2</link>
		<comments>http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2#comments</comments>
		<pubDate>Fri, 14 May 2010 16:34:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Across]]></category>
		<category><![CDATA[Automatic]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[GlusterFS]]></category>
		<category><![CDATA[HighAvailability]]></category>
		<category><![CDATA[Mirror]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2</guid>
		<description><![CDATA[This tutorial shows how to set up a high-availability storage withtwo storage servers (CentOS 5.4) that use GlusterFS. Eachstorage server will be a mirror of the other storage server, and fileswill be replicated automatically across both storage servers. The clientsystem (CentOS 5.4 as well) will be able to access the storage as if itwas a [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial shows how to set up a high-availability storage withtwo storage servers (CentOS 5.4) that use GlusterFS. Eachstorage server will be a mirror of the other storage server, and fileswill be replicated automatically across both storage servers. The clientsystem (CentOS 5.4 as well) will be able to access the storage as if itwas a local filesystem.<br />
GlusterFS is a clustered file-system capable of scaling to severalpeta-bytes. It aggregates various storage bricks over Infiniband RDMA orTCP/IP interconnect into one large parallel network file system.Storage bricks can be made of any commodity hardware such as x86_64servers with SATA-II RAID and Infiniband HBA.<span id="more-2922"></span>
<div class="node">
<div class="content">
<h3>3 Setting Up The GlusterFS Client</h3>
<p class="highlight">client1.example.com:</p>
<p>GlusterFS isn&#8217;t available as a package for CentOS 5.4, therefore we have to build it ourselves. First we install the prerequisites:</p>
<p class="command">yum groupinstall &#8216;Development Tools&#8217;</p>
<p class="command">yum groupinstall &#8216;Development Libraries&#8217;</p>
<p class="command">yum install libibverbs-devel fuse-devel</p>
<p>Then we load the <span class="system">fuse</span> kernel module&#8230;</p>
<p class="command">modprobe fuse</p>
<p>&#8230; and create the file <span class="system">/etc/rc.modules</span> with the following contents so that the <span class="system">fuse</span> kernel module will be loaded automatically whenever the system boots: </p>
<p class="command">vi /etc/rc.modules</p>
<tr>
<td class="">
<pre>modprobe fuse</pre>
</td>
</tr>
<p>Make the file executable:</p>
<p class="command">chmod +x /etc/rc.modules </p>
<p>Then we download the GlusterFS 2.0.9 sources (<span class="highlight">please note that this is the same version that is installed on the server!</span>) and build GlusterFS as follows:</p>
<p class="command">cd /tmp<br /> wget http://ftp.gluster.com/pub/gluster/glusterfs/2.0/LATEST/glusterfs-2.0.9.tar.gz<br /> tar xvfz glusterfs-2.0.9.tar.gz<br /> cd glusterfs-2.0.9<br /> ./configure</p>
<p>At the end of the <span class="system">./configure</span> command, you should see something like this:</p>
<p class="system">[...]<br /> GlusterFS&nbsp;configure&nbsp;summary<br /> ===========================<br /> FUSE&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> Infiniband&nbsp;verbs&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> epoll&nbsp;IO&nbsp;multiplex&nbsp;:&nbsp;yes<br /> Berkeley-DB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> libglusterfsclient&nbsp;:&nbsp;yes<br /> argp-standalone&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;no</p>
<p class="command">make &amp;&amp; make install<br /> ldconfig</p>
<p>Check the GlusterFS version afterwards (should be 2.0.9):</p>
<p class="command">glusterfs &#8211;version</p>
<p class="system">[root@client1 glusterfs-2.0.9]# glusterfs &#8211;version<br /> glusterfs 2.0.9 built on Mar 1 2010 15:58:06<br /> Repository revision: v2.0.9<br /> Copyright (c) 2006-2009 Gluster Inc. &lt;http://www.gluster.com&gt;<br /> GlusterFS comes with ABSOLUTELY NO WARRANTY.<br /> You may redistribute copies of GlusterFS under the terms of the GNU General Public License.<br /> [root@client1 glusterfs-2.0.9]#</p>
<p>Then we create the following two directories:</p>
<p class="command">mkdir /mnt/glusterfs<br /> mkdir /etc/glusterfs</p>
<p>Next we create the file <span class="system">/etc/glusterfs/glusterfs.vol</span>:</p>
<p class="command">vi /etc/glusterfs/glusterfs.vol</p>
<tr>
<td class="">
<pre>volume remote1 type protocol/client option transport-type tcp option remote-host server1.example.com option remote-subvolume brick
end-volumevolume remote2 type protocol/client option transport-type tcp option remote-host server2.example.com option remote-subvolume brick
end-volumevolume replicate type cluster/replicate subvolumes remote1 remote2
end-volumevolume writebehind type performance/write-behind option window-size 1MB subvolumes replicate
end-volumevolume cache type performance/io-cache option cache-size 512MB subvolumes writebehind
end-volume</pre>
</td>
</tr>
<p>Make sure you use the correct server hostnames or IP addresses in the <span class="system">option remote-host</span> lines!</p>
<p>That&#8217;s it! Now we can mount the GlusterFS filesystem to <span class="system">/mnt/glusterfs</span> with one of the following two commands:</p>
<p class="command">glusterfs -f /etc/glusterfs/glusterfs.vol /mnt/glusterfs</p>
<p>or</p>
<p class="command">mount -t glusterfs /etc/glusterfs/glusterfs.vol /mnt/glusterfs</p>
<p>You should now see the new share in the outputs of&#8230;</p>
<p class="command">mount</p>
<p class="system">[root@client1 ~]# mount<br />
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)<br />
proc on /proc type proc (rw)<br />
sysfs on /sys type sysfs (rw)<br />
devpts on /dev/pts type devpts (rw,gid=5,mode=620)<br />
/dev/sda1 on /boot type ext3 (rw)<br />
tmpfs on /dev/shm type tmpfs (rw)<br />
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)<br />
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)<br />
glusterfs#/etc/glusterfs/glusterfs.vol on /mnt/glusterfs type fuse (rw,allow_other,default_permissions,max_read=131072)<br />
[root@client1 ~]#</p>
<p>&#8230; and&#8230;</p>
<p class="command">df -h</p>
<p class="system">[root@client1&nbsp;~]#&nbsp;df&nbsp;-h<br />
Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size&nbsp;&nbsp;Used&nbsp;Avail&nbsp;Use%&nbsp;Mounted&nbsp;on<br />
/dev/mapper/VolGroup00-LogVol00<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;29G&nbsp;&nbsp;2.2G&nbsp;&nbsp;&nbsp;25G&nbsp;&nbsp;&nbsp;9%&nbsp;/<br />
/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;99M&nbsp;&nbsp;&nbsp;13M&nbsp;&nbsp;&nbsp;82M&nbsp;&nbsp;14%&nbsp;/boot<br />
tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;187M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;187M&nbsp;&nbsp;&nbsp;0%&nbsp;/dev/shm<br />
glusterfs#/etc/glusterfs/glusterfs.vol<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;28G&nbsp;&nbsp;2.3G&nbsp;&nbsp;&nbsp;25G&nbsp;&nbsp;&nbsp;9%&nbsp;/mnt/glusterfs<br />
[root@client1&nbsp;~]#</p>
<p>(<span class="system">server1.example.com</span> and <span class="system">server2.example.com</span> each have 28GB of space for the GlusterFS filesystem, but because the data is mirrored, the client doesn&#8217;t see 56GB (2 x 28GB), but only 28GB.) </p>
<p>Instead of mounting the GlusterFS share manually on the client, you could modify <span class="system">/etc/fstab</span> so that the share gets mounted automatically when the client boots. </p>
<p> Open <span class="system">/etc/fstab</span> and append the following line: </p>
<p class="command">vi /etc/fstab</p>
<tr>
<td class="">
<pre>[...]
/etc/glusterfs/glusterfs.vol/mnt/glusterfsglusterfsdefaults00</pre>
</td>
</tr>
<p>To test if your modified <span class="system">/etc/fstab</span> is working, reboot the client: </p>
<p class="command">reboot </p>
<p>After the reboot, you should find the share in the outputs of&#8230; </p>
<p class="command">df -h </p>
<p>&#8230; and&#8230;</p>
<p class="command">mount</p>
<p>&nbsp;</p>
<h3>4 Testing</h3>
<p>Now let&#8217;s create some test files on the GlusterFS share:</p>
<p class="highlight">client1.example.com:</p>
<p class="command">touch /mnt/glusterfs/test1<br />
touch /mnt/glusterfs/test2</p>
<p>Now let&#8217;s check the <span class="system">/data/export</span> directory on <span class="system">server1.example.com</span> and <span class="system">server2.example.com</span>. The <span class="system">test1</span> and <span class="system">test2</span> files should be present on each node:</p>
<p><span class="highlight">server1.example.com/server2.example.com:</span></p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server1 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:50 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:50 test2<br />
[root@server1 ~]#</p>
<p>Now we shut down <span class="system">server1.example.com</span> and add/delete some files on the GlusterFS share on <span class="system">client1.example.com</span>.</p>
<p class="highlight">server1.example.com:</p>
<p class="command">shutdown -h now</p>
<p class="highlight">client1.example.com:</p>
<p class="command">touch /mnt/glusterfs/test3<br /> touch /mnt/glusterfs/test4<br />
rm -f /mnt/glusterfs/test2</p>
<p>The changes should be visible in the <span class="system">/data/export</span> directory on <span class="system">server2.example.com</span>:</p>
<p class="highlight">server2.example.com:</p>
<p class="command">ls -l /data/export</p>
<p class="system">[root@server2 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:50 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:53 test3<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:53 test4<br />
[root@server2 ~]#</p>
<p>Let&#8217;s boot <span class="system">server1.example.com</span> again and take a look at the <span class="system">/data/export</span> directory:</p>
<p class="highlight">server1.example.com:</p>
<p class="command">ls -l /data/export</p>
<p class="system">[root@server1 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:50 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:50 test2<br />
[root@server1 ~]#</p>
<p>As you see, <span class="system">server1.example.com</span> hasn&#8217;t noticed the changes that happened while it was down. This is easy to fix, all we need to do is invoke a read command on the GlusterFS share on <span class="system">client1.example.com</span>, e.g.:</p>
<p class="highlight">client1.example.com:</p>
<p class="command">ls -l /mnt/glusterfs/</p>
<p class="system">[root@client1 ~]# ls -l /mnt/glusterfs/<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:50 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:53 test3<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:53 test4<br />
[root@client1 ~]#</p>
<p>Now take a look at the <span class="system">/data/export</span> directory on <span class="system">server1.example.com</span> again, and you should see that the changes have been replicated to that node:</p>
<p class="highlight">server1.example.com:</p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server1 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:50 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:53 test3<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-22 16:53 test4<br />
[root@server1 ~]#</p>
<p>&nbsp;</p>
<h3>5 Links</h3>
<ul>
<li>GlusterFS: <a href="http://www.gluster.org/" target="_blank">http://www.gluster.org/</a></li>
<li>CentOS: <a href="http://www.centos.org/" target="_blank">http://www.centos.org/</a></li>
</ul>
<div class="book">
<div class="nav">
<div class="links">
<div class="prev"><a href="high-availability-storage-with-glusterfs-on-centos-5.4-automatic-file-replication-mirror-across-two-storage-servers" title="View the previous page.">previous</a></div>
<div class="next">&nbsp;</div>
<div class="up"><a href="high-availability-storage-with-glusterfs-on-centos-5.4-automatic-file-replication-mirror-across-two-storage-servers" title="View this page&#39;s parent section.">up</a></div>
</div>
<div class="titles">
<div class="prev">High-Availability Storage With GlusterFS On CentOS 5.4 &#8211; Automatic File Replication (Mirror) Across Two Storage Servers</div>
</div>
</div>
</div>
<p>
<div class="copyright-footer">Copyright © 2010 Falko Timme<br />All Rights Reserved.</div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2&amp;headline=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2&amp;u=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers+Page+2&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers-p2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High-Availability Storage With GlusterFS On CentOS 5.4 &#8211; Automatic File Replication (Mirror) Across Two Storage Servers</title>
		<link>http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers</link>
		<comments>http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers#comments</comments>
		<pubDate>Fri, 14 May 2010 16:34:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Across]]></category>
		<category><![CDATA[Automatic]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[GlusterFS]]></category>
		<category><![CDATA[HighAvailability]]></category>
		<category><![CDATA[Mirror]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers</guid>
		<description><![CDATA[This tutorial shows how to set up a high-availability storage withtwo storage servers (CentOS 5.4) that use GlusterFS. Eachstorage server will be a mirror of the other storage server, and fileswill be replicated automatically across both storage servers. The clientsystem (CentOS 5.4 as well) will be able to access the storage as if itwas a [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial shows how to set up a high-availability storage withtwo storage servers (CentOS 5.4) that use GlusterFS. Eachstorage server will be a mirror of the other storage server, and fileswill be replicated automatically across both storage servers. The clientsystem (CentOS 5.4 as well) will be able to access the storage as if itwas a local filesystem.<br />
GlusterFS is a clustered file-system capable of scaling to severalpeta-bytes. It aggregates various storage bricks over Infiniband RDMA orTCP/IP interconnect into one large parallel network file system.Storage bricks can be made of any commodity hardware such as x86_64servers with SATA-II RAID and Infiniband HBA.<span id="more-2921"></span>
<div class="node">
<div class="content">
<h2>High-Availability StorageWith GlusterFS On CentOS 5.4 &#8211; Automatic File Replication (Mirror) Across Two Storage Servers</h2>
<p>Version 1.0 <br />
Author: Falko Timme &lt;ft [at] falkotimme [dot] com&gt; <br />
<a href="http://twitter.com/falko" target="_blank"><img src="http://tusforyou.com/images/socialmedia/twitter.png" alt="twitter High Availability Storage With GlusterFS On CentOS 5.4   Automatic File Replication (Mirror) Across Two Storage Servers" border="0" width="16px" height="16px" title="High Availability Storage With GlusterFS On CentOS 5.4   Automatic File Replication (Mirror) Across Two Storage Servers" /></a> <a href="http://twitter.com/falko" target="_blank">Follow me on Twitter</a><br />
Last edited 02/22/2010</p>
<p>This tutorial shows how to set up a high-availability storage with two storage servers (CentOS 5.4) that use <a href="http://www.gluster.org/" target="_blank">GlusterFS</a>. Each storage server will be a mirror of the other storage server, and files will be replicated automatically across both storage servers. The client system (CentOS 5.4 as well) will be able to access the storage as if it was a local filesystem.GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. Storage bricks can be made of any commodity hardware such as x86_64 servers with SATA-II RAID and Infiniband HBA.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>&nbsp;</p>
<h3>1 Preliminary Note</h3>
<p>In this tutorial I use three systems, two servers and a client:</p>
<ul>
<li><span class="system">server1.example.com</span>: IP address <span class="system">192.168.0.100</span> (server)</li>
<li><span class="system">server2.example.com</span>: IP address <span class="system">192.168.0.101</span> (server)</li>
<li><span class="system">client1.example.com</span>: IP address <span class="system">192.168.0.102</span> (client) </li>
</ul>
<p>All threesystems should be able to resolve the other systems&#8217; hostnames. If this cannot be done through DNS, you should edit the <span class="system">/etc/hosts</span> file so that it contains the followinglines on all three systems:</p>
<p class="command">vi /etc/hosts</p>
<tr>
<td class="">
<pre>[...]
192.168.0.100 server1.example.com server1
192.168.0.101 server2.example.com server2
192.168.0.102 client1.example.com client1
[...]</pre>
</td>
</tr>
<p>(It is also possible to use IP addresses instead of hostnames in the following setup. If you prefer to use IP addresses, you don&#8217;t have to care about whether the hostnames can be resolved or not.)</p>
<p>&nbsp;</p>
<h3>2 Setting Up The GlusterFS Servers</h3>
<p class="highlight">server1.example.com/server2.example.com:</p>
<p>GlusterFS isn&#8217;t available as a package for CentOS 5.4, therefore we have to build it ourselves. First we install the prerequisites:</p>
<p class="command">yum groupinstall &#8216;Development Tools&#8217;</p>
<p class="command">yum groupinstall &#8216;Development Libraries&#8217;</p>
<p class="command">yum install libibverbs-devel fuse-devel</p>
<p>Then we download the latest GlusterFS release from <a href="http://www.gluster.org/download.php" target="_blank">http://www.gluster.org/download.php</a> and build it as follows:</p>
<p class="command">cd /tmp<br /> wget http://ftp.gluster.com/pub/gluster/glusterfs/2.0/LATEST/glusterfs-2.0.9.tar.gz<br /> tar xvfz glusterfs-2.0.9.tar.gz<br /> cd glusterfs-2.0.9<br /> ./configure</p>
<p>At the end of the <span class="system">./configure</span> command, you should see something like this:</p>
<p class="system">[...]<br /> GlusterFS&nbsp;configure&nbsp;summary<br /> ===========================<br /> FUSE&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> Infiniband&nbsp;verbs&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> epoll&nbsp;IO&nbsp;multiplex&nbsp;:&nbsp;yes<br /> Berkeley-DB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> libglusterfsclient&nbsp;:&nbsp;yes<br /> argp-standalone&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;no</p>
<p> [root@server1&nbsp;glusterfs-2.0.9]#</p>
<p class="command">make &amp;&amp; make install<br /> ldconfig</p>
<p>Check the GlusterFS version afterwards (should be 2.0.9):</p>
<p class="command">glusterfs &#8211;version</p>
<p class="system">[root@server1 glusterfs-2.0.9]# glusterfs &#8211;version<br /> glusterfs 2.0.9 built on Mar 1 2010 15:34:50<br /> Repository revision: v2.0.9<br /> Copyright (c) 2006-2009 Gluster Inc. &lt;http://www.gluster.com&gt;<br /> GlusterFS comes with ABSOLUTELY NO WARRANTY.<br /> You may redistribute copies of GlusterFS under the terms of the GNU General Public License.<br /> [root@server1 glusterfs-2.0.9]#</p>
<p>Next we create a few directories:</p>
<p class="command">mkdir /data/<br /> mkdir /data/export<br /> mkdir /data/export-ns<br /> mkdir /etc/glusterfs</p>
<p>Now we create the GlusterFS server configuration file <span class="system">/etc/glusterfs/glusterfsd.vol</span> which defines which directory will be exported (<span class="system">/data/export</span>) and what client is allowed to connect (<span class="system">192.168.0.102</span> = <span class="system">client1.example.com</span>):</p>
<p class="command">vi /etc/glusterfs/glusterfsd.vol</p>
<tr>
<td class="">
<pre>volume posix type storage/posix option directory /data/export
end-volumevolume locks type features/locks subvolumes posix
end-volumevolume brick type performance/io-threads option thread-count 8 subvolumes locks
end-volumevolume server type protocol/server option transport-type tcp option auth.addr.brick.allow 192.168.0.102 subvolumes brick
end-volume</pre>
</td>
</tr>
<p>Please note that it is possible to use wildcards for the IP addresses (like <span class="system">192.168.*</span>) and that you can specify multiple IP addresses separated by comma (e.g. <span class="system">192.168.0.102,192.168.0.103</span>). </p>
<p>Afterwards we create the following symlink&#8230;</p>
<p class="command">ln -s /usr/local/sbin/glusterfsd /sbin/glusterfsd</p>
<p>&#8230; and then the system startup links for the GlusterFS server and start it:</p>
<p class="command">chkconfig &#8211;levels 35 glusterfsd on<br /> /etc/init.d/glusterfsd start</p>
<div class="book">
<div class="tree">
<div class="menu">
<ul>
<li class="leaf"><a href="high-availability-storage-with-glusterfs-on-centos-5.4-automatic-file-replication-mirror-across-two-storage-servers-p2">High-Availability Storage With GlusterFS On CentOS 5.4 &#8211; Automatic File Replication (Mirror) Across Two Storage Servers &#8211; Page 2</a></li>
</ul>
</div>
</div>
<div class="nav">
<div class="links">
<div class="prev">&nbsp;</div>
<div class="next"><a href="high-availability-storage-with-glusterfs-on-centos-5.4-automatic-file-replication-mirror-across-two-storage-servers-p2" title="View the next page.">next</a></div>
</div>
<div class="titles">
<div class="next">High-Availability Storage With GlusterFS On CentOS 5.4 &#8211; Automatic File Replication (Mirror) Across Two Storage Servers &#8211; Page 2</div>
</div>
</div>
</div>
<p>
<div class="copyright-footer">Copyright © 2010 Falko Timme<br />All Rights Reserved.</div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers&amp;headline=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers&amp;u=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers&amp;title=High-Availability+Storage+With+GlusterFS+On+CentOS+5.4+-+Automatic+File+Replication+%28Mirror%29+Across+Two+Storage+Servers&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fhigh-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/high-availability-storage-with-glusterfs-on-centos-5-4-automatic-file-replication-mirror-across-two-storage-servers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation Of BIND As A Secondary (Slave) DNS Server On CentOS</title>
		<link>http://tusforyou.com/installation-of-bind-as-a-secondary-slave-dns-server-on-centos</link>
		<comments>http://tusforyou.com/installation-of-bind-as-a-secondary-slave-dns-server-on-centos#comments</comments>
		<pubDate>Fri, 14 May 2010 16:34:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[BIND]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Secondary]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Slave]]></category>

		<guid isPermaLink="false">http://tusforyou.com/installation-of-bind-as-a-secondary-slave-dns-server-on-centos</guid>
		<description><![CDATA[After we have installed BIND as a master DNS server (NS1), we can now try to set up a secondaryDNS server (NS2) with BIND on CentOS. NS2 acts as a backup if there areproblems with NS1. Installation Of BIND As A Secondary (Slave) DNS ServerOn CentOS After we have installed BIND as a master DNS [...]]]></description>
			<content:encoded><![CDATA[<p>After we have installed BIND as a master DNS server (NS1), we can now try to set up a secondaryDNS server (NS2) with BIND on CentOS. NS2 acts as a backup if there areproblems with NS1.<span id="more-2920"></span>
<div class="node">
<div class="content">
<h2>Installation Of BIND As A Secondary (Slave) DNS ServerOn CentOS</h2>
<p>After we have installed BIND as a master DNS server (NS1) (as explained in my <a href="/bind-installation-on-centos" target="_blank">recent post</a>), we can now try to set up a secondary DNS server (NS2) with BIND on CentOS. NS2 acts as a backup if there are problems with NS1. </p>
<p><span class="highlight">Make sure you&#8217;ve successfully set up NS1, as described in my previous post! </span></p>
<p>NS1 with IP <span class="system">192.168.0.1</span><br /> NS2 with IP <span class="system">192.168.0.2</span><br /> Our domain: <span class="system">yourdomain.com</span></p>
<p>Now we can try setting up NS2. </p>
<p>&nbsp; </p>
<h3>1.&nbsp; Check your Bind package</h3>
<p class="command">[root@server ~]# rpm -qa bind*</p>
<p class="system">bind-libs-9.2.4-2</p>
<p class="system">bind-utils-9.2.4-2</p>
<p class="system">bind-9.2.4-2</p>
<p>&nbsp;</p>
<h3>2. Setting file /etc/resolv.conf</h3>
<p class="command">[root@server ~]# nano<br />
/etc/resolv.conf</p>
<p class="system">nameserver 192.168.0.1</p>
<p>&nbsp;</p>
<h3>3. Setting file /etc/named.conf</h3>
<p class="command">[root@server ~]# nano<br />
/etc/named.conf</p>
<pre>//
// named.conf for Red Hat caching-nameserver
//options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/// query-source address * port 53;
allow-transfer {208.99.198.184/32;};
};//
// a caching only nameserver config
//controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};zone "yourdomain.com" IN {
type slave;
file "/var/named/yourdomain.com.zone";
// allow-update { none; };
allow-transfer { 192.168.0.1/32; };
masters { 192.168.0.1; };
};zone "0.168.192.in-addr.arpa" IN {
type slave;
file "/var/named/0.168.192.rev";
// allow-update { none; };
allow-transfer { 192.168.0.1/32; };
masters { 192.168.0.1; };
};include "/etc/rndc.key";</pre>
<p>&nbsp;</p>
<h3>4. Change permission of the directory /var/named</h3>
<p class="command">[root@server ~]# chmod 777 -Rvf<br />
/var/named/</p>
<p class="system">mode of `/var/named/’ changed to<br />
0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/named.zero’ changed to 0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/localhost.zone’ changed to 0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/data’ changed<br />
to 0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/named.local’ changed to 0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/named.ca’ changed to 0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/named.ip6.local’ changed to 0777 (rwxrwxrwx)</p>
<p class="system">mode of<br />
`/var/named/localdomain.zone’ changed to 0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/named.broadcast’ changed to 0777 (rwxrwxrwx)</p>
<p class="system">mode of `/var/named/slaves’ changed to 0777 (rwxrwxrwx)</p>
<p>&nbsp;</p>
<h3>5. The files /var/named/yourdomain.com and<br />
/var/named/0.168.192.rev will automatically be copied to NS2.</h3>
<p>&nbsp;</p>
<h3>6. Running service named</h3>
<p class="command">[root@server ~]# service named<br />
restart</p>
<p class="system">Stopping named: [ OK ]</p>
<p><span class="system">Starting named: [ OK ] </span>
</p>
<p>&nbsp;</p>
<h3>7. And check in log file what’s the matter???</h3>
<p class="command">[root@server ~]# tail<br />
/var/log/messages</p>
<p><span class="system">Aug 3 04:25:42 server named[9362]:<br />
listening on IPv4 interface venet0:0, 192.168.0.2#53<br />
Aug 3<br />
04:25:42 server named[9362]: command channel listening on<br />
127.0.0.1#953<br />
Aug 3 04:25:42 server named[9362]: zone<br />
localhost/IN: loaded serial 42<br />
Aug 3 04:25:42 server named[9362]:<br />
running<br />
Aug 3 04:25:42 server named[9362]: zone yourdomain.com/IN:<br />
transferred serial 100<br />
Aug 3 04:25:42 server named[9362]: transfer<br />
of ‘yourdomain.com/IN’ from 192.168.0.1#53: end of transfer<br />
Aug<br />
3 04:25:42 server named[9362]: zone yourdomain.com/IN: sending<br />
notifies (serial 100)<br />
Aug 3 04:25:43 server named[9362]: zone<br />
0.168.192.in-addr.arpa/IN: transferred serial 100<br />
Aug 3 04:25:43<br />
server named[9362]: transfer of ‘0.168.192.in-addr.arpa/IN’ from<br />
192.168.0.1#53: end of transfer<br />
Aug 3 04:25:43 server named[9362]:<br />
zone 0.168.192.in-addr.arpa/IN: sending notifies (serial<br />
100)</span></p>
<p>Looking at this log, you can see<br />
that the <span class="system">yourdomain.com</span> zone gets transferred. Actually this<br />
file is copied to NS2 so, if NS1 is dead or has a problem, NS2 has a backup<br />
configuration.</p>
<p>&nbsp;</p>
<h3>8. Result using nslookup</h3>
<p class="command">[root@server ~]# nslookup<br />
yourdomain.com</p>
<p class="system">Server: 192.168.0.1</p>
<p class="system">Address: 192.168.0.1#53</p>
<p class="system">
</p>
<p class="system">Name: yourdomain.com</p>
<p class="system">Address: 192.168.0.1</p>
<p class="system">answered from nslookup used server<br />
from NS1 with IP 192.168.0.1</p>
<p>Now we can try to deactivate NS1 to see if name resolution is still working.</p>
<p>&nbsp;</p>
<h3>9. First adding nameserver 192.168.0.2</h3>
<p class="command">[root@server ~]# cat<br />
/etc/resolv.conf</p>
<p class="system">nameserver 192.168.0.1</p>
<p class="system">nameserver 192.168.0.2</p>
<p>This domain is using NS2 because<br />
NS1 is not active. We don&#8217;t need to change any files on NS2 because all zone files are transferred from NS1 to NS2.</p>
<p>&nbsp;</p>
<h3>10. Trying a DNS lookup while NS1 is down </h3>
<p class="command">[root@server ~]# nslookup<br />
yourdomain.com</p>
<p class="system">Server: 192.168.0.2</p>
<p class="system">Address: 192.168.0.2#53</p>
<p class="system">Name: yourdomain.com</p>
<p class="system">Address: 192.168.0.1</p>
<p>Now if there&#8217;s any problem with NS1 you can rest calm because NS2 acts as a backup. </p>
<p>
<div class="copyright-footer">Copyright (c)2010 Rhesa Mahendra<br />Permission is granted to copy, distribute and/or modify the content of<br />this page under the terms of the GNU Free Documentation License, Version 1.2<br />or any later version published by the Free Software Foundation; with no <br />Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.<br />A copy of the license is available at <a href="http://www.gnu.org/licenses/fdl.html">http://www.gnu.org/licenses/fdl.html</a></div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos&amp;title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos&amp;title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos&amp;title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos&amp;headline=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS&amp;u=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos&amp;title=Installation+Of+BIND+As+A+Secondary+%28Slave%29+DNS+Server+On+CentOS&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Finstallation-of-bind-as-a-secondary-slave-dns-server-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/installation-of-bind-as-a-secondary-slave-dns-server-on-centos/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4 Page 2</title>
		<link>http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2</link>
		<comments>http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2#comments</comments>
		<pubDate>Fri, 14 May 2010 16:34:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Across]]></category>
		<category><![CDATA[Distributed]]></category>
		<category><![CDATA[Four]]></category>
		<category><![CDATA[GlusterFS]]></category>
		<category><![CDATA[Nodes]]></category>
		<category><![CDATA[Replicated]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2</guid>
		<description><![CDATA[This tutorial shows how to combine four single storage servers(running CentOS 5.4) to a distributed replicated storage with GlusterFS. Nodes 1and 2 (replication1) as well as 3 and 4 (replication2) will mirror each other, and replication1 and replication2will be combined to one larger storage server (distribution).Basically, this is RAID10 over network.If you lose one server [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial shows how to combine four single storage servers(running CentOS 5.4) to a distributed replicated storage with GlusterFS. Nodes 1and 2 (replication1) as well as 3 and 4 (replication2) will mirror each other, and replication1 and replication2will be combined to one larger storage server (distribution).Basically, this is RAID10 over network.If you lose one server from replication1and one from replication2, the distributedvolume continues to work. The client system (CentOS 5.4 as well) will beable to access the storage as if it was a local filesystem.<br />
GlusterFS is a clustered file-system capable of scaling to severalpeta-bytes. It aggregates various storage bricks over Infiniband RDMA orTCP/IP interconnect into one large parallel network file system.Storage bricks can be made of any commodity hardware such as x86_64servers with SATA-II RAID and Infiniband HBA.<span id="more-2919"></span>
<div class="node">
<div class="content">
<h3>3 Setting Up The GlusterFS Client</h3>
<p class="highlight">client1.example.com:</p>
<p>GlusterFS isn&#8217;t available as a package for CentOS 5.4, therefore we have to build it ourselves. First we install the prerequisites:</p>
<p class="command">yum groupinstall &#8216;Development Tools&#8217;</p>
<p class="command">yum groupinstall &#8216;Development Libraries&#8217;</p>
<p class="command">yum install libibverbs-devel fuse-devel</p>
<p>Then we load the <span class="system">fuse</span> kernel module&#8230;</p>
<p class="command">modprobe fuse</p>
<p>&#8230; and create the file <span class="system">/etc/rc.modules</span> with the following contents so that the <span class="system">fuse</span> kernel module will be loaded automatically whenever the system boots: </p>
<p class="command">vi /etc/rc.modules</p>
<tr>
<td class="">
<pre>modprobe fuse</pre>
</td>
</tr>
<p>Make the file executable:</p>
<p class="command">chmod +x /etc/rc.modules </p>
<p>Then we download the GlusterFS 2.0.9 sources (<span class="highlight">please note that this is the same version that is installed on the server!</span>) and build GlusterFS as follows:</p>
<p class="command">cd /tmp<br /> wget http://ftp.gluster.com/pub/gluster/glusterfs/2.0/LATEST/glusterfs-2.0.9.tar.gz<br /> tar xvfz glusterfs-2.0.9.tar.gz<br /> cd glusterfs-2.0.9<br /> ./configure</p>
<p>At the end of the <span class="system">./configure</span> command, you should see something like this:</p>
<p class="system">[...]<br /> GlusterFS&nbsp;configure&nbsp;summary<br /> ===========================<br /> FUSE&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> Infiniband&nbsp;verbs&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> epoll&nbsp;IO&nbsp;multiplex&nbsp;:&nbsp;yes<br /> Berkeley-DB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> libglusterfsclient&nbsp;:&nbsp;yes<br /> argp-standalone&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;no</p>
<p class="command">make &amp;&amp; make install<br /> ldconfig</p>
<p>Check the GlusterFS version afterwards (should be 2.0.9):</p>
<p class="command">glusterfs &#8211;version</p>
<p class="system">[root@client1 glusterfs-2.0.9]# glusterfs &#8211;version<br /> glusterfs 2.0.9 built on Mar 1 2010 15:58:06<br /> Repository revision: v2.0.9<br /> Copyright (c) 2006-2009 Gluster Inc. &lt;http://www.gluster.com&gt;<br /> GlusterFS comes with ABSOLUTELY NO WARRANTY.<br /> You may redistribute copies of GlusterFS under the terms of the GNU General Public License.<br /> [root@client1 glusterfs-2.0.9]#</p>
<p>Then we create the following two directories:</p>
<p class="command">mkdir /mnt/glusterfs<br /> mkdir /etc/glusterfs</p>
<p>Next we create the file <span class="system">/etc/glusterfs/glusterfs.vol</span>:</p>
<p class="command">vi /etc/glusterfs/glusterfs.vol</p>
<tr>
<td class="">
<pre>volume remote1 type protocol/client option transport-type tcp option remote-host server1.example.com option remote-subvolume brick
end-volumevolume remote2 type protocol/client option transport-type tcp option remote-host server2.example.com option remote-subvolume brick
end-volumevolume remote3 type protocol/client option transport-type tcp option remote-host server3.example.com option remote-subvolume brick
end-volumevolume remote4 type protocol/client option transport-type tcp option remote-host server4.example.com option remote-subvolume brick
end-volumevolume replicate1 type cluster/replicate subvolumes remote1 remote2
end-volumevolume replicate2 type cluster/replicate subvolumes remote3 remote4
end-volumevolume distribute type cluster/distribute subvolumes replicate1 replicate2
end-volumevolume writebehind type performance/write-behind option window-size 1MB subvolumes distribute
end-volumevolume cache type performance/io-cache option cache-size 512MB subvolumes writebehind
end-volume</pre>
</td>
</tr>
<p>Make sure you use the correct server hostnames or IP addresses in the <span class="system">option remote-host</span> lines!</p>
<p>That&#8217;s it! Now we can mount the GlusterFS filesystem to <span class="system">/mnt/glusterfs</span> with one of the following two commands:</p>
<p class="command">glusterfs -f /etc/glusterfs/glusterfs.vol /mnt/glusterfs</p>
<p>or</p>
<p class="command">mount -t glusterfs /etc/glusterfs/glusterfs.vol /mnt/glusterfs</p>
<p>You should now see the new share in the outputs of&#8230;</p>
<p class="command">mount</p>
<p class="system">[root@client1 ~]# mount<br />
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)<br />
proc on /proc type proc (rw)<br />
sysfs on /sys type sysfs (rw)<br />
devpts on /dev/pts type devpts (rw,gid=5,mode=620)<br />
/dev/sda1 on /boot type ext3 (rw)<br />
tmpfs on /dev/shm type tmpfs (rw)<br />
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)<br />
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)<br />
glusterfs#/etc/glusterfs/glusterfs.vol on /mnt/glusterfs type fuse (rw,allow_other,default_permissions,max_read=131072)<br />
[root@client1 ~]#</p>
<p>&#8230; and&#8230;</p>
<p class="command">df -h</p>
<p class="system">[root@client1&nbsp;~]#&nbsp;df&nbsp;-h<br />
Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size&nbsp;&nbsp;Used&nbsp;Avail&nbsp;Use%&nbsp;Mounted&nbsp;on<br />
/dev/mapper/VolGroup00-LogVol00<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;29G&nbsp;&nbsp;2.2G&nbsp;&nbsp;&nbsp;25G&nbsp;&nbsp;&nbsp;9%&nbsp;/<br />
/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;99M&nbsp;&nbsp;&nbsp;13M&nbsp;&nbsp;&nbsp;82M&nbsp;&nbsp;14%&nbsp;/boot<br />
tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;187M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;187M&nbsp;&nbsp;&nbsp;0%&nbsp;/dev/shm<br />
glusterfs#/etc/glusterfs/glusterfs.vol<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;56G&nbsp;&nbsp;2.3G&nbsp;&nbsp;&nbsp;54G&nbsp;&nbsp;&nbsp;4%&nbsp;/mnt/glusterfs<br />
[root@client1&nbsp;~]#</p>
<p>(The size of the distributed storage is calculated by <span class="system">replication1</span> + <span class="system">replication2</span>, where both replication volumes are as big as the smallest brick.) </p>
<p>Instead of mounting the GlusterFS share manually on the client, you could modify <span class="system">/etc/fstab</span> so that the share gets mounted automatically when the client boots. </p>
<p> Open <span class="system">/etc/fstab</span> and append the following line: </p>
<p class="command">vi /etc/fstab</p>
<tr>
<td class="">
<pre>[...]
/etc/glusterfs/glusterfs.vol/mnt/glusterfsglusterfsdefaults00</pre>
</td>
</tr>
<p>To test if your modified <span class="system">/etc/fstab</span> is working, reboot the client: </p>
<p class="command">reboot </p>
<p>After the reboot, you should find the share in the outputs of&#8230; </p>
<p class="command">df -h </p>
<p>&#8230; and&#8230;</p>
<p class="command">mount</p>
<p>&nbsp;</p>
<h3>4 Testing</h3>
<p>Now let&#8217;s create some test files on the GlusterFS share:</p>
<p class="highlight">client1.example.com:</p>
<p class="command">touch /mnt/glusterfs/test1<br /> touch /mnt/glusterfs/test2<br /> touch /mnt/glusterfs/test3<br /> touch /mnt/glusterfs/test4<br /> touch /mnt/glusterfs/test5<br />
touch /mnt/glusterfs/test6</p>
<p>Now let&#8217;s check the <span class="system">/data/export</span> directory on <span class="system">server1.example.com</span>, <span class="system">server2.example.com</span>, <span class="system">server3.example.com</span>, and <span class="system">server4.example.com</span>. You will notice that <span class="system">replication1</span> as well as <span class="system">replication2</span> hold only a part of the files/directories that make up the GlusterFS share on the client, but the nodes that make up <span class="system">replication1</span> (<span class="system">server1</span> and <span class="system">server2</span>) or <span class="system">replication2</span> (<span class="system">server3</span> and <span class="system">server4</span>) contain the same files (mirroring): </p>
<p class="highlight">server1.example.com:</p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server1 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test2<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test4<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test5<br />
[root@server1 ~]#</p>
<p class="highlight">server2.example.com:</p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server2 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test2<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test4<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test5<br />
[root@server2 ~]#</p>
<p class="highlight">server3.example.com:</p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server3 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test3<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test6<br />
[root@server3 ~]#</p>
<p class="highlight">server4.example.com:</p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server4 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test3<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test6<br />
[root@server4 ~]#</p>
<p>Now we shut down <span class="system">server1.example.com</span> and <span class="system">server4.example.com</span> and add/delete some files on the GlusterFS share on <span class="system">client1.example.com</span>.</p>
<p class="highlight">server1.example.com/server4.example.com:</p>
<p class="command">shutdown -h now</p>
<p class="highlight">client1.example.com:</p>
<p class="command">rm -f /mnt/glusterfs/test5<br />
rm -f /mnt/glusterfs/test6</p>
<p>The changes should be visible in the <span class="system">/data/export</span> directory on <span class="system">server2.example.com</span> and <span class="system">server3.example.com</span>:</p>
<p class="highlight">server2.example.com:</p>
<p class="command">ls -l /data/export</p>
<p class="system">[root@server2 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test2<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test4<br />
[root@server2 ~]#</p>
<p class="highlight">server3.example.com:</p>
<p class="command">ls -l /data/export</p>
<p class="system">[root@server3 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test3<br />
[root@server3 ~]#</p>
<p>Let&#8217;s boot <span class="system">server1.example.com</span> and <span class="system">server4.example.com</span> again and take a look at the <span class="system">/data/export</span> directory:</p>
<p class="highlight">server1.example.com:</p>
<p class="command">ls -l /data/export</p>
<p class="system">[root@server1 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test2<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test4<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test5<br />
[root@server1 ~]#</p>
<p class="highlight">server4.example.com:</p>
<p class="command">ls -l /data/export</p>
<p class="system">[root@server4 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test3<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test6<br />
[root@server4 ~]#</p>
<p>As you see, <span class="system">server1.example.com</span> and <span class="system">server4.example.com</span> haven&#8217;t noticed the changes that happened while they were down. This is easy to fix, all we need to do is invoke a read command on the GlusterFS share on <span class="system">client1.example.com</span>, e.g.:</p>
<p class="highlight">client1.example.com:</p>
<p class="command">ls -l /mnt/glusterfs/</p>
<p class="system">[root@client1 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test2<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test3<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test4<br />
[root@client1 ~]#</p>
<p>Now take a look at the <span class="system">/data/export</span> directory on <span class="system">server1.example.com</span> and <span class="system">server4.example.com</span> again, and you should see that the changes have been replicated to these nodes:</p>
<p class="highlight">server1.example.com:</p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server1 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test1<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test2<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test4<br />
[root@server1 ~]#</p>
<p class="highlight">server4.example.com:</p>
<p class="command">ls -l /data/export </p>
<p class="system">[root@server4 ~]# ls -l /data/export<br /> total 0<br /> -rw-r&#8211;r&#8211; 1 root root 0 2010-02-23 15:41 test3<br />
[root@server4 ~]#</p>
<p>&nbsp;</p>
<h3>5 Links</h3>
<ul>
<li>GlusterFS: <a href="http://www.gluster.org/" target="_blank">http://www.gluster.org/</a></li>
<li>CentOS: <a href="http://www.centos.org/" target="_blank">http://www.centos.org/</a></li>
</ul>
<div class="book">
<div class="nav">
<div class="links">
<div class="prev"><a href="distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5.4" title="View the previous page.">previous</a></div>
<div class="next">&nbsp;</div>
<div class="up"><a href="distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5.4" title="View this page&#39;s parent section.">up</a></div>
</div>
<div class="titles">
<div class="prev">Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4</div>
</div>
</div>
</div>
<p>
<div class="copyright-footer">Copyright © 2010 Falko Timme<br />All Rights Reserved.</div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2&amp;headline=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2&amp;u=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4+Page+2&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4-p2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4</title>
		<link>http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4</link>
		<comments>http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4#comments</comments>
		<pubDate>Fri, 14 May 2010 16:34:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Across]]></category>
		<category><![CDATA[Distributed]]></category>
		<category><![CDATA[Four]]></category>
		<category><![CDATA[GlusterFS]]></category>
		<category><![CDATA[Nodes]]></category>
		<category><![CDATA[Replicated]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4</guid>
		<description><![CDATA[This tutorial shows how to combine four single storage servers(running CentOS 5.4) to a distributed replicated storage with GlusterFS. Nodes 1and 2 (replication1) as well as 3 and 4 (replication2) will mirror each other, and replication1 and replication2will be combined to one larger storage server (distribution).Basically, this is RAID10 over network.If you lose one server [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial shows how to combine four single storage servers(running CentOS 5.4) to a distributed replicated storage with GlusterFS. Nodes 1and 2 (replication1) as well as 3 and 4 (replication2) will mirror each other, and replication1 and replication2will be combined to one larger storage server (distribution).Basically, this is RAID10 over network.If you lose one server from replication1and one from replication2, the distributedvolume continues to work. The client system (CentOS 5.4 as well) will beable to access the storage as if it was a local filesystem.<br />
GlusterFS is a clustered file-system capable of scaling to severalpeta-bytes. It aggregates various storage bricks over Infiniband RDMA orTCP/IP interconnect into one large parallel network file system.Storage bricks can be made of any commodity hardware such as x86_64servers with SATA-II RAID and Infiniband HBA.<span id="more-2918"></span>
<div class="node">
<div class="content">
<h2>Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4 </h2>
<p>Version 1.0 <br />
Author: Falko Timme &lt;ft [at] falkotimme [dot] com&gt; <br />
<a href="http://twitter.com/falko" target="_blank"><img src="http://tusforyou.com/images/socialmedia/twitter.png" alt="twitter Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4" border="0" width="16px" height="16px" title="Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4" /></a> <a href="http://twitter.com/falko" target="_blank">Follow me on Twitter</a><br />
Last edited 03/01/2010</p>
<p>This tutorial shows how to combine four single storage servers (running CentOS 5.4) to a distributed replicated storage with <a href="http://www.gluster.org/" target="_blank">GlusterFS</a>. Nodes 1 and 2 (<span class="system">replication1</span>) as well as 3 and 4 (<span class="system">replication2</span>) will mirror each other, and <span class="system">replication1</span> and <span class="system">replication2</span> will be combined to one larger storage server (distribution). Basically, this is RAID10 over network. If you lose one server from <span class="system">replication1</span> and one from <span class="system">replication2</span>, the distributed volume continues to work. The client system (CentOS 5.4 as well) will be able to access the storage as if it was a local filesystem.GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. Storage bricks can be made of any commodity hardware such as x86_64 servers with SATA-II RAID and Infiniband HBA.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>&nbsp;</p>
<h3>1 Preliminary Note</h3>
<p>In this tutorial I use five systems, four servers and a client:</p>
<ul>
<li><span class="system">server1.example.com</span>: IP address <span class="system">192.168.0.100</span> (server)</li>
<li><span class="system">server2.example.com</span>: IP address <span class="system">192.168.0.101</span> (server)</li>
<li><span class="system">server3.example.com</span>: IP address <span class="system">192.168.0.102</span> (server)</li>
<li><span class="system">server4.example.com</span>: IP address <span class="system">192.168.0.103</span> (server)</li>
<li><span class="system">client1.example.com</span>: IP address <span class="system">192.168.0.104</span> (client) </li>
</ul>
<p>All five systems should be able to resolve the other systems&#8217; hostnames. If this cannot be done through DNS, you should edit the <span class="system">/etc/hosts</span> file so that it contains the following lines on all five systems:</p>
<p class="command">vi /etc/hosts</p>
<tr>
<td class="">
<pre>[...]
192.168.0.100 server1.example.com server1
192.168.0.101 server2.example.com server2
192.168.0.102 server3.example.com server3
192.168.0.103 server4.example.com server4
192.168.0.104 client1.example.com client1
[...]</pre>
</td>
</tr>
<p>(It is also possible to use IP addresses instead of hostnames in the following setup. If you prefer to use IP addresses, you don&#8217;t have to care about whether the hostnames can be resolved or not.)</p>
<p>&nbsp;</p>
<h3>2 Setting Up The GlusterFS Servers</h3>
<p class="highlight">server1.example.com/server2.example.com/server3.example.com/server4.example.com:</p>
<p>GlusterFS isn&#8217;t available as a package for CentOS 5.4, therefore we have to build it ourselves. First we install the prerequisites:</p>
<p class="command">yum groupinstall &#8216;Development Tools&#8217;</p>
<p class="command">yum groupinstall &#8216;Development Libraries&#8217;</p>
<p class="command">yum install libibverbs-devel fuse-devel</p>
<p>Then we download the latest GlusterFS release from <a href="http://www.gluster.org/download.php" target="_blank">http://www.gluster.org/download.php</a> and build it as follows:</p>
<p class="command">cd /tmp<br /> wget http://ftp.gluster.com/pub/gluster/glusterfs/2.0/LATEST/glusterfs-2.0.9.tar.gz<br /> tar xvfz glusterfs-2.0.9.tar.gz<br /> cd glusterfs-2.0.9<br /> ./configure</p>
<p>At the end of the <span class="system">./configure</span> command, you should see something like this:</p>
<p class="system">[...]<br /> GlusterFS&nbsp;configure&nbsp;summary<br /> ===========================<br /> FUSE&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> Infiniband&nbsp;verbs&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> epoll&nbsp;IO&nbsp;multiplex&nbsp;:&nbsp;yes<br /> Berkeley-DB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;yes<br /> libglusterfsclient&nbsp;:&nbsp;yes<br /> argp-standalone&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;no</p>
<p> [root@server1&nbsp;glusterfs-2.0.9]#</p>
<p class="command">make &amp;&amp; make install<br /> ldconfig</p>
<p>Check the GlusterFS version afterwards (should be 2.0.9):</p>
<p class="command">glusterfs &#8211;version</p>
<p class="system">[root@server1 glusterfs-2.0.9]# glusterfs &#8211;version<br /> glusterfs 2.0.9 built on Mar 1 2010 15:34:50<br /> Repository revision: v2.0.9<br /> Copyright (c) 2006-2009 Gluster Inc. &lt;http://www.gluster.com&gt;<br /> GlusterFS comes with ABSOLUTELY NO WARRANTY.<br /> You may redistribute copies of GlusterFS under the terms of the GNU General Public License.<br /> [root@server1 glusterfs-2.0.9]#</p>
<p>Next we create a few directories:</p>
<p class="command">mkdir /data/<br /> mkdir /data/export<br /> mkdir /data/export-ns<br /> mkdir /etc/glusterfs</p>
<p>Now we create the GlusterFS server configuration file <span class="system">/etc/glusterfs/glusterfsd.vol</span> which defines which directory will be exported (<span class="system">/data/export</span>) and what client is allowed to connect (<span class="system">192.168.0.104</span> = <span class="system">client1.example.com</span>):</p>
<p class="command">vi /etc/glusterfs/glusterfsd.vol</p>
<tr>
<td class="">
<pre>volume posix type storage/posix option directory /data/export
end-volumevolume locks type features/locks subvolumes posix
end-volumevolume brick type performance/io-threads option thread-count 8 subvolumes locks
end-volumevolume server type protocol/server option transport-type tcp option auth.addr.brick.allow 192.168.0.104 subvolumes brick
end-volume</pre>
</td>
</tr>
<p>Please note that it is possible to use wildcards for the IP addresses (like <span class="system">192.168.*</span>) and that you can specify multiple IP addresses separated by comma (e.g. <span class="system">192.168.0.104,192.168.0.105</span>). </p>
<p>Afterwards we create the following symlink&#8230;</p>
<p class="command">ln -s /usr/local/sbin/glusterfsd /sbin/glusterfsd</p>
<p>&#8230; and then the system startup links for the GlusterFS server and start it:</p>
<p class="command">chkconfig &#8211;levels 35 glusterfsd on<br /> /etc/init.d/glusterfsd start</p>
<div class="book">
<div class="tree">
<div class="menu">
<ul>
<li class="leaf"><a href="distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5.4-p2">Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4 &#8211; Page 2</a></li>
</ul>
</div>
</div>
<div class="nav">
<div class="links">
<div class="prev">&nbsp;</div>
<div class="next"><a href="distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5.4-p2" title="View the next page.">next</a></div>
</div>
<div class="titles">
<div class="next">Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4 &#8211; Page 2</div>
</div>
</div>
</div>
<p>
<div class="copyright-footer">Copyright © 2010 Falko Timme<br />All Rights Reserved.</div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4&amp;headline=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4&amp;u=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4&amp;title=Distributed+Replicated+Storage+Across+Four+Storage+Nodes+With+GlusterFS+On+CentOS+5.4&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fdistributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/distributed-replicated-storage-across-four-storage-nodes-with-glusterfs-on-centos-5-4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PowerDNS With MySQL On CentOS</title>
		<link>http://tusforyou.com/installing-powerdns-with-mysql-on-centos</link>
		<comments>http://tusforyou.com/installing-powerdns-with-mysql-on-centos#comments</comments>
		<pubDate>Fri, 14 May 2010 16:34:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Installing]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PowerDNS]]></category>

		<guid isPermaLink="false">http://tusforyou.com/installing-powerdns-with-mysql-on-centos</guid>
		<description><![CDATA[PowerDNS is a MySQL-based DNS server, written in C++ and licensedunder the GPL. PowerDNS can be managed through a web interface(PowerAdmin). This guide shows how to install it on CentOS. Installing PowerDNS With MySQL On CentOS What is PowerDNS? PowerDNS is a MySQL-based DNS server, written in C++ and licensed under the GPL. PowerDNS can [...]]]></description>
			<content:encoded><![CDATA[<p>PowerDNS is a MySQL-based DNS server, written in C++ and licensedunder the GPL. PowerDNS can be managed through a web interface(PowerAdmin). This guide shows how to install it on CentOS.<span id="more-2917"></span>
<div class="node">
<div class="content">
<h2>Installing PowerDNS With MySQL On CentOS </h2>
<h3>What is PowerDNS?</h3>
<p>PowerDNS is a MySQL-based DNS server, written in C++ and licensed under the GPL. PowerDNS can be managed through a web interface (PowerAdmin). This guide shows how to install it on CentOS. </p>
<p>&nbsp;</p>
<h3>1. Installing MySQL</h3>
<p class="command">[root@server ~]# yum -y install mysql mysql-server</p>
<p>&nbsp;</p>
<h3>2. Create system startup links for MySQL</h3>
<p class="command">[root@server ~]# chkconfig &#8211;levels 235 mysqld on</p>
<p class="command">[root@server ~]# service mysqld start</p>
<p>&nbsp;</p>
<h3>3. Check if MySQL is running</h3>
<p class="command">[root@server ~]# netstat -tap | grep mysql</p>
<p class="system">tcp &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 *:mysql &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *:* &nbsp; &nbsp; LISTEN &nbsp; 28179/mysqld&nbsp;</p>
<p>&nbsp;</p>
<h3>4. Set password for user root</h3>
<p class="command">[root@server ~]# mysqladmin -u root password password123</p>
<p>&nbsp;</p>
<h3>5. Install PowerDNS</h3>
<p class="command">[root@server ~]# yum -y install pdns pdns-backend-mysql</p>
<p>&nbsp;</p>
<h3>6. Setting database</h3>
<p class="command">[root@server ~]# mysql -u root -p</p>
<p class="command">mysql&gt; CREATE DATABASE powerdns;</p>
<p class="command">mysql&gt; user powerdns;</p>
<p class="command">mysql&gt; CREATE TABLE domains (<br /> -&gt; id INT auto_increment,<br /> -&gt; name VARCHAR(255) NOT NULL,<br /> -&gt; master VARCHAR(128) DEFAULT NULL,<br /> -&gt; last_check INT DEFAULT NULL,<br /> -&gt; type VARCHAR(6) NOT NULL,<br /> -&gt; notified_serial INT DEFAULT NULL,<br /> -&gt; account VARCHAR(40) DEFAULT NULL,<br /> -&gt; primary key (id)<br /> -&gt; );</p>
<p class="command">mysql&gt; CREATE UNIQUE INDEX name_index ON domains(name);</p>
<p class="command">mysql&gt; CREATE TABLE records (<br /> -&gt; id INT auto_increment,<br /> -&gt; domain_id INT DEFAULT NULL,<br /> -&gt; name VARCHAR(255) DEFAULT NULL,<br /> -&gt; type VARCHAR(6) DEFAULT NULL,<br /> -&gt; content VARCHAR(255) DEFAULT NULL,<br /> -&gt; ttl INT DEFAULT NULL,<br /> -&gt; prio INT DEFAULT NULL,<br /> -&gt; change_date INT DEFAULT NULL,<br /> -&gt; primary key(id)<br />
-&gt; );</p>
<p class="command">mysql&gt; CREATE INDEX rec_name_index ON records(name);</p>
<p class="command">mysql&gt; CREATE INDEX nametype_index ON records(name,type);</p>
<p class="command">mysql&gt; CREATE INDEX domain_id ON records(domain_id);</p>
<p class="command">mysql&gt; CREATE TABLE supermasters (<br /> -&gt; ip VARCHAR(25) NOT NULL,<br /> -&gt; nameserver VARCHAR(255) NOT NULL,<br /> -&gt; account VARCHAR(40) DEFAULT NULL<br /> -&gt; );</p>
<p class="command">mysql&gt; quit;</p>
<p class="command">[root@server ~]# nano /etc/pdns/pdns.conf</p>
<pre>#################################
# launch Which backends to launch and order to query them in
#
# launch=launch=gmysqlgmysql-host=192.200.200.1gmysql-user=power_admingmysql-password=password123gmysql-dbname=powerdns#################################</pre>
<p>&nbsp;</p>
<h3>7. Create the system startup links for PowerDNS</h3>
<p class="command">[root@server ~]# chkconfig &#8211;levels 235 pdns on</p>
<p class="command">[root@server ~]# service pdns start</p>
<p>&nbsp;</p>
<h3>8. Preparing the system for PowerAdmin installation </h3>
<p class="command">[root@server ~]# yum -y install httpd php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mhash gettext</p>
<p>&nbsp;</p>
<h3>9. Create system startup links for apache and start it</h3>
<p class="command">[root@server ~]# chkconfig &#8211;levels 235 httpd on</p>
<p class="command">[root@server ~]# service httpd start</p>
<p>&nbsp;</p>
<h3>10. Install following two PEAR packages</h3>
<p class="command">yum -y install php-pear-DB php-pear-MDB2-Driver-mysql</p>
<p>&nbsp;</p>
<h3>11. Download PowerAdmin</h3>
<p class="command">[root@server ~]# wget https://www.poweradmin.org/download/poweradmin-2.1.2.tgz</p>
<p class="command">[root@server ~]# tar zxvf poweradmin-2.1.2.tgz -C /var/www/html/</p>
<p class="command">[root@server ~]# mv poweradmin-2.1.2 poweradmin</p>
<p class="command">[root@server ~]# mv /var/www/html/poweradmin/inc/config.inc.php</p>
<p class="command">[root@server ~]# chown -R apache:apache /var/www/html/poweradmin/</p>
<p>
<div class="copyright-footer">Copyright (c)2010 Rhesa Mahendra<br />Permission is granted to copy, distribute and/or modify the content of<br />this page under the terms of the GNU Free Documentation License, Version 1.2<br />or any later version published by the Free Software Foundation; with no <br />Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.<br />A copy of the license is available at <a href="http://www.gnu.org/licenses/fdl.html">http://www.gnu.org/licenses/fdl.html</a></div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos&amp;title=Installing+PowerDNS+With+MySQL+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos&amp;title=Installing+PowerDNS+With+MySQL+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos&amp;title=Installing+PowerDNS+With+MySQL+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos&amp;headline=Installing+PowerDNS+With+MySQL+On+CentOS" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Installing+PowerDNS+With+MySQL+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Installing+PowerDNS+With+MySQL+On+CentOS&amp;u=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Installing+PowerDNS+With+MySQL+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Installing+PowerDNS+With+MySQL+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Installing+PowerDNS+With+MySQL+On+CentOS&amp;url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos&amp;title=Installing+PowerDNS+With+MySQL+On+CentOS&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Finstalling-powerdns-with-mysql-on-centos" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/installing-powerdns-with-mysql-on-centos/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBoxHeadless &#8211; Running Virtual Machines With VirtualBox 3.1.x On A Headless CentOS 5.4 Server</title>
		<link>http://tusforyou.com/vboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server</link>
		<comments>http://tusforyou.com/vboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server#comments</comments>
		<pubDate>Thu, 13 May 2010 17:11:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Headless]]></category>
		<category><![CDATA[Machines]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[VBoxHeadless]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://tusforyou.com/vboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server</guid>
		<description><![CDATA[This guide explains how you can run virtual machines with SunVirtualBox 3.1.x on a headless CentOS 5.4 server. Normally you use the VirtualBox GUIto manage your virtual machines, but a server does not have a desktopenvironment. Fortunately, VirtualBox comes with a tool calledVBoxHeadless that allows you to connect to the virtual machines over aremote desktop [...]]]></description>
			<content:encoded><![CDATA[<p>This guide explains how you can run virtual machines with SunVirtualBox 3.1.x on a headless CentOS 5.4 server. Normally you use the VirtualBox GUIto manage your virtual machines, but a server does not have a desktopenvironment. Fortunately, VirtualBox comes with a tool calledVBoxHeadless that allows you to connect to the virtual machines over aremote desktop connection, so there&#8217;s no need for the VirtualBox GUI.<span id="more-353"></span>
<div class="node">
<div class="content">
<h2>VBoxHeadless &#8211; Running Virtual Machines With VirtualBox 3.1.x On A Headless CentOS 5.4 Server</h2>
<p>Version 1.0 <br /> Author: Falko Timme &lt;ft [at] falkotimme [dot] com&gt; <br /> <a href="http://twitter.com/falko" target="_blank"><img src="http://tusforyou.com/images/socialmedia/twitter.png" alt="twitter VBoxHeadless   Running Virtual Machines With VirtualBox 3.1.x On A Headless CentOS 5.4 Server" border="0" width="16px" height="16px" title="VBoxHeadless   Running Virtual Machines With VirtualBox 3.1.x On A Headless CentOS 5.4 Server" /></a> <a href="http://twitter.com/falko" target="_blank">Follow me on Twitter</a><br />
Last edited 02/03/2010</p>
<p>This guide explains how you can run virtual machines with <a href="http://www.virtualbox.org/" target="_blank">SunVirtualBox 3.1.x</a>on a headless CentOS 5.4 server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment. Fortunately, VirtualBox comes with a tool called VBoxHeadless that allows you to connect to the virtual machines over a remote desktop connection, so there&#8217;s no need for the VirtualBox GUI. </p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>&nbsp;</p>
<h3>1 Preliminary Note</h3>
<p>I have tested this on a CentOS 5.4 server (host system) with the IP address <span class="system">192.168.0.100</span> where I&#8217;m logged in as a normal user (user name <span class="system">admin</span> in this example) instead of as <span class="system">root</span>. </p>
<p>If you only have a root account, but no normal user account, create one as follows (user <span class="system">admin</span>, group <span class="system">admin</span>)&#8230;</p>
<p class="command"># groupadd admin<br />
# useradd -d /home/admin -m -g admin -s /bin/bash admin</p>
<p>&#8230; create a password for the new user&#8230;</p>
<p class="command"># passwd admin</p>
<p>&#8230; and log in as that user.</p>
<p>&nbsp;</p>
<h3>2 Installing VirtualBox</h3>
<p>To install VirtualBox 3.1.x on our CentOS 5.4 server, we need root privileges, therefore we run </p>
<p class="command">$ su</p>
<p>Next download and register Sun&#8217;s public rpm key:</p>
<p class="command"># wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc<br /> # rpm &#8211;import sun_vbox.asc<br />
# rm -f sun_vbox.asc</p>
<p>Now we enable the VirtualBox OpenSUSE repository on our system:</p>
<p class="command"># cd /etc/yum.repos.d/<br />
# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo</p>
<p>We can now simply install VirtualBox 3.1.x as follows:</p>
<p class="command"># yum install VirtualBox-3.1</p>
<p>Now we must add the user that will run VirtualBox (<span class="system">admin</span> in this example) to the <span class="system">vboxusers</span> group:</p>
<p class="command"># /usr/sbin/usermod -G vboxusers admin</p>
<p>VirtualBox is now installed and ready to be used.</p>
<p>Type</p>
<p class="command"># exit</p>
<p>to leave the root account and become a normal user (<span class="system">admin</span>) again. </p>
<p>&nbsp;</p>
<h3>3 Using VirtualBox On The Command Line</h3>
<h4>3.1 Creating A VM</h4>
<p>To create a VM on the command line, we can use the <span class="system">VBoxManage</span> command. See</p>
<p class="command">$ VBoxManage &#8211;help</p>
<p> for a list of available switches and (highly recommended!) take a look at <a href="http://www.virtualbox.org/manual/UserManual.html#vboxmanage" target="_blank">http://www.virtualbox.org/manual/UserManual.html#vboxmanage</a>.</p>
<p>I will now create an Ubuntu 9.10 Server VM with 256MB memory and a 10GB hard drive from the Ubuntu 9.10 Server iso image (which I have stored in <span class="system">/home/ubuntu-9.10-server-amd64.iso</span>):</p>
<p class="command">$ VBoxManage createvm &#8211;name &#8220;Ubuntu 9.10 Server&#8221; &#8211;register<br /> $ VBoxManage modifyvm &#8220;Ubuntu 9.10 Server&#8221; &#8211;memory 256 &#8211;acpi on &#8211;boot1 dvd &#8211;nic1 bridged &#8211;bridgeadapter1 eth0<br /> $ VBoxManage createhd &#8211;filename Ubuntu_9_10_Server.vdi &#8211;size 10000 &#8211;register<br /> $ VBoxManage storagectl &#8220;Ubuntu 9.10 Server&#8221; &#8211;name &#8220;IDE Controller&#8221; &#8211;add ide<br /> $ VBoxManage storageattach &#8220;Ubuntu 9.10 Server&#8221; &#8211;storagectl &#8220;IDE Controller&#8221; &#8211;port 0 &#8211;device 0 &#8211;type hdd &#8211;medium Ubuntu_9_10_Server.vdi<br />
$ VBoxManage storageattach &#8220;Ubuntu 9.10 Server&#8221; &#8211;storagectl &#8220;IDE Controller&#8221; &#8211;port 1 &#8211;device 0 &#8211;type dvddrive &#8211;medium /home/ubuntu-9.10-server-amd64.iso</p>
<p>&nbsp;</p>
<h4>3.2 Importing An Existing VM</h4>
<p>Let&#8217;s assume you have a VM called <span class="system">examplevm</span> that you want to reuse on this host. On the old host, you should have a directory <span class="system">Machines/examplevm</span> in the VirtualBox directory; <span class="system">Machines/examplevm</span> should contain the <span class="system">examplevm.xml</span> file. Copy the <span class="system">examplevm</span> directory (including the <span class="system">examplevm.xml</span> file) to your new <span class="system">Machines</span> directory (if your user name is <span class="system">admin</span>, this is <span class="system">/home/admin/.VirtualBox/Machines</span> &#8211; the result should be <span class="system">/home/admin/.VirtualBox/Machines/examplevm/examplevm.xml</span>).</p>
<p>In addition to that copy the <span class="system">examplevm.vdi</span> file from the old <span class="system">VDI</span> directory to the new one (e.g. <span class="system">/home/admin/.VirtualBox/VDI/examplevm.vdi</span>).</p>
<p>Afterwards, you must register the imported VM:</p>
<p class="command">$ VBoxManage registervm Machines/examplevm/examplevm.xml</p>
<p>&nbsp;</p>
<h4>3.3 Starting A VM With VBoxHeadless</h4>
<p>Regardless of if you create a new VM or import and old one, you can start it with the command:</p>
<p class="command">$ VBoxHeadless &#8211;startvm &#8220;Ubuntu 9.10 Server&#8221;</p>
<p>(Replace <span class="system">Ubuntu 9.10 Server</span> with the name of your VM.)</p>
<p><span class="system">VBoxHeadless</span> will start the VM and a VRDP (<span class="system">VirtualBox Remote Desktop Protocol</span>) server which allows you to see the VM&#8217;s output remotely on another machine. </p>
<p>To stop a VM, run</p>
<p class="command">$ VBoxManage controlvm &#8220;Ubuntu 9.10 Server&#8221; poweroff </p>
<p>To pause a VM, run</p>
<p class="command">$ VBoxManage controlvm &#8220;Ubuntu 9.10 Server&#8221; pause</p>
<p>To reset a VM, run</p>
<p class="command">$ VBoxManage controlvm &#8220;Ubuntu 9.10 Server&#8221; reset </p>
<p>To learn more about <span class="system">VBoxHeadless</span>, take a look at</p>
<p class="command">$ VBoxHeadless &#8211;help</p>
<p>and at <a href="http://www.virtualbox.org/manual/UserManual.html" target="_blank">http://www.virtualbox.org/manual/UserManual.html</a>. </p>
<div class="book">
<div class="tree">
<div class="menu">
<ul>
<li class="leaf"><a href="vboxheadless-running-virtual-machines-with-virtualbox-3.1.x-on-a-headless-centos-5.4-server-p2">VBoxHeadless &#8211; Running Virtual Machines With VirtualBox 3.1.x On A Headless CentOS 5.4 Server &#8211; Page 2</a></li>
</ul>
</div>
</div>
<div class="nav">
<div class="links">
<div class="prev">&nbsp;</div>
<div class="next"><a href="vboxheadless-running-virtual-machines-with-virtualbox-3.1.x-on-a-headless-centos-5.4-server-p2" title="View the next page.">next</a></div>
</div>
<div class="titles">
<div class="next">VBoxHeadless &#8211; Running Virtual Machines With VirtualBox 3.1.x On A Headless CentOS 5.4 Server &#8211; Page 2</div>
</div>
</div>
</div>
<p>
<div class="copyright-footer">Copyright © 2010 Falko Timme<br />All Rights Reserved.</div>
</div>
</div>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server&amp;title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server&amp;title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server&amp;title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server&amp;headline=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server&amp;url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server&amp;u=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server&amp;url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server&amp;url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server&amp;url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server&amp;title=VBoxHeadless+-+Running+Virtual+Machines+With+VirtualBox+3.1.x+On+A+Headless+CentOS+5.4+Server&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Ftusforyou.com%2Fvboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server" ><img class="lightsocial_img" src="http://tusforyou.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://tusforyou.com/vboxheadless-running-virtual-machines-with-virtualbox-3-1-x-on-a-headless-centos-5-4-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
