<?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>Cloudweavers &#187; aoe</title>
	<atom:link href="http://www.cloudweavers.org/tag/aoe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cloudweavers.org</link>
	<description>Cutting-edge technology consultant</description>
	<lastBuildDate>Tue, 31 Jan 2012 13:56:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>@Job</title>
		<link>http://www.cloudweavers.org/2008/04/job-2/</link>
		<comments>http://www.cloudweavers.org/2008/04/job-2/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 09:51:27 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aoe]]></category>
		<category><![CDATA[bgp]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[zabbix]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=598</guid>
		<description><![CDATA[Bon, malgré le crash imminent et permanent du serveur sur lequel ce blog est hosté (l&#8217;autre serveur est presque en production) &#8211; je prends le risque de faire un petit post. C&#8217;est dernier temps, mon travail est un mélange infame de BGP, Zabbix, AoE, ZFS, LVM&#8230; c&#8217;est juste trop fou, et tellement intéressant!. Je prépare [...]]]></description>
			<content:encoded><![CDATA[<p>Bon, malgré le crash imminent et permanent du serveur sur lequel ce blog est hosté (l&#8217;autre serveur est presque en production) &#8211; je prends le risque de faire un petit post. </p>
<p>C&#8217;est dernier temps, mon travail est un mélange infame de BGP, Zabbix, AoE, ZFS, LVM&#8230; c&#8217;est juste trop fou, et tellement intéressant!. Je prépare quelques tutoriels a temps perdu pour le déploiement de certaine technologie. Coté commercial, je devrais même battre mon record personnel la semaine prochaine : déploiement d&#8217;un array d&#8217;un SAN de 50TB (raw). Mon plus gros, à ce jours, est à 24TB (raw) . </p>
<p>Ps: Ma soeur est a l&#8217;hopital pour l&#8217;arrivé du petit Thomas!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/04/job-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A walk in the cloud</title>
		<link>http://www.cloudweavers.org/2008/03/a-walk-in-the-cloud/</link>
		<comments>http://www.cloudweavers.org/2008/03/a-walk-in-the-cloud/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 16:39:20 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[aoe]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=583</guid>
		<description><![CDATA[Executive summary : Give me 10k$, a month, 3 poweredge servers, a gigabytes capable switch and I&#8217;ll build you a scalable cloud infrastructure ;-). And, the post: Last year dominant meme was &#34;Virtualization&#34;. Since you can&#8217;t have the same focus for two consecutives years (must be a law about that written somewhere), they (for various [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>Executive summary</em> </strong>: Give me 10k$, a month, 3 poweredge servers, a gigabytes capable switch and I&#8217;ll build you a scalable cloud infrastructure ;-). </p>
<p><strong><em>And, the post:</em></strong></p>
<p>Last year dominant meme was &quot;<strong>Virtualization</strong>&quot;. Since you can&#8217;t have the same focus for two consecutives years (must be a law about that written somewhere), they (for various definition of &quot;they&quot;) had to enhance it. Here come &quot;<strong>Cloud Computing</strong>&quot;. </p>
<p>Cloud computing, as defined <a href="http://www.johnmwillis.com/redmonk/demystifying-clouds/">here</a>, <a href="http://gridgurus.typepad.com/grid_gurus/2008/03/grid-vs-clouds.html">here</a>, <a href="http://www.cbc.ca/technology/technology-blog/2008/02/nicholas_carrs_views_on_cloud.html">here</a>, <a href="http://www.redhat.com/solutions/cloud/">here</a>, <a href="http://www.technologyreview.com/Infotech/19397/?a=f">here</a> and&#8230;&nbsp; is still in condensation phase. Ideas appear and usability should emerge&#8230; soon.</p>
<p>While this is concentrated fun for theorician, I would prefer a more technical discussion. I am aware of Montreal based corporations currently studying Cloud/Grid systems. One of the next big player, in Montreal/North-Eastern USA, might be <strong>iWeb Technologies</strong> &#8211; they already have hardware, a customer base and so much to gain on the scalability aspect of cloud computing. Think about dynamically closing unused shared hosting system and relocating instance in relation of their impact on server resources. A lot of other corporation are also present in the field. </p>
<p>But I don&#8217;t have access to the same quantity of hardware as they have, so lets see what is available / can be built in my small lab. </p>
<p><strong>SunGrid Engine</strong>, as an online service, no hardware needed, have more of a grid heritage than a cloud computing future. Application are launch, run, and a specific output is gathered and sent. The list of application, while impressive, doesn&#8217;t have &quot;Apache&quot; &#8211; this is a system meant for raw processing power, not offering services.&nbsp;  </p>
<p><strong>IBM&#8217;s BlueCloud</strong> is still more of a vapor cloud around a press release than anything that has to do with computing. Though, I&#8217;m sure it look awesome in their lab. But, again, I&#8217;m sure their whole lab look nice.</p>
<p><strong>3TERA&#8217;s</strong> apps logic does look neat, yet, there is no public price tag. This also look like the kind of system that is built around templates &quot;which should not be modified&quot;. I have no idea how the system reliability goes when customization are made. And I won&#8217;t know&#8230; no price tag is a straight no-go for me. If you are ashamed of your pricing model, there is a problem. If its not the case, there is no reason not to show &quot;figures&quot;. </p>
<p>Another online service, <strong>Amazon AWS</strong> (EC2 &amp; S3), is one of the current market leader. Based on XEN, you can have a remote instance for couples of cents an hour. The main concern with EC2 is the volatile aspect of the storage, which kinda defeat most of services real purpose, dealing with informations.</p>
<p><strong>So ? <br />
</strong><br />
While I don&#8217;t have much hardware, I still have a labs of 4 dev + 2 prod systems. Lets see what can be done. Lets design a home brewed cloud infrastructure.  </p>
<p><strong><u>Nodes types </u></strong><br />
<strong>ConfigNode</strong> : <br />
&nbsp;&nbsp;&nbsp; role : CNode is a standard Debian sys. It is the DHCP + PXE + tftp server. It hold the HardwareNode kernel. All cloud configuration happen on those systems.<br />
&nbsp;&nbsp;&nbsp; min : 1 sys.<br />
&nbsp;&nbsp;&nbsp; normal : 2 sys.. {Primary/Slave}. with software raid + drbd + heartbeat.<br />
&nbsp;&nbsp;&nbsp; Scalable: no use. 2 systems is more than enough, there isn&#8217;t really any CPU/Network load.</p>
<p><strong>StorageNode</strong> : <br />
&nbsp;&nbsp;&nbsp; role: SNode is a network booted GNU/Linux system. It serve AoE devices on the network. All nodee (except ConfigNode) use SNODE as root filesystem.<br />
&nbsp;&nbsp;&nbsp; min: 1 sys. <br />
&nbsp;&nbsp;&nbsp; prefered: 2 sys, {Primary/Primary} with software raid + drbd. MD-device Multipathing is required from clients to preserve the P/P coherence and reliability to network failure.<br />
&nbsp;&nbsp;&nbsp; Scalable : This is a building block. The limit of SNODE is defined by the network fabric speed. </p>
<p><strong>HardwareNode</strong> :<br />
<strong>&nbsp;&nbsp;&nbsp; </strong>role : HNode is a network booted GNU/Linux/XEN-dom0 system. It use a SNODE array as its root filesystem. This is where INODE will be launched. This node is diskless.<strong><br />
&nbsp;&nbsp;&nbsp;</strong> min: 1 sys.<br />
&nbsp;&nbsp;&nbsp; prefered: no limit.<br />
&nbsp;&nbsp;&nbsp; Scalable: This is a building block of the infrastructure. The limit of HNODE is defined by the acceptable speed of the root file system located on a SNODE. <strong></p>
<p>Instance</strong> :<br />
&nbsp;&nbsp;&nbsp; role : an Instance is a network booted GNU/Linux/XEN-domU system. In the presence of VT technologies, it can also be an unmodified guest operating system (hear full-fledge GNU/Linux or Microsoft Windows). It is started on a specific HNODE using SNODE resources. <br />
&nbsp;&nbsp;&nbsp; min : 1 sys.<br />
&nbsp;&nbsp;&nbsp; prefered : no limit.<br />
&nbsp;&nbsp;&nbsp; Scalable : Currently limited to the underlying HNODE ressources.</p>
<p><strong>Summary </strong>: Using a specific configuration node we start a StorageNode and an hardware node. Then, once the infrastructure is&nbsp; &quot;running&quot;, Instances can be dynamically started on HardwareNode. </p>
<p>Since Instances are XEN/domU based, running on shared storage, they can be<strong> migrated LIVE</strong> without downtime between HardwareNode. A ping to the virtual instance would not fail, even in the middle of the live migration. </p>
<p>Since HardwareNode are network booted, <strong>adding new server is as simple as adding the MAC addrs in the dhcp configuration</strong> and tagging it as HNODE. As long as system are able to PXE boot, it is really a matter of minutes to add new nodes.</p>
<p>Since HardwareNode are network booted with remote root filesystem, <strong>they do not need to have hard drive</strong>. This remove one of the main failing pieces of current infrastructure. There isn&#8217;t much to fail in a server with only a CPU, memory and network interfaces.</p>
<p>The storage aspect is taken care of Storage node where good raid + redundancy + hard-drive snapshot can be used to control the environment. The only limit on the number of storage node is the network&#8230; but then, link aggregation is your friend. </p>
<p>Since multipathing is used, with DRBD and AoE, a <strong>storage node can be shutdown without impacting running instances</strong>. </p>
<p>The creating of new InstanceNode is easy : <strong>either copy an instance or debootstrap a new system</strong>. Doing something similar from 3Tera would be fairly easy at this point, creating template and preparing configuration interfaces/scripts.&nbsp; <br />
<strong><br />
What now ?</strong></p>
<p>Took me a week-end day. I have a running ConfigNode, StorageNode (using NFS, but AoE /multipathing is next), HardwareNode and an Instance. Much of the time was spent waiting for kernel compilation and deploying distcc on my lan. Had little problems pxe booting a dom0, but found a fix.</p>
<p>I wonder what someone working full time could accomplish in a month&#8230;. Someone want to pay me to see ? ;-). Haaa.. and it would cost you (in addition to my salary for a month) a copy of Nicolas Carr&#8217;s BigSwitch book (which I haven&#8217;t read yet, but plan to, as soon as I can get my hand on a copy). I can even do a little presentation first for some kind of financial retribution (yeah, money drive me ;-)). </p>
<p>Seriously, such setup would be fully scalable and so easy to dynamically configure through scripts/GUI. One of the limiting factor is the CPU/Memory resources limit that instance have since they are linked to a single hardware node but if Xen (as a commercial solution) is able to create a resource pool, I&#8217;m sure there is way to go around that limitation.</p>
<p>Jeez, using VT enabled hardware node, you could even start Microsoft Windows instance in your cloud&#8230; </p>
<p>Btw, I know that everything i&#8217;ve spoke about can be done through VMWare infrastructure with vmotion (and maybe 3Tera&#8217;s Apps) but&#8230;. then, think about the fact that a 2 CPU licence for VMWARE Infrastructure is a little bits over 6900$USD&#8230;.</p>
<p><strong>I just don&#8217;t understand why there isn&#8217;t more cloud out there. This isn&#8217;t all that hard to deploy&#8230; not even time consuming&#8230;<br />
</strong></p>
<div align="center"><strong>.</strong><a href="../../../../wp-content/uploads/2008/03/cloud_computing.png" onclick="return false;" title="Direct link to file"><img height="108" width="171" src="../../../../wp-content/uploads/2008/03/cloud_computing.thumbnail.png" alt="cloud computing" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/03/a-walk-in-the-cloud/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AoE + OCFSv2 (storage fun, part 3)</title>
		<link>http://www.cloudweavers.org/2008/02/aoe-ocfsv2-storage-fun-part-3/</link>
		<comments>http://www.cloudweavers.org/2008/02/aoe-ocfsv2-storage-fun-part-3/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 22:15:29 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[aoe]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[ocfs]]></category>
		<category><![CDATA[SAN]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=565</guid>
		<description><![CDATA[NOTE: Now on www.mass-storage.org I have a running {DRBD 8.2.4 (P/P) + OCFSv2} 2 nodes cluster. More Info here. Kinda nice for small workload (think load-balanced webservers, fileservers, sql servers (careful, Oracle is OK, mysql need specific configuration for external lock)) but a bit on the limited side as scalability goes. Removing the storage aspect [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOTE: Now on <a href="http://www.mass-storage.org">www.mass-storage.org</a></p>
<p>I have a running {DRBD 8.2.4 (P/P) + OCFSv2} 2 nodes cluster. </strong>More<strong> </strong>Info <a href="http://blog.pacharest.com/?p=564">here</a><strong>.  </strong></p>
<p>Kinda nice for small workload (think load-balanced webservers, fileservers, sql servers (careful, Oracle is OK, mysql need specific configuration for external lock)) but a bit on the limited side as scalability goes. </p>
<p>Removing the storage aspect from applications servers is the way to go. This is what SAN are for. Lets modify my two nodes (<em>ruby </em>and <em>crystal</em>) cluster to allow dynamic growth in term of application and storage nodes.</p>
<p>For this test, i&#8217;ll be bringing a third and fourth system : &quot;<em>jade</em>&quot; &amp; &quot;<em>glouton</em>&quot;, two debian based fileservers. </p>
<p><strong> The setup will be as follow :</strong></p>
<blockquote><p>(jade &amp; glouton): SAN target, exporting device through AOE<br />
(ruby &amp; crystal): SAN initiator + application server
</p></blockquote>
<p>  Lexical info: an Initiator is a SAN client, whereas Target are servers.<br />
&nbsp;&nbsp; <br />
<strong> Exporting through AoE</strong></p>
<blockquote><p> (glouton&amp;jade)# apt-get install aoetools vblade<br />
(glouton)# vblade 0 1 eth0 /dev/sdb1<br />
(jade)# vblade 1 1 eth0 /dev/sdb1
</p></blockquote>
<p>  Note 1: My current setup make me use the above configuration. In a true production environment dual NIC would be preferred (using linux bonding module) &amp; the exported device would be a MD array. There is also a lot of fine-tuning that can be done along the way (jumbo frame, multipath algo, scheduling algo, kernel hacking &#8230; )</p>
<p>Note 2: I would against going with an integrated list of MAC addrs. in the vblade export command. The option is present, but the list is then static. Using ebtables seem to be a valid alternative since it can be dynamically modified. </p>
<p><strong> Importing through AoE</strong></p>
<blockquote><p>(ruby&amp;crystal)# apt-get install aoe-tools <br />
(ruby&amp;crystal)# modprobe aoe
</p></blockquote>
<p> If the file systems are already exported (from jade &amp; glouton), they will be automatically available in /dev/etherd, or else, use &quot;aoe-discover&quot;. </p>
<p><strong> Creating MD device for redundancy.</strong></p>
<blockquote><p> (ruby&amp;crystal)# apt-get install mdadm<br />
(ruby)# mdadm &#8211;create /dev/md0 -l1 -n2 /dev/etherd/e0.1 /dev/etherd/e1.1 <br />
(crystal)# mdadm &#8211;assemble /dev/md0 /dev/etherd/e0.1 /dev/etherd/e1.1
</p></blockquote>
<p>  So at this point, there is two md raid devices which use the same resources. They aren&#8217;t mounted yet. Using OCFSv2 will allow us to control the concurrent access. </p>
<p>Still using the same /etc/ocfs2/cluster.conf file (see previous post), we format the raid device in OCFS2 format (note: I now use label, it simplify the creation process of identical configuration files):</p>
<blockquote><p> (ruby)# mkfs.ocfs2 -L &quot;san&quot; /dev/md0&nbsp; <br />
(ruby &amp; crystal)# mount -t ocfs2 -L &quot;san&quot; /storage
</p></blockquote>
<p>  There we go, once again, a shared storage between ruby &amp; crystal.  </p>
<p>Note 01 : This such configuration can easily saturate your network. Do not even try if your max speed is 100Mb/s. This would give awful perfs (trust me!). Go for giga or even infiniband if you can afford it. </p>
<p>Note 02 : There is a lot of alternative options, you might want to check the md module documentation, under multipath. I know I will ;-)</p>
<p><strong> But how exactly is this system scalable ? </strong></p>
<p>Application node : If a system is built with aoetools, md-device support and ocfs2 installed, they can be hot-added to the network. No restart of any running sys. needed. However, It is still a very good idea to modify each cluster.conf file. </p>
<p>Storage node : A system with devices exported through AoE can be hot-added up to a certain point, depending on the underlying raid type (md-device), but I would advice against it. Anyway, you need to take OCFS2 offline to issue a resize command.</p>
<p>Filesystem size : Currently, due to 32 bits adressing, there seem to be a limit @ 16TB for a file system. A good reminder though is that AoE target can export more than one devices&#8230;.</p>
<p><img alt="" src="http://blog.pacharest.com/wp-content/uploads/2008/03/ad.JPG" /><u><strong></strong></u></p>
<blockquote><p><a href="http://www.braindumps.net/exam/310-200.htm">310-200</a> would have easier if the professionals would have approved of <a href="http://www.testking.net/testking-650-178.htm">650-178</a> or <a href="http://www.testking-questions.com/exam/70-292.htm">70-292</a> before <a href="http://www.infotechprep.com/microsoft/70-431.htm">70-431</a>. However, one can also go for <a href="http://www.exam-builder.com/70-528.htm">70-528</a> if planning to attempt <a href="http://www.braindumps.net/exam/SY0-101.htm">SY0-101</a> later.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/02/aoe-ocfsv2-storage-fun-part-3/feed/</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
		<item>
		<title>drbd-8.2.4 as P/P setup (storage fun, part 2)</title>
		<link>http://www.cloudweavers.org/2008/02/drbd-824-as-pp-setup-take2/</link>
		<comments>http://www.cloudweavers.org/2008/02/drbd-824-as-pp-setup-take2/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 17:52:11 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[storage]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[aoe]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[drbd]]></category>
		<category><![CDATA[ocfs]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=564</guid>
		<description><![CDATA[NOTE: Now on www.mass-storage.org, this blog-post isn&#8217;t up-to-date anymore. Please see mass-storage.org for the up-to-date labs note. Fun stuff with DRBD Ok, so yesterday, I&#8217;ve tried without much success to rebuild my computer lab with Debian/SID and unstable DRBD-8.2.5. Now that I know that the main branch of drbd can contain &#34;unusable version&#34;, it will [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOTE: Now on <a href="http://www.mass-storage.org">www.mass-storage.org</a>, this blog-post isn&#8217;t up-to-date anymore. Please see mass-storage.org for the up-to-date labs note. </p>
<p>Fun stuff with DRBD</strong></p>
<p>Ok, so yesterday, I&#8217;ve tried without much success to rebuild my computer lab with Debian/SID and unstable DRBD-8.2.5. Now that I know that the main branch of drbd can contain &quot;unusable version&quot;, it will go a bit faster. </p>
<p>Installation of DRBD-8.2.4 took around 60 seconds, most of it being the download from their website and the copy of the source tree between <em>Crystal</em> and <em>Ruby</em>, my two lab systems. </p>
<blockquote><p> # cd /usr/local/src<br />
# wget http://oss.linbit.com/drbd/8.2/drbd-8.2.4.tar.gz<br />
# tar xvf drbd-8.2.4.tar.gz <br />
# apt-get install linux-headers-`uname -r` build-essential flex docbook-utils<br />
# cd /usr/local/src/drbd-8.2.4<br />
# make all<br />
# make install
</p></blockquote>
<p>   <strong>Online verification of the sync. status</strong></p>
<p>Now the fun part : </p>
<blockquote><p> (ruby)# drbdadm verify store 
</p></blockquote>
<p>  It worked like a charm. I used the &quot;verify-alg md5;&quot; line in my config since the kernel crypto. API already had this algorithm available and loaded. Being able to have an online verify allow me to remove the &quot;data-integrity-alg&quot; function I had in some of my setup &#8211; verification once a while does really reduce the cpu processing overhead of DRBD.&nbsp; </p>
<p>The crypto. API interface speed can be tested with </p>
<blockquote><p># openssl speed
</p></blockquote>
<p>and currently available (loaded) functions can be queried with :</p>
<blockquote><p> # cat /proc/crypto 
</p></blockquote>
<p>
<strong>Adding some security</strong></p>
<p>Another thing I had never tried in the past is activating this security feature :</p>
<p>(/etc/drbd.conf)# cram-hmac-alg &quot;md5&quot; ;<br />
(/etc/drbd.conf)# shared-secret &quot;password&quot;;</p>
<p>Once again, worked as supposed. I can now see the HMAC handshake when the peer connect. The module is automatically loaded in the crypto API.</p>
<p><strong>Primary/Primary setup ?</strong></p>
<p>Now, here is the true test I wanted to do.</p>
<blockquote><p> (/etc/drbd.conf)# uncommenting the &quot;allow-two-primaries&quot; line<br />
(ruby&amp;crystal)# /etc/init.d/drbd stop ; /etc/init.d/drbd start<br />
(ruby&amp;crystal)# drbdadm store primary
</p></blockquote>
<p>I now have a Primary/Primary setup. Fun, yet we need a filesystem with support for concurrent connections. Lets go for OCFS2 (The docs say that GFS is also supported).</p>
<blockquote><p>(ruby&amp;crystal)# apt-get install ocfs2-tools<br />
(ruby&amp;crystal)# mkdir /etc/ocfs2
</p></blockquote>
<p>The creation of the config file is very straight forward : </p>
<blockquote><p>(/etc/ocfs2/cluster.conf)</p>
<p>node:<br />
ip_port = 7777<br />
ip_address = 10.0.0.18<br />
number = 0<br />
name = crystal<br />
cluster =lab</p>
<p>node:<br />
ip_port = 7777<br />
ip_address = 10.0.0.19<br />
number = 1<br />
name = ruby<br />
cluster = lab</p>
<p>cluster:<br />
node_count = 2<br />
name = lab
</p></blockquote>
<p>  Configuration of the Heartbeat process is also very easy (careful to use the good cluster name). </p>
<blockquote><p>(ruby&amp;crystal): dpkg-reconfigure ocfs2-tools
</p></blockquote>
<p>Then the magic begin:</p>
<blockquote><p>(ruby&amp;crystal)# /etc/init.d/o2cb start<br />
(ruby)# mkfs.ocfs2 /dev/drbd0<br />
(ruby&amp;crystal)# mount -t ocfs2 /dev/drbd0 /storage
</p></blockquote>
<p>
Et Voila.</p>
<p>Concurrent access to the same filesystem on 2 computers. Some-one said &quot;<strong>Cheap load-balancing/hot-fail-over for web-server</strong>&quot; ? For the optimization part, can I loudly suggest to go, at the very minimum, with giga speed network interfaced&#8230; which bring the point that infiniband isn&#8217;t the price it used to be&#8230; and performance/latency are really a big step forward&#8230;</p>
<p>
<img src="http://blog.pacharest.com/wp-content/uploads/2008/03/ad.JPG" alt="" /><u><strong></strong></u></p>
<blockquote><p><a href="http://www.braindumps.net/exam/220-602.htm">220-602</a> is very easy if you already have <a href="http://www.testking-questions.com/exam/640-863.htm">640-863</a> and <a href="http://www.infotechprep.com/cisco/642-432.htm">642-432</a> or only <a href="http://www.exam-builder.com/70-297.htm">70-297</a> on your credit. However, going for <a href="http://www.testking.net/testking-EX0-100.htm">EX0-100</a> might be a bit more difficult and doing <a href="http://www.exam-builder.com/70-431.htm">70-431</a> would help tremendously.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/02/drbd-824-as-pp-setup-take2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>DRBD-8.2.5 on Debian/SID</title>
		<link>http://www.cloudweavers.org/2008/02/drbd-825-on-debiansid/</link>
		<comments>http://www.cloudweavers.org/2008/02/drbd-825-on-debiansid/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 23:08:30 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[aoe]]></category>
		<category><![CDATA[drbd]]></category>
		<category><![CDATA[ocfs]]></category>
		<category><![CDATA[SAN]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=563</guid>
		<description><![CDATA[While updating my Gnu/Linux lab, I&#8217;ve decided to put the latest version of DRBD (stable: 8.2.4, unstable: 8.2.5) on the testing bench. I wanted to try the &#34;online verification&#34; and &#34;primary/primary&#34; state for cluster filesystem (OCFS2, GFS). The current version available through Debian repository is out-of-date (v8.0.8) and doesn&#8217;t have the online verification option, so [...]]]></description>
			<content:encoded><![CDATA[<p>While updating my Gnu/Linux lab, I&#8217;ve decided to put the latest version of DRBD (stable: 8.2.4, unstable: 8.2.5) on the testing bench. I wanted to try the &quot;online verification&quot; and &quot;primary/primary&quot; state for cluster filesystem (OCFS2, GFS). </p>
<p>The current version available through Debian repository is out-of-date (v8.0.8) and doesn&#8217;t have the online verification option, so I&#8217;ve had no other choice than to build my own modules &amp; utils. Another problem was the &quot;out-of-date&quot; status of the ./drbd-8.2/INSTALL file. Especially about Debian systems &#8211; in fact, most of the debian related stuff seem to be broken. </p>
<p>So here goes the missing &quot;<a href="http://docs.google.com/View?docid=dhcjg4tt_31dhhpc2c2">INSTALL.debian</a>&quot; for DRBD-8.2.x. This is hosted on googledocs and will change as I invest time into it. </p>
<p>The whole &quot;normal procedure&quot; for the unstable version of DRBD over a minimal Debian/SID install would be summarized as : </p>
<blockquote><p># apt-get install git-core<br />
# cd /usr/local/src<br />
# git-clone git://git.drbd.org/drbd-8.2.git drbd-8.2 <br />
# apt-get install linux-headers-`uname -r` build-essential flex docbook-utils<br />
# cd /usr/local/src/drbd-8.2<br />
# make<br />
# make doc<br />
# make install
</p></blockquote>
<p>
This will give you a valid DRBD-8.2.5 installation. You&#8217;ll need to modify /etc/drbd.conf to match your setup. One cool new feature is the &quot;online verification&quot;:</p>
<p>You add the following line inside your syncer section of /etc/drbd.conf and modprobe the kernel module: </p>
<blockquote><p>// in /etc/drbd.conf, syncer section: verify-alg crc32c; <br />
# modprobe crc32c
</p></blockquote>
<blockquote><p># drbdadm verify store
</p></blockquote>
<p>where store is my ressource name. But&#8230;. this isn&#8217;t the end of my problems&#8230; because the command doesn&#8217;t work here. This cause my primary system to lose connection with the secondary node. Humfff&#8230; i&#8217;ll see what I can do about that tomorrow. </p>
<p>
NOTE: finall, the problem is easy enough : the unstable is not a working version of DRBD.</p>
<p>
<img src="http://blog.pacharest.com/wp-content/uploads/2008/03/ad.JPG" alt="" /><u><strong></strong></u></p>
<blockquote><p> For <a href="http://www.infotechprep.com/cisco/640-863.htm">640-863</a> or even <a href="http://www.testking-questions.com/exam/642-642.htm">642-642</a> it is important to have some background knowledge of <a href="http://www.exam-builder.com/70-292.htm">70-292</a> and <a href="http://www.infotechprep.com/microsoft/70-528.htm">70-528</a>. If you already have <a href="http://www.braindumps.net/exam/70-536.htm">70-536</a> to your credit, you may be exempted from <a href="http://www.testking.net/testking-SY0-101.htm">SY0-101</a> as well.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/02/drbd-825-on-debiansid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

