<?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; storage</title>
	<atom:link href="http://www.cloudweavers.org/tag/storage/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>vmware labs</title>
		<link>http://www.cloudweavers.org/2011/04/vmware-labs/</link>
		<comments>http://www.cloudweavers.org/2011/04/vmware-labs/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 05:21:53 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[consultation]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[myth]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[vcenter]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://www.cloudweavers.org/?p=1531</guid>
		<description><![CDATA[I&#8217;ve been working intensively with vmWARE products for the last couple of months. I&#8217;ve already wrote about LabsPhoenix&#8217;s MYTH cluster entering phase 02 of its development &#8211; few months ahead of schedule. It is currently configured as a 3 nodes vSphere Enterprise+ cluster of very modest capacity (Resources: CPU 21GHz, Memory 48GB, Storage 4TB). Next [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working intensively with <strong>vmWARE</strong> products for the last couple of months.</p>
<p>I&#8217;ve already wrote about <em>LabsPhoenix&#8217;s MYTH cluster</em> entering phase 02 of its development &#8211; few months ahead of schedule. It is currently configured as a 3 nodes vSphere Enterprise+ cluster of very modest capacity (<em>Resources: CPU 21GHz, Memory 48GB, Storage 4TB</em>). Next phase is within 60days and will see those resources grow by another 66%. This &#8216;<em>demo</em>&#8216; has been so successful that we are already drafting plans for another cluster.</p>
<p>One of LabsPhoenix&#8217;s main client also asked me to re-factor its lab environment. Here, we are talking of a 4 nodes vSphere Enterprise cluster, built from scratch, with some very nice capacity (<em>Resources: CPU 95Ghz, Memory 252GB, Storage 2TB</em>). </p>
<p>I&#8217;m not throwing those numbers out there to poke anyone, its more of an offer: If anyone got some specific questions about vmWARE deployment, feel free to ping me. I&#8217;m often available for a quick chat. My cie, LabsPhoenix, also has some competent sysadmin if the problem get too large / if speed is of the essence. </p>
<p>Sometimes, we get hit by strange errors: Following an upgrade of the Cisco 3750 switches configuration to an higher MTU value (9000bits, to support jumbo frame on the attached iSCSI MSA); The VCENTER process started acting up on the management server. Quick restart of the process worked fined, but nothing in the log shows why the switch&#8217;s configuration reload broke that specific service.</p>
<p>Also, changing MTU value in a vmKernel interface is quite easy on vSphere 4.1 &#8211; it can even be done through the gui. You might search the option for quite some times though! It is hidden in Home>Inventory>Networking, in the distributed virtual switch configuration (right-click on it, edit setting). If your not using dvSwitch, then, your stuck through CLI commands. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2011/04/vmware-labs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>hard drive vibration</title>
		<link>http://www.cloudweavers.org/2009/06/hard-drive-vibration/</link>
		<comments>http://www.cloudweavers.org/2009/06/hard-drive-vibration/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 13:14:57 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[data visualisation]]></category>
		<category><![CDATA[fishwork]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1203</guid>
		<description><![CDATA[You gotta love those SUN&#8217;s Fishwork Engineer&#8230; In the following video, Brendan Gregg plot I/O operations per seconds by latency and number of I/O ops over a defined time threshold while some &#8220;vibration&#8221; are introduced. Bottom line : Do not yell at your computer. You are not helping. Youtube video: Bredan Gregg &#38; hd vibrations]]></description>
			<content:encoded><![CDATA[<p>You gotta love those <a href="http://blogs.sun.com/fishworks/">SUN&#8217;s Fishwork</a> Engineer&#8230;<br />
<br />
In the following video, <a href="http://blogs.sun.com/brendan/">Brendan Gregg</a> plot<strong> I/O operations per seconds by latency</strong> and <strong>number of I/O ops over a defined time threshold</strong> while some &#8220;<strong>vibration</strong>&#8221; are introduced. Bottom line : Do not yell at your computer. You are not helping.<br />
<br />
Youtube video: <a href='http://www.youtube.com/watch?v=tDacjrSCeq4' >Bredan Gregg &amp; hd vibrations</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/06/hard-drive-vibration/feed/</wfw:commentRss>
		<slash:comments>166</slash:comments>
		</item>
		<item>
		<title>removing mysql-bin log files</title>
		<link>http://www.cloudweavers.org/2009/02/removing-mysql-bin-log-files/</link>
		<comments>http://www.cloudweavers.org/2009/02/removing-mysql-bin-log-files/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 16:04:02 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[labsphoenix]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[zabbix]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=1040</guid>
		<description><![CDATA[One of the main part of Laboratoires Phoenix sentinel network is the Zabbix monitoring system. In direct correlation with this fact is that the main concern inside this sentinel network is the database footprint of MySQL. I do not mean the &#8216;size-in-memory&#8217;, since I do have quite enough ram on those systems. And I&#8217;m not [...]]]></description>
			<content:encoded><![CDATA[<p>One of the main part of <a href="http://labsphoenix.com">Laboratoires Phoenix</a> sentinel network is the <a href="http://zabbix.com">Zabbix monitoring system</a>.<br />
<br />
In direct correlation with this fact is that the main concern inside this sentinel network is the database footprint of MySQL. I do not mean the &#8216;size-in-memory&#8217;, since I do have quite enough ram on those systems. And I&#8217;m not doing that much caching since data change very, very often. What I mean is the size of the database &#038; binaries log-files on disk.<br />
<br />
<strong>To make the story short</strong>: I always move<em> /var/lib/mysql</em> on a separate partition to be certain a db surge would not bring down / compromise other server functions. Seem like I forgot (on one of the system) that Debian standard location for the mysql-bin log-files was in <em>/var/log/mysql</em>.<br />
<br />
Since those are independent servers (not multi-master / replicated MySQL system), here is the magic sequence to remove unused mysql-bin files.<br />
<br />
# vi /etc/mysql/my.cnf<br />
<em>[modify bin-log number/space usage]</em><br />
# ls -la /var/log/mysq/<br />
# mysql -uroot -p<br />
[enter password]<br />
# <a href="http://dev.mysql.com/doc/refman/5.0/en/purge-binary-logs.html">purge binary logs</a> to &#8216;mysql-bin.000321&#8242;;<br />
<em>[where mysql-bin.000321 is one of the last / up to the point you want too keep].</em><br />
<br />
There you go. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2009/02/removing-mysql-bin-log-files/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>glusterfs &amp; synchronous data storage</title>
		<link>http://www.cloudweavers.org/2008/09/glusterfs-synchronous-data-storage/</link>
		<comments>http://www.cloudweavers.org/2008/09/glusterfs-synchronous-data-storage/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 04:11:31 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[drbd]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[freesoftware]]></category>
		<category><![CDATA[glusterfs]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=710</guid>
		<description><![CDATA[Labs: installation &#038; configuration of GlusterFS as synchronous data storage solution. By: Pascal Charest, Freesoftware consultant Date: September, 2008. Synchronization of files in a cloud environment is a challenge in the path of high-{availability, performance}. From simple load balanced web sites to full-blown applications &#8211; some files always need to be in sync. Peoples, for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Labs</strong>: installation &#038; configuration of GlusterFS as synchronous data storage solution.<br />
<strong>By</strong>: Pascal Charest, Freesoftware consultant<br />
<strong>Date</strong>: September, 2008.<br/><br />
<b>Synchronization of files</b> in a cloud environment is a challenge in the path of high-{availability, performance}. From simple load balanced web sites to full-blown applications &#8211; some files always need to be in sync. Peoples, for simplicity, rely on asynchronous transfer (ie: rsync ), others deploy bigger solutions (ie: block device replication through DRBD or shared storage through AoE protocol &#038; concurrency management with OCFSv2) or even go for the &#8220;lazy&#8221; &#8220;no-shared-storage&#8221; solution through NFS.<br />
<br />
To address this problem in the PraizedMedia software stack, I decided to give FUSE based GlusterFS a try. Awesome, really ! The technical knowledge to deploy a basic solution is very very low. The modularity of the program also help to have &#8220;something working right now&#8221;. This isn&#8217;t meant as a direct alternative to DRBD or a good SAN deployment but in my use case, it fit perfectly.<br />
<br />
In this lab, I will guide you through the installation of GlusterFS on 2 networked systems. They will be both used as &#8220;servers&#8221; &#038; &#8220;client&#8221; for the GlusterFS filesystem. <strong>They will be sharing a directory (on both system : /var/production/brick), re-mounted as /var/production/static through GlusterFS</strong>. Any write I/O on this directory (of any client server) will be synchronized to the pool. This last feature is called &#8220;AFR&#8221; (for automatic file replication) and is a module (called a translator) to the GlusterFS file system.<br />
<br />
The specificity of my environment is around the file-locking management : I don&#8217;t need any. By design, the application will never try to write the same file twice on any of the server.<br />
<br />
<strong>#Installation of requirement (standard tools)</strong><br />
<code>apt-get install flex bison libfuse-dev linux-headaers-`uname -r` curl</code><br />
<br />
<strong>#download of the sources</strong><br />
<code>cd /usr/local/src/<br />
curl -O http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/glusterfs-CURRENT.tar.gz<br />
tar zxf glusterfs-CURRENT.tar.gz</code><br />
<br />
<strong># configure</strong><br />
<code>cd glusterfs-1.3.11<br />
./configure --prefix=/usr/local/glusterfs-1.3.11<br />
make &#038;&#038; make install<br />
ln -s /usr/local/glusterfs-1.3.11 /usr/local/glusterfs</code><br />
<br />
So we now have a basic 2 servers GlusterFS systems installed. Lets be honest, that wasn&#8217;t really hard! We are still missing configuration files though.<br />
<br />
<strong>#Editing /usr/local/glusterfs/etc/glusterfs/glusterfs-server.vol</strong><br />
<code>#<br />
# glusterfs-servers definition<br />
# volume definition are on first lvl, other are on second lvl (tabbed)<br />
volume brick<br />
        type storage/posix<br />
        option directory /mnt/production/brick<br />
end-volume<br />
<br />
volume server<br />
        type protocol/server<br />
        option transport-type tcp/server<br />
        option auth.ip.brick.allow *<br />
        subvolumes brick<br />
end-volume</code><br />
<br />
<strong>#Editing the /usr/local/glusterfs/etc/glusterfs/glusterfs-client.vol</strong><br />
<code>#<br />
# glusterfs-client.vol<br />
# volume definition are on first lvl, other are on second lvl (tabbed)<br />
#<br />
volume remote1<br />
  type protocol/client<br />
  option transport-type tcp/client<br />
  option remote-host 002.praized.com<br />
  option remote-subvolume brick<br />
end-volume<br />
<br />
volume remote2<br />
  type protocol/client<br />
  option transport-type tcp/client<br />
  option remote-host 001.praized.com<br />
  option remote-subvolume brick<br />
end-volume<br />
<br />
volume mirror0<br />
  type cluster/afr<br />
  subvolumes remote1 remote2<br />
end-volume</code><br />
<br />
<strong>#Launching services (servers and clients)</strong><br />
<code>mkdir -p /mnt/production/brick<br />
/usr/local/glusterfs-1.3.11/sbin/glusterfsd -f /usr/local/glusterfs-1.3.11/etc/glusterfs/glusterfs-server.vol<br />
<br />
mkdir -p /mnt/production/static<br />
/usr/local/glusterfs-1.3.11/sbin/glusterfs -f /usr/local/glusterfs-1.3.11/etc/glusterfs/glusterfs-client.vol /mnt/production/static/</code><br />
<br />
You now possess a synchronized directory between your two systems. Please note that GlusterFS require TCP/6996 port to be open. There is also some improvement that can be done to this setup through adding a locking mechanism &#038; i/o thread &#8211; I don&#8217;t currently need them, but you might.  <br />
Enjoy!<br />
<br />
Debugging notes ; after starting the server process you should have a kernel process call glusterfs. All log files are in /usr/local/glusterfs/var/log/glusterfs*. After starting the client, &#8220;df -h&#8221; should show you your new mount point. Careful with UID/GID (&#038;Permission), there is no such thing as root_squash_fs in GlusterFS yet.<br />
<br /> <br />
Other notes ; Using Amazon EBS would have been the perfect solution if they did allow multiple servers-volume mount and lets us deal with concurrency / lock problems. But, they don&#8217;t. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/09/glusterfs-synchronous-data-storage/feed/</wfw:commentRss>
		<slash:comments>574</slash:comments>
		</item>
		<item>
		<title>Linux Symposium 2008</title>
		<link>http://www.cloudweavers.org/2008/07/linux-symposium-2008/</link>
		<comments>http://www.cloudweavers.org/2008/07/linux-symposium-2008/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 12:25:00 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Conférence]]></category>
		<category><![CDATA[consultant]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=624</guid>
		<description><![CDATA[Oups ! J&#8217;ai oublié de mentioner que le Linux Symposium d&#8217;Ottawa arrive à grand pas. Je vais y être présent, du 22 au 26 Juillet 2008, pour blogger sur les différents acteurs du milieu de l&#8217;OpenSource. Compte tenu mon &#8220;background&#8221; en storage / virtualisation / cloud computing ; j&#8217;ai un intéret particulier pour les discussions [...]]]></description>
			<content:encoded><![CDATA[<p>Oups !<br />
<br />
J&#8217;ai oublié de mentioner que le<a href="http://www.linuxsymposium.org/2008/"> Linux Symposium d&#8217;Ottawa</a> arrive à grand pas. Je vais y être présent, du 22 au 26 Juillet 2008, pour blogger sur les différents acteurs du milieu de l&#8217;OpenSource. Compte tenu mon &#8220;background&#8221; en storage / virtualisation / cloud computing ; j&#8217;ai un intéret particulier pour les discussions suivantes:<br />
<br />
&#8220;<em>Tux meets Radar O&#8217;reilly &#8211; Linux in military telecom</em>&#8221; : Il est toujours intéressant de voir un déploiement dans une optique militaire. Dans le militaire, tout comme pour le bancaire et medical, l&#8217;erreur est beaucoup moins tolérée et peut être source de répercussions incroyables&#8230; Pour prévenir les bourdes, les systèmes sont testés très précisement &#8211; le commun des mortels a surement beaucoup à apprendre de cet état d&#8217;esprit. Investir pour la stabilité &#8211; ce n&#8217;est pas fou comme idée!<br />
<br />
&#8220;<em>A Survey of Virtualization Workloads</em>&#8221; : Simple, mais si la présentation &#8211; et les recherches! &#8211; est bien effectuée, il peut y avoir correlation avec des use-case que je rencontre lors de mes consultations. Elle est suivie d&#8217;une deuxième présentation qui lui semble quasi identique &#8211; worst case : j&#8217;irai voir les deux.<br />
<br />
<em>Applying Green Computing to clusters and the data center</em>&#8221; : Je ne connais que très superficiellement ce domaine, si nous excluons le &#8220;tu configures du wake-on-lan associé avec un control de charge&#8221;. Étant particulièrement biasé vers la solution &#8220;tu ajoutes des systèmes&#8221; &#8211; autant au niveau création d&#8217;actif financier et réduction de coûts &#8211; J&#8217;imagine que je vais pouvoir briser le voile de mon ignorance et changer ma position.<br />
<br />
&#8220;SynergyFS: A Stackable File System Creating Synergies Between Heterogeneous Storage Devices&#8221; : Les discussions sur le stockage sur des environnements hybrides m&#8217;acrochent toujours. Le storage est un problème avec plus de 50 solutions dans le monde GNU/Linux (50+ fs supportés par le noyau) &#8211; chacune d&#8217;entre elle avec des forces et faiblesses. Voyons voir comment profiter des forces en &#8220;patchant les faiblesses avec d&#8217;autre système de fichiers&#8221;.<br />
<br />
&#8220;If I turn this knob&#8230; what happens?&#8221; :<br />
Dernière présentation qui à le mérite de mon intéret &#8211; et pas la moindre. Il est question de la prise de métrique (io, scheduler, lock_wait, sys/proc fs,&#8230;) et d&#8217;agir sur les résultats.  En résumé, elle calque exactement ce que je fais en capacity planning pour les clouds/clusters que je déploie. J&#8217;aime toujours voir et dialoguer sur les processus utilisés par d&#8217;autres consultants.<br />
<br />
See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/07/linux-symposium-2008/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>mass-storage.org</title>
		<link>http://www.cloudweavers.org/2008/02/mass-storageorg/</link>
		<comments>http://www.cloudweavers.org/2008/02/mass-storageorg/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 20:10:16 +0000</pubDate>
		<dc:creator>pascal.charest</dc:creator>
				<category><![CDATA[jobs]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Technique]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[drbd]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://blog.pacharest.com/?p=566</guid>
		<description><![CDATA[In the last couples of days, I&#8217;ve been doing a lot of experimentations on mass-storage systems. I do not want to saturate this blog with high-ends labs when most of my friends and family doesn&#8217;t clearly see the difference between a SAN and a NAS. On the other hand, I still want to publish my [...]]]></description>
			<content:encoded><![CDATA[<p>In the last couples of days, I&#8217;ve been doing a lot of experimentations on mass-storage systems. I do not want to saturate this blog with high-ends labs when most of my friends and family doesn&#8217;t clearly see the difference between a SAN and a NAS. On the other hand, I still want to publish my research process. Research might seem a bit presumptuous in the light of what I&#8217;ve published so far, but this is really just a side effect of this dichotomy.</p>
<p><a href="http://www.mass-storage.org/wiki">www.mass-storage.org</a> is my answer to this dilemma. As one of my pet project, it is an oasis (ok: small wiki) where I (and any so oriented researcher) can publish informations related to mass-storage. I&#8217;ve already published 2 articles about the recent storage labs i&#8217;ve concluded (DRBD , OCFSv2, AoE) and more is under way (about labs thatare currently under way [Lustre, AoE, DRBD Optimization])&#8230;</p>
<p>I should start posting more insight into my own life here (hey, it was always noted as MY private little place), and move the storage related (and more &quot;permanent&quot;) info at <a href="http://www.mass-storage.org/wiki">m-s.org</a>.</p>
<p>If you have any comments, as always, feel free to post.</p>
<p>Pascal Charest, directly from Camellia Sinensis on an IleSansfil connection.<br />
<u><strong><br />
<img src="http://blog.pacharest.com/wp-content/uploads/2008/03/ad.JPG" alt="" /></strong></u></p>
<blockquote><p>You may save your extra charges by having the final deals with the <a href="http://www.thehostplanet.com">cheap web hosting</a> companies. The functionality of <a href="http://www.envisionwebhosting.com/dedicated-servers.htm">dedicated servers</a> is well-liked by all small and large webmasters. The different tactics of <a href="http://www.iseeq.com">pay per click</a> are valuable to boost up the revenue of the internet marketers. There are a lot of the drawbacks of the <a href="http://www.asharedhosting.com">shared web hosting</a> due to the limited services of hosting providers. The <a href="http://www.sharphosts.com">web hosting services</a> of the reliable companies are more acceptable by all clients. The <a href="http://www.1-hit.com/web-hosting.htm">web hosting</a> services of the reputable service provider are featured with all-inclusive hosting packages in the affordable ratings.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cloudweavers.org/2008/02/mass-storageorg/feed/</wfw:commentRss>
		<slash:comments>123</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>

