<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Florian's blog</title>
	<atom:link href="http://fghaas.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fghaas.wordpress.com</link>
	<description>Linux, DRBD, and other stuff of interest</description>
	<lastBuildDate>Thu, 17 Sep 2009 09:20:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='fghaas.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a35edda9610f079febfc73ed5ef54276?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Florian's blog</title>
		<link>http://fghaas.wordpress.com</link>
	</image>
			<item>
		<title>LINBIT mount their bikes to support Butterfly Children</title>
		<link>http://fghaas.wordpress.com/2009/09/17/linbit-mount-their-bikes-to-support-butterfly-children/</link>
		<comments>http://fghaas.wordpress.com/2009/09/17/linbit-mount-their-bikes-to-support-butterfly-children/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 09:20:15 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Non-technical]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=303</guid>
		<description><![CDATA[A completely non-technical post for a change.
Last weekend, seven employees of LINBIT&#8217;s European division participated in the World Games of Mountain Biking in Saalbach-Hinterglemm, Austria. We took part as Marathon race participants and co-sponsors of Biking for Butterfly Children, a charity dedicated to the fight against epidermolysis bullosa (EB).
Currently, no cure for any of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=303&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A completely non-technical post for a change.</p>
<p>Last weekend, seven employees of LINBIT&#8217;s European division participated in the <a href="http://www.worldgames.at">World Games of Mountain Biking</a> in<a href="http://en.wikipedia.org/wiki/Saalbach-Hinterglemm"> Saalbach-Hinterglemm</a>, Austria. We took part as Marathon race participants and co-sponsors of <strong>Biking for Butterfly Children</strong>, a charity dedicated to the fight against <a href="http://en.wikipedia.org/wiki/Epidermolysis_bullosa">epidermolysis bullosa (EB)</a>.</p>
<p>Currently, no cure for any of the over 30 subtypes of EB exists &#8212; dermatologists and care givers can, however, greatly improve patients&#8217;<br />
quality of life. Still, EB can be an excruciatingly painful, disfiguring, and debilitating disease that affects one in 20,000 live births and as such, makes the condition an <a href="http://en.wikipedia.org/wiki/Orphan_disease">orphan disease</a>. The health care industry has little incentive to research the condition (as there is little money to be made off of it), and those who dedicate their careers to EB patient care and research rely on charitable donations for funding. Biking for Butterfly Children acts as a reliable fund raiser rounding up much-needed donations in the course of amateur cycling events (such as the World Games).</p>
<p>During this year&#8217;s World Games, B4BC raised a total of about 7,000 euros in donations &#8212; a respectable sum for an all-amateur event, but a lot more money is needed to improve the quality of life of EB patients, and potentially discover a cure to the disease. If you consider joining the fight against EB, please contact your local <a href="http://en.wikipedia.org/wiki/DebRA">DebRA</a> chapter.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=303&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/09/17/linbit-mount-their-bikes-to-support-butterfly-children/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Alternatives&#8221; to DRBD</title>
		<link>http://fghaas.wordpress.com/2009/09/16/alternatives-to-drbd/</link>
		<comments>http://fghaas.wordpress.com/2009/09/16/alternatives-to-drbd/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 06:59:15 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Pacemaker]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=313</guid>
		<description><![CDATA[Every once in a while, people ask us something along the lines of &#8220;why do I need DRBD? Can&#8217;t I accomplish what it does by other means?&#8221; You mean build high availability clusters with block-level synchronous replication? Well, sure you can. But all of the available alternatives have serious drawbacks.

Use a SAN. Well, SANs are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=313&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Every once in a while, people ask us something along the lines of &#8220;why do I need DRBD? Can&#8217;t I accomplish what it does by other means?&#8221; You mean build high availability clusters with block-level synchronous replication? Well, sure you can. But all of the available alternatives have serious drawbacks.</p>
<ul>
<li><strong>Use a SAN.</strong> Well, <a href="http://en.wikipedia.org/wiki/Storage_area_network">SANs</a> are great in terms of management, even though they&#8217;re sometimes prohibitively expensive. But your regular SAN box does not offer physically distributed redundancy at the data level. In order words, if your SAN box goes down, all your beautiful high availability infrastructure turns to shreds. And even if you naïvely believe (and you shouldn&#8217;t) that a storage box can never crash, just think about air conditioning going down in just that part of your data center where your storage shelf is at. Repair time of several hours means down time of several hours, even though your servers in a different cabinet may be up and running. You&#8217;re dealing with a <a href="http://en.wikipedia.org/wiki/SPOF">single point of failure</a>. Not high availability in my book.</li>
<li><strong>Use a SAN with native replication.</strong> This means using two separate storage boxes with synchronous block-level replication between them. This eliminates the above-mentioned SPOF and is available from just about any SAN vendor (using proprietary implementations under various product names). The downside is that it costs you serious bucks, and I am not referring to just the additional piece of hardware. Those firmware licenses can hit six figures. Plus, switchover times (changing the direction of replication) can be extremely long, <a href="http://lists.community.tummy.com/pipermail/linux-ha-dev/2009-July/016625.html">up to 4 minutes</a> in some cases. And there is little to no support for replication management from open source cluster management software.</li>
<li><strong>Use a SAN with host-based mirroring.</strong> This means that you have two separate SAN boxes, hosts import <a href="http://en.wikipedia.org/wiki/Logical_Unit_Number">LUNs</a> from both, and mirror those pairs using <a href="http://en.wikipedia.org/wiki/RAID#Operating_system_based_.28.22software_RAID.22.29">software RAID</a> (such as <a href="http://neil.brown.name/blog/mdadm">md</a>). Eliminates the SPOF and saves you dollars on firmware licensing. Downsides: you <em>still</em> need a SAN (and the associated infrastructure &#8212; <a href="http://en.wikipedia.org/wiki/Fibre_Channel">fibre channel</a>, for example, isn&#8217;t exactly cheap), and as such your clusters are still not shared-nothing. And the integration with <a href="http://www.clusterlabs.org">open source cluster management</a> is also lacking.</li>
<li><strong>Use host-based mirroring between a local device, and a network block device.</strong> In this case, you have one disk that is local, and another that is exported from a remote host using <a href="http://en.wikipedia.org/wiki/Network_block_device">NBD</a> or <a href="http://en.wikipedia.org/wiki/ISCSI">iSCSI</a>. Those two disks are then mirrored with software RAID. Now this one is really terrible in terms of management. Role reversal always requires some custom glue, no support from cluster manages is available whatsoever, and split brain detection is poor or non existant. So if you really want to go down that alley then do &#8212; but please don&#8217;t call it a high availability cluster.</li>
</ul>
<p>Compare this to DRBD: no need for a SAN, so you can use it to operate a fully shared-nothing cluster. No firmware licensing cost. No need for expensive infrastructure as everything can replicate over regular IP networks. <a href="http://www.drbd.org/users-guide/s-switch-resource-roles.html">Role switch in a matter of seconds</a>. Tight integration with both <a href="http://www.clusterlabs.org">Pacemaker</a> and <a href="http://www.redhat.com/cluster_suite/">Red Hat Cluster Suite</a>.  Excellent <a href="http://www.drbd.org/users-guide/s-split-brain-notification-and-recovery.html">split brain detection</a> to make sure you don&#8217;t wreck your data accidentally. So if you are considering alternatives then that&#8217;s perfectly fine, but our soaring usage numbers are there for a reason.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=313&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/09/16/alternatives-to-drbd/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>On MySQL Replication, cluster managers, and DRBD (again)</title>
		<link>http://fghaas.wordpress.com/2009/08/31/on-mysql-replication-cluster-managers-and-drbd-again/</link>
		<comments>http://fghaas.wordpress.com/2009/08/31/on-mysql-replication-cluster-managers-and-drbd-again/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 17:49:26 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Pacemaker]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=299</guid>
		<description><![CDATA[With all of the discussions over the past years about MySQL Replication vs. DRBD (where the &#8220;vs.&#8221; part is in fact grossly misled of course &#8212; they are two technologies that complement each other quite well), here&#8217;s one with a slightly different angle: does it make sense to roll your own cluster manager around MySQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=299&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>With all of the discussions over the past years about <a href="http://dev.mysql.com/doc/refman/5.1/en/replication.html">MySQL Replication</a> vs. <a href="http://www.drbd.org">DRBD</a> (where the &#8220;vs.&#8221; part is in fact grossly misled of course &#8212; they are two technologies that complement each other quite well), here&#8217;s one with a slightly different angle: does it make sense to <a href="http://mysql-mmm.org/">roll your own cluster manager around MySQL Replication</a>, or is it smarter to <a href="http://www.clusterlabs.org">plug into an existing, proven cluster architecture</a>?</p>
<p>You&#8217;ll expect my own view to be fairly well defined, <a href="http://www.xaprb.com/blog/2009/08/30/failure-scenarios-and-solutions-in-master-master-replication/#comment-16891">and it is</a>. <a href="http://www.xaprb.com/blog/2009/08/30/failure-scenarios-and-solutions-in-master-master-replication/">But make up your own mind!</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=299&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/31/on-mysql-replication-cluster-managers-and-drbd-again/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>Full drbd-user list functionality restored</title>
		<link>http://fghaas.wordpress.com/2009/08/27/full-drbd-user-functionality-restored/</link>
		<comments>http://fghaas.wordpress.com/2009/08/27/full-drbd-user-functionality-restored/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 07:57:13 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Non-technical]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=294</guid>
		<description><![CDATA[Unfortunately, we&#8217;ve had a small issue with the drbd-user mailing list with some posts from new members not properly coming through. If you&#8217;ve been affected by this, our sincere apologies. Full functionality of the mailing list has now been restored.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=294&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Unfortunately, we&#8217;ve had a small issue with <a href="http://lists.linbit.com/mailman/listinfo/drbd-user">the <code>drbd-user</code> mailing list</a> with some posts from new members not properly coming through. If you&#8217;ve been affected by this, our sincere apologies. Full functionality of the mailing list has now been restored.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=294&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/27/full-drbd-user-functionality-restored/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>On DRBD connection timeouts</title>
		<link>http://fghaas.wordpress.com/2009/08/26/on-drbd-connection-timeouts/</link>
		<comments>http://fghaas.wordpress.com/2009/08/26/on-drbd-connection-timeouts/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 07:35:00 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=288</guid>
		<description><![CDATA[Here is a question recently seen on drbd-user:
I cannot get the timeout parameter in [drbd.conf] to work (I set it up as in all the examples I saw). I set it low (say 1 second), kill the remote box IO [re]commences after 10 seconds (as the other parameters state).
Anything I&#8217;m doing wrong?
Well, sort of. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=288&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is a question recently seen on <a href="http://lists.linbit.com/listinfo/drbd-user">drbd-user</a>:</p>
<blockquote><p>I cannot get the <code>timeout</code> parameter in [drbd.conf] to work (I set it up as in all the examples I saw). I set it low (say 1 second), kill the remote box IO [re]commences after 10 seconds (as the other parameters state).</p>
<p>Anything I&#8217;m doing wrong?</p></blockquote>
<p>Well, sort of.<span id="more-288"></span> The <code>timeout</code> parameter specifies the timeout DRBD uses for the blocking sockets it transmits data over. So if you issue I/O on the DRBD device while <code>Connected</code>, and a corresponding replication packet does not complete within <code>timeout</code>, then DRBD concludes that the peer has gone away and transitions to <code>WFConnection</code>, effectively switching into <a href="http://www.drbd.org/users-guide/s-node-failure.html">disconnected mode</a>.</p>
<p>If however the connection is lost while the DRBD device is idle (not handling any write I/O), then there are no packets to replicate, and none to wait for. By itself, this would mean that while idle, DRBD would be unable to detect that its peer has gone away. Clearly, this would not be desirable.</p>
<p>Here&#8217;s where DRBD&#8217;s in-protocol &#8220;pings&#8221; come into play. Don&#8217;t confuse this with real <a href="http://en.wikipedia.org/wiki/Ping">ICMP echo requests</a>. A DRBD &#8220;ping&#8221; is simply a no-op message inside the DRBD replication layer, as in the peers shouting at each other, &#8220;hello, I&#8217;m still here.&#8221; DRBD sends these &#8220;pings&#8221; in a configurable interval, specified by the <code>ping-int</code> configuration option and defaulting to 10 seconds. DRBD &#8220;pings&#8221; time out within the time specified as <code>ping-timeout</code>, which by default is 0.5 seconds.</p>
<p>So: while I/O is being issued on a device, it&#8217;s <code>timeout</code> that governs disconnection. While it is idle, however, disconnection is initiated by a &#8220;ping&#8221; packet (which is issued every 10 seconds, unless otherwise configured with <code>ping-int</code>) not being received within half a second (unless otherwise configured with <code>ping-timeout</code>).</p>
<p>Finally, for the sake of completeness, I should add that there is also a connect-int option, which is the interval DRBD uses for re-connecting to the peer in case of a connection failure. timeout must be lower than both connect-int and ping-int, otherwise it will be ignored. That is the issue that the user I quoted ran into.</p>
<p>All of this is, of course, explained in more detail in the <a href="http://www.drbd.org/users-guide/re-drbdconf.html"><code>drbd.conf</code> man page</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=288&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/26/on-drbd-connection-timeouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>LINBIT at LinuxCon and LPC</title>
		<link>http://fghaas.wordpress.com/2009/08/24/linbit-at-linuxcon-and-lpc/</link>
		<comments>http://fghaas.wordpress.com/2009/08/24/linbit-at-linuxcon-and-lpc/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 08:13:20 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Pacemaker]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[SUSE Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=280</guid>
		<description><![CDATA[LINBIT will be a proud sponsor at this year&#8217;s LinuxCon in Portland, OR, held on September 21-23. We will also participate in the Linux Plumbers Conference, co-located with LinuxCon.
Phil is to speak at LinuxCon about DRBD 8.3 and beyond. At LPC, we will primarily focus on building highly available storage systems with DRBD, Pacemaker, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=280&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.linbit.com">LINBIT</a> will be a proud <a href="http://events.linuxfoundation.org/events/linuxcon/sponsors">sponsor</a> at this year&#8217;s <a href="http://events.linuxfoundation.org/events/linuxcon">LinuxCon in Portland, OR, held on September 21-23</a>. We will also participate in the <a href="http://linuxplumbersconf.org/2009/">Linux Plumbers Conference</a>, co-located with LinuxCon.</p>
<p>Phil is to speak at LinuxCon about <a href="http://linuxcon.linuxfoundation.org/meetings/1883">DRBD 8.3 and beyond</a>. At LPC, we will primarily focus on building highly available storage systems with DRBD, <a href="http://www.clusterlabs.org">Pacemaker</a>, and the <a href="http://stgt.berlios.de">STGT</a> and <a href="http://www.linux-iscsi.org">LIO</a> <a href="http://en.wikipedia.org/wiki/iSCSI">iSCSI</a> targets.</p>
<p>So, storage and data center folks on the West Coast, come and meet us! <a href="http://www.mysql.com">MySQLers</a> and <a href="http://www.drizzle.org">Drizzlers</a> from the Pacific Northwest (<a href="http://mysql-ha.com/author/mordred">mordred</a>, that means you!), drop us a line to see how we can link up! Novell folks, let&#8217;s sit down and chat about what we can do to help improve <a href="http://www.novell.com/rc/docrepository/public/25/basedocument.2009-02-27.4808652455/SLEHA_Summary_vf%203-27-09_en.odp">SLE 11 HAE</a>! Red Hat/Fedora people, let&#8217;s talk about how we can improve DRBD integration in your distributions! Virtualization folks, let&#8217;s talk about seamless DRBD integration with <a href="http://www.libvirt.org">libvirt</a>, like it already exists in Xen!</p>
<p>Please drop us a line at <code>linuxcon at linbit dot com</code> or <code>lpc at linbit dot com</code> if you are coming to either event, so we can arrange a get-together. Thanks!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/280/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=280&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/24/linbit-at-linuxcon-and-lpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>Collaboration with Logicworks announced</title>
		<link>http://fghaas.wordpress.com/2009/08/20/collaboration-with-logicworks-announced/</link>
		<comments>http://fghaas.wordpress.com/2009/08/20/collaboration-with-logicworks-announced/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 14:01:03 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Non-technical]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=274</guid>
		<description><![CDATA[LINBIT just announced a collaboration with Logicworks.
Logicworks, based in New York City, is a long-term enterprise user of DRBD based storage replication. If you&#8217;re into baseball and follow MLBlogs, DRBD is what it runs on and Logicworks is who runs it. Their Managed Storage Services offering has leveraged DRBD for a long time. The same [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=274&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.linbit.com">LINBIT</a> just <a href="http://www.marketwire.com/press-release/Linbit-Usa-Llc-NASDAQ-MLNX-1033696.html">announced</a> a collaboration with <a href="http://www.logicworks.net">Logicworks</a>.</p>
<p>Logicworks, based in New York City, is a long-term enterprise user of DRBD based storage replication. If you&#8217;re into baseball and follow <a href="http://www.mlb.com/blogs">MLBlogs</a>, <a href="http://www.eweek.com/c/a/Database/Managed-Database-Service-a-Home-Run-for-Major-League-Baseball/">DRBD is what it runs on and Logicworks is who runs it</a>. Their<a href="http://www.logicworks.net/managed-services/managed-storage-services"> Managed Storage Services</a> offering has leveraged DRBD for a long time. The same is of course true for their <a href="http://www.virtual-strategy.com/In-the-News/Logicworks-Launches-Private-Cloud-Service.html">Private Cloud</a> service.</p>
<p>This is really cool stuff.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=274&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/20/collaboration-with-logicworks-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>Internal metadata, and why we recommend it</title>
		<link>http://fghaas.wordpress.com/2009/08/20/internal-metadata-and-why-we-recommend-it/</link>
		<comments>http://fghaas.wordpress.com/2009/08/20/internal-metadata-and-why-we-recommend-it/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 07:32:57 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=268</guid>
		<description><![CDATA[One of the things that repeatedly seem to puzzle users about the DRBD is the question of whether to use internal or external metadata. Remember, DRBD sets aside a small area on a local disk (on every cluster node) where it keeps the Activity Log, the quick-sync bitmap, data generation UUIDs, and a few other [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=268&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the things that repeatedly seem to puzzle users about the DRBD is the question of whether to use <a href="http://www.drbd.org/users-guide/ch-internals.html#s-internal-meta-data">internal</a> or <a href="http://www.drbd.org/users-guide/ch-internals.html#s-external-meta-data">external metadata</a>. Remember, DRBD sets aside a small area on a local disk (on every cluster node) where it keeps the <a href="http://www.drbd.org/users-guide/s-activity-log.html">Activity Log</a>, the <a href="http://www.drbd.org/users-guide/s-quick-sync-bitmap.html">quick-sync bitmap</a>, <a href="http://www.drbd.org/users-guide/s-gi.html">data generation UUIDs</a>, and a few other bits and pieces for local housekeeping.</p>
<p>The specific aspect that is to be discussed here is the Activity Log. Without going into too much detail, let&#8217;s be satisfied with the factoid that DRBD &#8220;occasionally&#8221; (it&#8217;s a little more involved in reality) writes to the AL,<em> and has to wait for that write to complete before it can handle user data again</em>. This wait is the crucial point. It&#8217;s usually on the order of just a few milliseconds, but on busy systems this can add up to where it throttles throughput just a little.</p>
<p>Now, what makes I/O fast or slow (on rotational hard drives, solid state is a different matter)? That&#8217;s right, it&#8217;s <a href="http://en.wikipedia.org/wiki/Seek_time">disk seeks</a>. So when we use internal meta data, so the theory goes, the read-write head has to do something in the data area, then move to the AL and do something there, then move back to the data area, and so forth. Which, intuitively, can be speeded up if you put user data and meta data on different <em>spindles</em>. Different &#8220;logical&#8221; disks won&#8217;t do, it has to be on a separate spindle, so read-write heads can move in parallel. Again, this is as the naïve theory goes. Use external meta data, devise a clever scheme on how to spread your meta data apart from your user data, and you&#8217;ll be fine. And you can call yourself a great wizard in storage subsystem tuning. Well, not quite, unfortunately.</p>
<p><span id="more-268"></span>The problem is, you&#8217;ve made a crucial mistake in performance tuning. You are completely ignoring the effects of a battery-backed <a href="http://en.wikipedia.org/wiki/Disk_buffer#Write_acceleration">write cache</a>. If, as <a href="http://www.linbit.com">we</a> always recommend, you use a reasonable useful storage controller, which comes with a decent write cache and a battery backup unit, then the whole issue is moot. Because then you are no longer waiting for actual disk seeks to complete. What you think you are writing into disk sectors actually goes into a piece of controller RAM, and completes pretty much instantaneously. It&#8217;s the controller&#8217;s job to get this stuff onto stable storage later, and guarantee that it does so even in the face of a power failure. That&#8217;s what the BBU is for. But the whole idea of avoiding disk seeks for meta data writes is pretty much irrelevant now.</p>
<p>Which means you can scrap your grand user data/meta data distribution scheme and focus on important issues.</p>
<p>Bottom line: if using external metadata actually improves your performance versus internal metadata, you have underlying performance problems to fix. And you should fix those rather than patch them up at the DRBD level.</p>
<p>Of course I should add that <a href="http://www.linbit.com">we</a> offer performance tuning and architectural consultancy for the complete high availability stack, including hardware tuning recommendations. So if you are uncomfortable with these tuning issues or could use some help, <a href="http://www.linbit.com/en/contact/">drop us a line</a>. We&#8217;ll be happy to support you.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=268&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/20/internal-metadata-and-why-we-recommend-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing Planet HA!</title>
		<link>http://fghaas.wordpress.com/2009/08/18/introducing-planet-ha/</link>
		<comments>http://fghaas.wordpress.com/2009/08/18/introducing-planet-ha/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 07:42:09 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=259</guid>
		<description><![CDATA[The latest addition to the Planetarium is www.planet-ha.org, a feed aggregator covering blogs and news feeds about all things HA. Active as of today, Planet HA is intended as a central location where you can find the latest open source high availability additions to the blogosphere.
An aggregated RSS feed is available from www.planet-ha.org/rss20.xml.
If you blog [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=259&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The latest addition to the Planetarium is <a href="http://www.planet-ha.org">www.planet-ha.org</a>, a feed aggregator covering blogs and news feeds about all things HA. Active as of today, Planet HA is intended as a central location where you can find the latest open source high availability additions to the blogosphere.</p>
<p>An aggregated RSS feed is available from <a href="http://www.planet-ha.org/rss20.xml" target="_blank">www.planet-ha.org/rss20.xml</a>.</p>
<p>If <em>you</em> blog about HA and would like to get your feed added to Planet HA, here&#8217;s how:</p>
<ul>
<li>If your blog primarily covers HA (like <a href="http://blogs.linbit.com/florian">my own</a>), then simply submit your feed URL by email to <code>planet dash ha at linbit dot com</code>. We&#8217;ll take anything that <a href="http://www.planetplanet.org" target="_blank">Planet</a> can grok; RSS and Atom feeds are usually perfectly fine.</li>
<li>If you occasionally blog about HA, then please create a tag or category (if you haven&#8217;t already done so), and submit a filtered feed.</li>
<li>The site is (for the time being) English-only, so if you blog in multiple languages it would be tremendously helpful if you could create an English-only tag/category and submit a filtered feed for that.</li>
</ul>
<p><a href="http://www.linbit.com" target="_self">LINBIT</a> is sponsoring CPU cycles and bandwidth for this site. But we absolutely don&#8217;t mind if you happen to never blog about <a href="http://www.drbd.org" target="_self">DRBD</a>. At all. Just so that&#8217;s clear.  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  If you blog about HA, your feed is more than welcome.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=259&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/18/introducing-planet-ha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
		<item>
		<title>Are SANs still relevant?</title>
		<link>http://fghaas.wordpress.com/2009/08/13/are-sans-still-relevant/</link>
		<comments>http://fghaas.wordpress.com/2009/08/13/are-sans-still-relevant/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 18:55:17 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fghaas.wordpress.com/?p=257</guid>
		<description><![CDATA[Brilliant article from Charlie on whether SANs make sense. Excellent food for thought. Do take a look.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=257&subd=fghaas&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Brilliant article from Charlie on whether SANs make sense. Excellent food for thought. <a href="http://www.enterprisenetworkingplanet.com/_featured/article.php/3833351/Are-SANs-Still-Relevant.htm" target="_blank">Do take a look.</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fghaas.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fghaas.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fghaas.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fghaas.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fghaas.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fghaas.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fghaas.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fghaas.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fghaas.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fghaas.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fghaas.wordpress.com&blog=1182330&post=257&subd=fghaas&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fghaas.wordpress.com/2009/08/13/are-sans-still-relevant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">fghaas</media:title>
		</media:content>
	</item>
	</channel>
</rss>