<?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>Weez.com &#187; please</title>
	<atom:link href="http://www.weez.com/tag/please/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.weez.com</link>
	<description>Solving everyday practical LAMP problems... one at a time</description>
	<lastBuildDate>Fri, 10 Feb 2012 23:07:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Lucky &#8211; Jason Mraz &amp; Colbie Caillat (Cover by Anastasia) LISTEN WITH EARPHONES PLEASE!-</title>
		<link>http://www.weez.com/2010/08/lucky-jason-mraz-colbie-caillat-cover-by-anastasia-listen-with-earphones-please/</link>
		<comments>http://www.weez.com/2010/08/lucky-jason-mraz-colbie-caillat-cover-by-anastasia-listen-with-earphones-please/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 16:59:42 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Anastasia]]></category>
		<category><![CDATA[Caillat]]></category>
		<category><![CDATA[Colbie]]></category>
		<category><![CDATA[cover]]></category>
		<category><![CDATA[EARPHONES]]></category>
		<category><![CDATA[jason]]></category>
		<category><![CDATA[LISTEN]]></category>
		<category><![CDATA[Lucky]]></category>
		<category><![CDATA[mraz]]></category>
		<category><![CDATA[please]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/08/lucky-jason-mraz-colbie-caillat-cover-by-anastasia-listen-with-earphones-please/</guid>
		<description><![CDATA[This is dedicated to Brixton Boy. And Fedora, though I have no idea when we&#8217;ll ever jam again. xoxoxo Anastasia]]></description>
			<content:encoded><![CDATA[<p>					<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/Z6XE8tsjCeQ?fs=1"></param><param name="allowFullScreen" value="true"></param>
					<embed src="http://www.youtube.com/v/Z6XE8tsjCeQ?fs=1" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object><br />
This is dedicated to Brixton Boy. And Fedora, though I have no idea when we&#8217;ll ever jam again. xoxoxo Anastasia</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/08/lucky-jason-mraz-colbie-caillat-cover-by-anastasia-listen-with-earphones-please/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Less Spam, Please Generates Temporary, Anonymous Email Addresses On-the-Fly [Downloads]</title>
		<link>http://www.weez.com/2010/08/less-spam-please-generates-temporary-anonymous-email-addresses-on-the-fly-downloads/</link>
		<comments>http://www.weez.com/2010/08/less-spam-please-generates-temporary-anonymous-email-addresses-on-the-fly-downloads/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 08:55:33 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Addresses]]></category>
		<category><![CDATA[Anonymous]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Generates]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[OntheFly]]></category>
		<category><![CDATA[please]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[Temporary]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/08/less-spam-please-generates-temporary-anonymous-email-addresses-on-the-fly-downloads/</guid>
		<description><![CDATA[Less Spam, Please Generates Temporary, Anonymous Email Addresses On-the-Fly [Downloads] # downloads Firefox only (Windows/Mac/Linux): Firefox extension Less Spam, Please adds an item to your right-click context menu to automatically generate an anonymous, disposable email address so you can try out a new service without fear of spam. More » Read more on Lifehacker]]></description>
			<content:encoded><![CDATA[<p><b>Less Spam, Please Generates Temporary, Anonymous Email Addresses On-the-Fly [Downloads]</b><br />
# downloads Firefox only (Windows/Mac/Linux): Firefox extension Less Spam, Please adds an item to your right-click context menu to automatically generate an anonymous, disposable email address so you can try out a new service without fear of spam. More »</p>
<p>Read more on <a rel="nofollow" href="http://lifehacker.com/5600792/less-spam-please-generates-temporary-anonymous-email-addresses-on+the+fly">Lifehacker</a><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/08/less-spam-please-generates-temporary-anonymous-email-addresses-on-the-fly-downloads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Please Don&#8217;t Run</title>
		<link>http://www.weez.com/2010/06/please-dont-run/</link>
		<comments>http://www.weez.com/2010/06/please-dont-run/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 00:26:09 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Don't]]></category>
		<category><![CDATA[please]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/06/please-dont-run/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>					<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/9XQOO9YyR54?fs=1"></param><param name="allowFullScreen" value="true"></param>
					<embed src="http://www.youtube.com/v/9XQOO9YyR54?fs=1" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/06/please-dont-run/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Pacemaker, please meet NDB Cluster or using Pacemaker/Heartbeat to start a NDB Cluster</title>
		<link>http://www.weez.com/2010/05/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/</link>
		<comments>http://www.weez.com/2010/05/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/#comments</comments>
		<pubDate>Wed, 19 May 2010 20:48:26 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Meet]]></category>
		<category><![CDATA[Pacemaker]]></category>
		<category><![CDATA[Pacemaker/Heartbeat]]></category>
		<category><![CDATA[please]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[using]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/05/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/</guid>
		<description><![CDATA[Customers have always asked me to make NDB Cluster starts automatically upon startup of the servers. For the ones who know NDB Cluster, it is tricky to make it starts automatically. I know at least 2 sets of scripts to manage NDB startup, ndb-initializer and from Johan configurator www.severalnines.com. If all the nodes come up [...]]]></description>
			<content:encoded><![CDATA[<p>Customers have always asked me to make NDB Cluster starts automatically upon startup of the servers.  For the ones who know NDB Cluster, it is tricky to make it starts automatically.  I know at least 2 sets of scripts to manage NDB startup, <a href="http://sourceforge.net/projects/ndb-initializer/">ndb-initializer</a> and from Johan configurator <a href="http://www.severalnines.com/config/index.php">www.severalnines.com</a>.  If all the nodes come up at about the same time, it is not too bad but what if one the critical node takes much longer to start because of an fsck on a large ext3 partition.  Then, a startup script becomes a nightmare.  Finally, if the box on which the script is supposed to run didn&#8217;t start at all.  That&#8217;s a lot of rules to handle.</p>
<p>Since all aspects of HA interest me,  I was recently reading the <a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/">Pacemaker documentation</a> and I realized that Pacemaker has all the logic required to manage NDB Cluster startup.  Okay it might seems weird to control a cluster by cluster but if you think about it, this is, I think, the best solution. </p>
<p>The Linux-HA project has split the old Heartbeat-2 project in 2 parts, the clustering and communication layer, Heartbeat and the resources manager, Pacemaker.  A key new features that has been added to Pacemaker recently, a <em>Clone resources set</em>, that allows an optional startup if only one of 2 similar resources starts.  I use this feature to start the data nodes.  If after a major outage, only one of the physical host where the data nodes are located comes up, the cluster will start.  The other features of Pacemaker that I need are resource location <em>rsc_location</em> and resource ordering <em>rsc_order</em>.</p>
<p>Let&#8217;s start by the beginning.  My NDB cluster is made of the following 3 nodes:</p>
<ul>
<li>testvirtbox: ndb_mgmd  (10.2.2.139)</li>
<li>test1: ndbd</li>
<li>test2: ndbd</li>
</ul>
<p>For the sake of simplicity, I am not considering the SQL nodes but given the framework, extending to SQL nodes is trivial.  Installing Pacemaker and Heartbeat is very easy on Lucid Lynx, just do the following:</p>
<div class="igBar"><span id="lcode-40"><a href="#" onclick="javascript:showPlainTxt('code-40'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-40">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apt-get install heartbeat pacemaker </div>
</li>
</ol>
</div>
</div>
</div>
<p>On other distributions, you might have to build from sources,  look <a href="http://www.linux-ha.org/doc/">here</a> for help.</p>
<p>There 2 minimal configuration files:</p>
<div class="igBar"><span id="lcode-41"><a href="#" onclick="javascript:showPlainTxt('code-41'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-41">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@test2:~# cat /etc/ha.<span style="">d</span>/authkeys</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">auth <span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#800000;color:#800000;">1</span> sha1&nbsp; yves</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@test2:~# cat /etc/ha.<span style="">d</span>/ha.<span style="">cf</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">autojoin none</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bcast eth0</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">warntime <span style="color:#800000;color:#800000;">5</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deadtime <span style="color:#800000;color:#800000;">15</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">initdead <span style="color:#800000;color:#800000;">60</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">keepalive <span style="color:#800000;color:#800000;">2</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">node test1</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">node test2</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">node testvirtbox</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">crm respawn </div>
</li>
</ol>
</div>
</div>
</div>
<p>And then, Heartbeat can be started on all nodes with <em>/etc/init.d/heartbeat start</em>.</p>
<p>Next, since Pacemaker is used to start resources and not to manage them, we don&#8217;t need to define Stonith devices so (run on only one node):</p>
<div class="igBar"><span id="lcode-42"><a href="#" onclick="javascript:showPlainTxt('code-42'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-42">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">crm_attribute -t crm_config -n stonith-enabled -v false </div>
</li>
</ol>
</div>
</div>
</div>
<p>A last before defining resources, since the Heartbeat cluster is asymmetrical, meaning resources will not be able to run anywhere, we must create an &#8220;Opt-In&#8221; cluster with (run on only one node):</p>
<div class="igBar"><span id="lcode-43"><a href="#" onclick="javascript:showPlainTxt('code-43'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-43">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">crm_attribute &#8211;attr-name symmetric-cluster &#8211;attr-value false </div>
</li>
</ol>
</div>
</div>
</div>
<p>At this point, we have a running cluster controlling nothing.  The trick with NDB Cluster is that Heartbeat is required to start the resources but <strong>not</strong> to stop them.  In order to achieve this behavior, I created fake resource scripts that can be fully controlled by Heartbeat but allowing the one way behavior I wanted.  </p>
<div class="igBar"><span id="lcode-44"><a href="#" onclick="javascript:showPlainTxt('code-44'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-44">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@testvirtbox:~# cat /usr/local/bin/fake_ndb_mgmd</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#!/bin/bash</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/usr/bin/nohup /usr/local/mysql/libexec/ndb_mgmd&gt; /dev/null &amp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">while <span style="color:#006600; font-weight:bold;">&#91;</span> <span style="color:#800000;color:#800000;">1</span> <span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">do</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; /bin/sleep <span style="color:#800000;color:#800000;">60</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">done</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@testvirtbox:~# cat /usr/local/bin/fake_ndb_cluster_start</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#!/bin/bash</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#Give some time to the nodes to connect</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/bin/sleep <span style="color:#800000;color:#800000;">15</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/usr/local/mysql/bin/ndb_mgm -e <span style="color:#CC0000;">&#8216;all start&#8217;</span>&gt; /dev/null</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">while <span style="color:#006600; font-weight:bold;">&#91;</span> <span style="color:#800000;color:#800000;">1</span> <span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">do</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; /bin/sleep <span style="color:#800000;color:#800000;">60</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">done</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@test1:~# cat /usr/local/bin/fake_ndbd</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#!/bin/bash</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#Give some time to ndb_mgmd to start</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/bin/sleep <span style="color:#800000;color:#800000;">10</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">nohup /usr/local/mysql/libexec/ndbd -c <span style="color:#800000;color:#800000;">10</span>.<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">139</span>&gt; /dev/null &amp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">while <span style="color:#006600; font-weight:bold;">&#91;</span> <span style="color:#800000;color:#800000;">1</span> <span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">do</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; sleep <span style="color:#800000;color:#800000;">60</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">done </div>
</li>
</ol>
</div>
</div>
</div>
<p>With Pacemaker it is not longer required to manipulate the cib in xml format but for this post, xml offers a compact way of presenting the configuration.  The first things we need to define are the resources.  A very handy resource type for us is the <em>anything</em> resource which allow an arbitrary script or binary to be run.  The resources section will look like:</p>
<div class="igBar"><span id="lcode-45"><a href="#" onclick="javascript:showPlainTxt('code-45'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-45">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;resources&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;primitive id=<span style="color:#CC0000;">&#8220;mgmd&#8221;</span> class=<span style="color:#CC0000;">&#8220;ocf&#8221;</span> type=<span style="color:#CC0000;">&#8220;anything&#8221;</span> provider=<span style="color:#CC0000;">&#8220;heartbeat&#8221;</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;instance_attributes id=<span style="color:#CC0000;">&#8220;params-mgmd&#8221;</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;param-mgmd-binfile&#8221;</span> name=<span style="color:#CC0000;">&#8220;binfile&#8221;</span> value=<span style="color:#CC0000;">&#8220;/usr/local/bin/fake_ndb_mgmd&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;param-mgmd-pidnile&#8221;</span> name=<span style="color:#CC0000;">&#8220;pidfile&#8221;</span> value=<span style="color:#CC0000;">&#8220;/var/run/heartbeat/fake_ndb_mgmd.pid&#8221;</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/instance_attributes&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;/primitive&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;clone id=<span style="color:#CC0000;">&#8220;ndbdclone&#8221;</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;meta_attributes id=<span style="color:#CC0000;">&#8220;ndbdclone-options&#8221;</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;ndbdclone-option-1&#8243;</span> name=<span style="color:#CC0000;">&#8220;globally-unique&#8221;</span> value=<span style="color:#CC0000;">&#8220;false&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;ndbdclone-option-2&#8243;</span> name=<span style="color:#CC0000;">&#8220;clone-max&#8221;</span> value=<span style="color:#CC0000;">&#8220;2&#8243;</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;ndbdclone-option-3&#8243;</span> name=<span style="color:#CC0000;">&#8220;clone-node-max&#8221;</span> value=<span style="color:#CC0000;">&#8220;1&#8243;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/meta_attributes&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;primitive id=<span style="color:#CC0000;">&#8220;ndbd&#8221;</span> class=<span style="color:#CC0000;">&#8220;ocf&#8221;</span> type=<span style="color:#CC0000;">&#8220;anything&#8221;</span> provider=<span style="color:#CC0000;">&#8220;heartbeat&#8221;</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;instance_attributes id=<span style="color:#CC0000;">&#8220;params-ndbd&#8221;</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;param-ndbd-binfile&#8221;</span> name=<span style="color:#CC0000;">&#8220;binfile&#8221;</span> value=<span style="color:#CC0000;">&#8220;/usr/local/bin/fake_ndbd&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;param-ndbd-pidfile&#8221;</span> name=<span style="color:#CC0000;">&#8220;pidfile&#8221;</span> value=<span style="color:#CC0000;">&#8220;/var/run/heartbeat/fake_ndbd.pid&#8221;</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/instance_attributes&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/primitive&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;/clone&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;primitive id=<span style="color:#CC0000;">&#8220;ndbcluster&#8221;</span> class=<span style="color:#CC0000;">&#8220;ocf&#8221;</span> type=<span style="color:#CC0000;">&#8220;anything&#8221;</span> provider=<span style="color:#CC0000;">&#8220;heartbeat&#8221;</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;instance_attributes id=<span style="color:#CC0000;">&#8220;params-ndbcluster&#8221;</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;param-ndbcluster-binfile&#8221;</span> name=<span style="color:#CC0000;">&#8220;binfile&#8221;</span> value=<span style="color:#CC0000;">&#8220;/usr/local/bin/fake_ndb_cluster_start&#8221;</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;nvpair id=<span style="color:#CC0000;">&#8220;param-ndbcluster-pidfile&#8221;</span> name=<span style="color:#CC0000;">&#8220;pidfile&#8221;</span> value=<span style="color:#CC0000;">&#8220;/var/run/heartbeat/fake_ndb_cluster_start.pid&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/instance_attributes&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;/primitive&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/resources&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>Please note the <em>ndbd</em> resource is defined through the use of a clone set.  The clone set will allow the cluster to start even if only one to the ndb node group is available.  If you have multiple ndb node groups, you&#8217;ll need one clone set per node group.  The <em>ndb_mgmd</em> nodes or eventual SQL nodes could have been handled the same way although for SQL nodes, <em>ndb_waiter</em> is very handy.   Once the resources are defined, we need to setup the constraints which cover mandatory locations and ordering.</p>
<div class="igBar"><span id="lcode-46"><a href="#" onclick="javascript:showPlainTxt('code-46'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-46">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;constraints&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;rsc_location id=<span style="color:#CC0000;">&#8220;loc-1&#8243;</span> rsc=<span style="color:#CC0000;">&#8220;mgmd&#8221;</span> node=<span style="color:#CC0000;">&#8220;testvirtbox&#8221;</span> score=<span style="color:#CC0000;">&#8220;INFINITY&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;rsc_location id=<span style="color:#CC0000;">&#8220;loc-2&#8243;</span> rsc=<span style="color:#CC0000;">&#8220;ndbcluster&#8221;</span> node=<span style="color:#CC0000;">&#8220;testvirtbox&#8221;</span> score=<span style="color:#CC0000;">&#8220;INFINITY&#8221;</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;rsc_location id=<span style="color:#CC0000;">&#8220;loc-3&#8243;</span> rsc=<span style="color:#CC0000;">&#8220;ndbdclone&#8221;</span> node=<span style="color:#CC0000;">&#8220;test1&#8243;</span> score=<span style="color:#CC0000;">&#8220;INFINITY&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;rsc_location id=<span style="color:#CC0000;">&#8220;loc-4&#8243;</span> rsc=<span style="color:#CC0000;">&#8220;ndbdclone&#8221;</span> node=<span style="color:#CC0000;">&#8220;test2&#8243;</span> score=<span style="color:#CC0000;">&#8220;INFINITY&#8221;</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;rsc_order id=<span style="color:#CC0000;">&#8220;order-1&#8243;</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_set id=<span style="color:#CC0000;">&#8220;ordered-set-1&#8243;</span> sequential=<span style="color:#CC0000;">&#8220;true&#8221;</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_ref id=<span style="color:#CC0000;">&#8220;mgmd&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_ref id=<span style="color:#CC0000;">&#8220;ndbdclone&#8221;</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_ref id=<span style="color:#CC0000;">&#8220;ndbcluster&#8221;</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/resource_set&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &lt;/rsc_order&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/constraints&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>And&#8230; that&#8217;s it.  For my part, I configured Pacemaker by dumping the cib in xml format, editing and reloading.   In term of commands, it means:</p>
<div class="igBar"><span id="lcode-47"><a href="#" onclick="javascript:showPlainTxt('code-47'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-47">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cibadmin &#8211;query&gt; local.<span style="">xml</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">vi&nbsp; local.<span style="">xml</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cibadmin&nbsp; &#8211;replace &#8211;xml-file local.<span style="">xml</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>Once NDB is started, you can even stop heartbeat, it is no longer required.  </p>
<p>P.S.:</p>
<p>As suggested by Florian, here is the configuration in CLI format:</p>
<div class="igBar"><span id="lcode-48"><a href="#" onclick="javascript:showPlainTxt('code-48'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span></p>
<div id="code-48">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@testvirtbox:~# crm configure show</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">INFO: building help index</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">INFO: object order-<span style="color:#800000;color:#800000;">1</span> cannot be represented in the CLI notation</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">node $id=<span style="color:#CC0000;">&#8220;27687295-f72c-49bd-b82d-25f32dbfe1e2&#8243;</span> test2</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">node $id=<span style="color:#CC0000;">&#8220;3086852d-abb9-4bdb-93a1-9390e14c148c&#8221;</span> test1</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">node $id=<span style="color:#CC0000;">&#8220;cad7f678-fc91-4f09-a39e-1dde6d5bcd30&#8243;</span> testvirtbox</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">primitive mgmd ocf:heartbeat:anything \</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; params binfile=<span style="color:#CC0000;">&#8220;/usr/local/bin/fake_ndb_mgmd&#8221;</span> pidfile=<span style="color:#CC0000;">&#8220;/var/run/heartbeat/fake_ndb_mgmd.pid&#8221;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">primitive ndbcluster ocf:heartbeat:anything \</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; params binfile=<span style="color:#CC0000;">&#8220;/usr/local/bin/fake_ndb_cluster_start&#8221;</span> pidfile=<span style="color:#CC0000;">&#8220;/var/run/heartbeat/fake_ndb_cluster_start.pid&#8221;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">primitive ndbd1-IP ocf:heartbeat:anything \</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; params binfile=<span style="color:#CC0000;">&#8220;/usr/local/bin/fake_ndbd&#8221;</span> pidfile=<span style="color:#CC0000;">&#8220;/var/run/heartbeat/fake_ndbd.pid&#8221;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">clone ndbdclone ndbd1-IP \</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; meta globally-unique=<span style="color:#CC0000;">&#8220;false&#8221;</span> clone-max=<span style="color:#CC0000;">&#8220;2&#8243;</span> clone-node-max=<span style="color:#CC0000;">&#8220;1&#8243;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">location loc-<span style="color:#800000;color:#800000;">1</span> mgmd inf: testvirtbox</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">location loc-<span style="color:#800000;color:#800000;">2</span> ndbcluster inf: testvirtbox</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">location loc-<span style="color:#800000;color:#800000;">3</span> ndbdclone inf: test1</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">location loc-<span style="color:#800000;color:#800000;">4</span> ndbdclone inf: test2</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">xml &lt;rsc_order id=<span style="color:#CC0000;">&#8220;order-1&#8243;</span>&gt; \</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_set id=<span style="color:#CC0000;">&#8220;ordered-set-1&#8243;</span> sequential=<span style="color:#CC0000;">&#8220;true&#8221;</span>&gt; \</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_ref id=<span style="color:#CC0000;">&#8220;mgmd&#8221;</span>/&gt; \</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_ref id=<span style="color:#CC0000;">&#8220;ndbdclone&#8221;</span>/&gt; \</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;resource_ref id=<span style="color:#CC0000;">&#8220;ndbcluster&#8221;</span>/&gt; \</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/resource_set&gt; \</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/rsc_order&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<hr noshade style="margin:0;height:1px" />
<p>Entry posted by Yves Trudeau |<br />
      <a href="http://www.mysqlperformanceblog.com/2010/05/19/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/#comments">2 comments</a></p>
<p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/05/19/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/&amp;title=Pacemaker, please meet NDB Cluster or using Pacemaker/Heartbeat to start a NDB Cluster" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/05/19/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/&amp;title=Pacemaker, please meet NDB Cluster or using Pacemaker/Heartbeat to start a NDB Cluster" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/05/19/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/&amp;title=Pacemaker, please meet NDB Cluster or using Pacemaker/Heartbeat to start a NDB Cluster" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/05/19/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/&amp;T=Pacemaker, please meet NDB Cluster or using Pacemaker/Heartbeat to start a NDB Cluster" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/05/19/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/&amp;title=Pacemaker, please meet NDB Cluster or using Pacemaker/Heartbeat to start a NDB Cluster" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2010/05/19/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/05/pacemaker-please-meet-ndb-cluster-or-using-pacemakerheartbeat-to-start-a-ndb-cluster/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I want my users to upload stories or blogs. How do i do this with php and mysql? Please give the code.?</title>
		<link>http://www.weez.com/2010/05/i-want-my-users-to-upload-stories-or-blogs-how-do-i-do-this-with-php-and-mysql-please-give-the-code/</link>
		<comments>http://www.weez.com/2010/05/i-want-my-users-to-upload-stories-or-blogs-how-do-i-do-this-with-php-and-mysql-please-give-the-code/#comments</comments>
		<pubDate>Sat, 01 May 2010 14:49:35 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[give]]></category>
		<category><![CDATA[please]]></category>
		<category><![CDATA[stories]]></category>
		<category><![CDATA[this]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[users]]></category>
		<category><![CDATA[want]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/05/i-want-my-users-to-upload-stories-or-blogs-how-do-i-do-this-with-php-and-mysql-please-give-the-code/</guid>
		<description><![CDATA[I also want people to have a minimum number of characters or letters to type in the stories or blogs. This will be greatly appreciated and I promise I will choose you as best answer!]]></description>
			<content:encoded><![CDATA[<p>I also want people to have a minimum number of characters or letters to type in the stories or blogs. This will be greatly appreciated and I promise I will choose you as best answer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/05/i-want-my-users-to-upload-stories-or-blogs-how-do-i-do-this-with-php-and-mysql-please-give-the-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>For the love of god fsck, please just FINISH</title>
		<link>http://www.weez.com/2010/04/for-the-love-of-god-fsck-please-just-finish/</link>
		<comments>http://www.weez.com/2010/04/for-the-love-of-god-fsck-please-just-finish/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 02:51:55 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Finish]]></category>
		<category><![CDATA[fsck]]></category>
		<category><![CDATA[just]]></category>
		<category><![CDATA[Love]]></category>
		<category><![CDATA[please]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/04/for-the-love-of-god-fsck-please-just-finish/</guid>
		<description><![CDATA[Fsck generating tons of late night work for me. Joy.]]></description>
			<content:encoded><![CDATA[<p>					<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/eA78qU3P88g?fs=1"></param><param name="allowFullScreen" value="true"></param>
					<embed src="http://www.youtube.com/v/eA78qU3P88g?fs=1" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object><br />
Fsck generating tons of late night work for me. Joy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/04/for-the-love-of-god-fsck-please-just-finish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Help with desktop on a Fedora system please?</title>
		<link>http://www.weez.com/2010/04/help-with-desktop-on-a-fedora-system-please/</link>
		<comments>http://www.weez.com/2010/04/help-with-desktop-on-a-fedora-system-please/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 01:12:02 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[desktop']]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[please]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/04/help-with-desktop-on-a-fedora-system-please/</guid>
		<description><![CDATA[I use a homemade computer my son built for me. I have fedora instead of windows which has really taken some getting used to, especially since I am not a computer wiz kid like him. He recently downloaded some desktops for me and said try them and take your pick. I just want to ask [...]]]></description>
			<content:encoded><![CDATA[<p>I use a homemade computer my son built for me. I have fedora instead of windows which has really taken some getting used to, especially since I am not a computer wiz kid like him. He recently downloaded some desktops for me and said try them and take your pick. I just want to ask everyone else&#8217;s opinion as well, do you like Kde, Gnome, or Xface (may have the name wrong on the last one.) and why? Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/04/help-with-desktop-on-a-fedora-system-please/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Install Fedora 8 in my system(with Windows XP already in it) ?? Please help !!!!!?</title>
		<link>http://www.weez.com/2010/04/how-to-install-fedora-8-in-my-systemwith-windows-xp-already-in-it-please-help/</link>
		<comments>http://www.weez.com/2010/04/how-to-install-fedora-8-in-my-systemwith-windows-xp-already-in-it-please-help/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 16:46:26 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[already]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[please]]></category>
		<category><![CDATA[systemwith]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/04/how-to-install-fedora-8-in-my-systemwith-windows-xp-already-in-it-please-help/</guid>
		<description><![CDATA[Dear Friends, I want 2 install Fedora 8 in my laptop IBM(R51 model). I already have Windows XP Home Edition installed in it. &#038; i&#8217;ve already made a partition in the hard disk for installing Fedora 8. But i am unable 2 install it. &#038; I find difficult in following the booting instructions. Please anyone [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Friends,<br />
 I want 2 install Fedora 8 in my laptop IBM(R51 model). I already have Windows XP Home Edition installed in it. &#038; i&#8217;ve already made a partition in the hard disk for installing Fedora 8.<br />
But i am unable 2 install it. &#038; I find difficult in following the booting instructions.<br />
Please anyone help me &#038; send the detailed procedure of doing it..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/04/how-to-install-fedora-8-in-my-systemwith-windows-xp-already-in-it-please-help/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How does wed hosting work? What if I have a php program do I copy and paste it please help?</title>
		<link>http://www.weez.com/2010/04/how-does-wed-hosting-work-what-if-i-have-a-php-program-do-i-copy-and-paste-it-please-help/</link>
		<comments>http://www.weez.com/2010/04/how-does-wed-hosting-work-what-if-i-have-a-php-program-do-i-copy-and-paste-it-please-help/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 12:00:54 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[paste]]></category>
		<category><![CDATA[please]]></category>
		<category><![CDATA[Program]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/04/how-does-wed-hosting-work-what-if-i-have-a-php-program-do-i-copy-and-paste-it-please-help/</guid>
		<description><![CDATA[If I want to create a site and have all the programming as php files how does it exactly work Please helpppp]]></description>
			<content:encoded><![CDATA[<p>If I want to create a site and have all the programming as php files how does it exactly work</p>
<p>Please helpppp</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/04/how-does-wed-hosting-work-what-if-i-have-a-php-program-do-i-copy-and-paste-it-please-help/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>how can i start linux kernel in fedora core 5 ( I am a first user in linux) please help me?</title>
		<link>http://www.weez.com/2010/04/how-can-i-start-linux-kernel-in-fedora-core-5-i-am-a-first-user-in-linux-please-help-me/</link>
		<comments>http://www.weez.com/2010/04/how-can-i-start-linux-kernel-in-fedora-core-5-i-am-a-first-user-in-linux-please-help-me/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 13:31:32 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[core]]></category>
		<category><![CDATA[first]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[please]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.weez.com/2010/04/how-can-i-start-linux-kernel-in-fedora-core-5-i-am-a-first-user-in-linux-please-help-me/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2010/04/how-can-i-start-linux-kernel-in-fedora-core-5-i-am-a-first-user-in-linux-please-help-me/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

