<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: DRBD and MySQL: Just Say No</title>
	<atom:link href="http://www.jebriggs.com/blog/2008/04/drbd-and-mysql-just-say-no/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jebriggs.com/blog/2008/04/drbd-and-mysql-just-say-no/</link>
	<description>Observations by a Programmer of Silicon Valley and Beyond</description>
	<lastBuildDate>Wed, 25 Jan 2012 03:01:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Peter Zaitsev</title>
		<link>http://www.jebriggs.com/blog/2008/04/drbd-and-mysql-just-say-no/comment-page-1/#comment-25712</link>
		<dc:creator>Peter Zaitsev</dc:creator>
		<pubDate>Tue, 29 Apr 2008 02:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jebriggs.com/blog/mysql/drbd-and-mysql-just-say-no.html#comment-25712</guid>
		<description>I guess by FSCK you mean reply if file system transactional logs... which still takes some time however.

I think DRBD mainly applies to the people who mainly got use to SAN based clustering and active-passive clustering offered by many databases.  It is generic and this is what some groups of people love.</description>
		<content:encoded><![CDATA[<p>I guess by FSCK you mean reply if file system transactional logs&#8230; which still takes some time however.</p>
<p>I think DRBD mainly applies to the people who mainly got use to SAN based clustering and active-passive clustering offered by many databases.  It is generic and this is what some groups of people love.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Everything is a Freaking DNS problem</title>
		<link>http://www.jebriggs.com/blog/2008/04/drbd-and-mysql-just-say-no/comment-page-1/#comment-25710</link>
		<dc:creator>Everything is a Freaking DNS problem</dc:creator>
		<pubDate>Mon, 28 Apr 2008 08:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.jebriggs.com/blog/mysql/drbd-and-mysql-just-say-no.html#comment-25710</guid>
		<description>&lt;strong&gt;MySQL and DRBD, Just say NO !...&lt;/strong&gt;

Florian
is replying to Janmes on the subject of using DRBD for MySQL HA.     Florian is refuting most of the arguments that James has against using MySQL and DRBD together.

I`m also saying NO to MySQL and DRBD in most of the cases.. but not for any of...</description>
		<content:encoded><![CDATA[<p><strong>MySQL and DRBD, Just say NO !&#8230;</strong></p>
<p>Florian<br />
is replying to Janmes on the subject of using DRBD for MySQL HA.     Florian is refuting most of the arguments that James has against using MySQL and DRBD together.</p>
<p>I`m also saying NO to MySQL and DRBD in most of the cases.. but not for any of&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DRBD and MySQL: Just Say Yes &#171; Florian&#8217;s blog</title>
		<link>http://www.jebriggs.com/blog/2008/04/drbd-and-mysql-just-say-no/comment-page-1/#comment-25709</link>
		<dc:creator>DRBD and MySQL: Just Say Yes &#171; Florian&#8217;s blog</dc:creator>
		<pubDate>Sun, 27 Apr 2008 14:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jebriggs.com/blog/mysql/drbd-and-mysql-just-say-no.html#comment-25709</guid>
		<description>[...] and MySQL: Just Say&#160;Yes  I recently came across this blog post with the catchy title of &#8220;DRBD and MySQL: Just Say No&#8221;. Now while I have absolutely no issue with people not liking DRBD or finding that it doesn&#8217;t [...]</description>
		<content:encoded><![CDATA[<p>[...] and MySQL: Just Say&nbsp;Yes  I recently came across this blog post with the catchy title of &#8220;DRBD and MySQL: Just Say No&#8221;. Now while I have absolutely no issue with people not liking DRBD or finding that it doesn&#8217;t [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian Haas</title>
		<link>http://www.jebriggs.com/blog/2008/04/drbd-and-mysql-just-say-no/comment-page-1/#comment-25703</link>
		<dc:creator>Florian Haas</dc:creator>
		<pubDate>Mon, 21 Apr 2008 09:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.jebriggs.com/blog/mysql/drbd-and-mysql-just-say-no.html#comment-25703</guid>
		<description>Disclosure: I work for LINBIT, we&#039;re the guys that develop DRBD. Allow me to address these alleged minuses here.

&quot;DRBD partition corruption means failover node would be unusable (disadvantage of shared storage) and failback could destroy original master too.&quot;

If the filesystem that sits on DRBD gets corrupted, it is correct that that corruption wouldn&#039;t magically disappear on failover. However failback can&#039;t &quot;destroy&quot; the master (i.e. cause more corruption than already exists).

&quot;If the master panics, then after failover both fsck and transaction logs replay must be performed.&quot;

fsck amounts to replaying a journal and usually gets completed within under a second. Unless you use a non-journaling filesystem, which is a really bad idea in the first place. And while DRBD would panic the host deliberately in some error conditions in obsolete versions, it doesn&#039;t do so anymore (since DRBD 8, which was released over a year ago).

&quot;NIC and network corruption is also propagated.&quot;

Wrong. End-to-end replication integrity checking was introduced to prevent exactly that. This has been around for half a year. See http://www.drbd.org/users-guide/s-integrity-check.html

&quot;Failover node is a cold standby, cannot accept database traffic if that would change the DRBD partition&quot;

Correct, but nothing stops you from running two DRBD-backed database instances on two hosts in a &quot;criss-cross&quot; fashion, converging on one node on node failure.

&quot;Could generate a lot of network traffic.&quot;

Which is why it&#039;s always recommended to use a dedicated crossover replication link. 

&quot;2 heartbeats needed on a reliable, local network.&quot;

2 network connections are always available if you follow the recommendation above. Adding another heartbeat communication path amounts to adding one line in a config file.

And allow me to add two more pluses here for DRBD, just because a customer mentioned them in one of the DRBD sessions at the conference:

1. No matter on which host a DRBD-backed MySQL server runs, it listens on a virtual, Heartbeat-managed IP address. Thus if you run 1:n replication off that master, failing over doesn&#039;t affect replication to your slaves at all. It simply continues right where it left off after failover and manual switchover.

2. DRBD is synchronous. Can&#039;t do that with MySQL replication.</description>
		<content:encoded><![CDATA[<p>Disclosure: I work for LINBIT, we&#8217;re the guys that develop DRBD. Allow me to address these alleged minuses here.</p>
<p>&#8220;DRBD partition corruption means failover node would be unusable (disadvantage of shared storage) and failback could destroy original master too.&#8221;</p>
<p>If the filesystem that sits on DRBD gets corrupted, it is correct that that corruption wouldn&#8217;t magically disappear on failover. However failback can&#8217;t &#8220;destroy&#8221; the master (i.e. cause more corruption than already exists).</p>
<p>&#8220;If the master panics, then after failover both fsck and transaction logs replay must be performed.&#8221;</p>
<p>fsck amounts to replaying a journal and usually gets completed within under a second. Unless you use a non-journaling filesystem, which is a really bad idea in the first place. And while DRBD would panic the host deliberately in some error conditions in obsolete versions, it doesn&#8217;t do so anymore (since DRBD 8, which was released over a year ago).</p>
<p>&#8220;NIC and network corruption is also propagated.&#8221;</p>
<p>Wrong. End-to-end replication integrity checking was introduced to prevent exactly that. This has been around for half a year. See <a href="http://www.drbd.org/users-guide/s-integrity-check.html" rel="nofollow">http://www.drbd.org/users-guide/s-integrity-check.html</a></p>
<p>&#8220;Failover node is a cold standby, cannot accept database traffic if that would change the DRBD partition&#8221;</p>
<p>Correct, but nothing stops you from running two DRBD-backed database instances on two hosts in a &#8220;criss-cross&#8221; fashion, converging on one node on node failure.</p>
<p>&#8220;Could generate a lot of network traffic.&#8221;</p>
<p>Which is why it&#8217;s always recommended to use a dedicated crossover replication link. </p>
<p>&#8220;2 heartbeats needed on a reliable, local network.&#8221;</p>
<p>2 network connections are always available if you follow the recommendation above. Adding another heartbeat communication path amounts to adding one line in a config file.</p>
<p>And allow me to add two more pluses here for DRBD, just because a customer mentioned them in one of the DRBD sessions at the conference:</p>
<p>1. No matter on which host a DRBD-backed MySQL server runs, it listens on a virtual, Heartbeat-managed IP address. Thus if you run 1:n replication off that master, failing over doesn&#8217;t affect replication to your slaves at all. It simply continues right where it left off after failover and manual switchover.</p>
<p>2. DRBD is synchronous. Can&#8217;t do that with MySQL replication.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 1/10 queries in 0.003 seconds using disk
Object Caching 199/215 objects using disk

Served from: www.jebriggs.com @ 2012-02-10 12:37:32 -->
