<?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>Loon(y) Juice &#187; Manual</title>
	<atom:link href="http://www.loonjuice.com/category/manual/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loonjuice.com</link>
	<description>&#34;This is Madness!&#34;</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:07:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Death of NBN Predicted!</title>
		<link>http://www.loonjuice.com/2010/11/20/death-of-nbn-predicted/</link>
		<comments>http://www.loonjuice.com/2010/11/20/death-of-nbn-predicted/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 09:51:58 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Arsehats]]></category>
		<category><![CDATA[Dirty Rotten Scoundrels]]></category>
		<category><![CDATA[It's Just Business]]></category>
		<category><![CDATA[Loons Ahoy!]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[West Wing]]></category>
		<category><![CDATA[conroy]]></category>
		<category><![CDATA[NBN]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/?p=2373</guid>
		<description><![CDATA[Just now Bevan Slattery (ex PIPE) said the following in the AusNOG Mailing List: http://lists.ausnog.net/pipermail/ausnog/2010-November/009024.html &#8212;&#8212; From: Bevan Slattery Sent: Thursday, 18 November 2010 10:04 AM To: [removed] Subject: The Death of NBN 2.0 Guys, I am going to make a big call and suggest you mark down the 18th November, 2010 in your calendar.  [...]]]></description>
			<content:encoded><![CDATA[<p>Just now Bevan Slattery (ex PIPE) said the following in the AusNOG Mailing List:</p>
<p>http://lists.ausnog.net/pipermail/ausnog/2010-November/009024.html</p>
<p>&#8212;&#8212;</p>
<p>From: Bevan Slattery<br />
Sent: Thursday, 18 November 2010 10:04 AM<br />
To: [removed]<br />
Subject: The Death of NBN 2.0</p>
<p>Guys,</p>
<p>I am going to make a big call and suggest you mark down the 18th November, 2010 in your calendar.  It will be the day that NBN 2.0 became terminal.  Either produce the Red Book and business case, that shows there is no business case and massive risk to the tax-payer, or don&#8217;t produce it and the momentum of anger will grow as fast as they &#8220;burn the goodwill&#8221; of those that support it.  Either way &#8211; it dies</p>
<p>&#8212;&#8212;-</p>
<p>Right now I tend to agree. I think it may be too early to make this call, but I fear/suspect that Conroy&#8217;s cooked the NBN Golden Goose!</p>
<p>Oh dear.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/11/20/death-of-nbn-predicted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good OpenVPN Howto &amp; Info sites</title>
		<link>http://www.loonjuice.com/2010/10/02/good-openvpn-howto-info-sites/</link>
		<comments>http://www.loonjuice.com/2010/10/02/good-openvpn-howto-info-sites/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 09:23:43 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Manual]]></category>
		<category><![CDATA[openvpn centos windows vpn]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/?p=1607</guid>
		<description><![CDATA[http://www.throx.net/2008/04/13/openvpn-and-centos-5-installation-and-configuration-guide/]]></description>
			<content:encoded><![CDATA[<p>http://www.throx.net/2008/04/13/openvpn-and-centos-5-installation-and-configuration-guide/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/10/02/good-openvpn-howto-info-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forgotten/Reset mySQL Root Password</title>
		<link>http://www.loonjuice.com/2010/07/15/forgottenreset-mysql-root-password/</link>
		<comments>http://www.loonjuice.com/2010/07/15/forgottenreset-mysql-root-password/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 06:20:24 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Manual]]></category>
		<category><![CDATA[mysql root password]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/2010/07/15/forgottenreset-mysql-root-password/</guid>
		<description><![CDATA[sudo /etc/init.d/mysql stop sudo mysqld &#8211;skip-grant-tables &#038; mysql mysql> use mysql; mysql> INSERT INTO user VALUES (&#8216;localhost&#8217;,'root&#8217;,password(&#8216;newpassword&#8217;),&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8221;,&#8221;,&#8221;,&#8221;,0,0,0,0); mysql> INSERT INTO user VALUES (&#8217;127.0.0.1&#8242;,&#8217;root&#8217;,password(&#8216;newpassword&#8217;),&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8221;,&#8221;,&#8221;,&#8221;,0,0,0,0); mysql> INSERT INTO user VALUES (&#8216;the-hostname&#8217;,'root&#8217;,password(&#8216;newpassword&#8217;),&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8221;,&#8221;,&#8221;,&#8221;,0,0,0,0); mysql>flush privileges; mysql>quit sudo killall mysqld sudo /etc/init.d/mysql start]]></description>
			<content:encoded><![CDATA[<p>sudo /etc/init.d/mysql stop<br />
sudo mysqld &#8211;skip-grant-tables &#038;<br />
mysql<br />
mysql> use mysql;<br />
mysql> INSERT INTO user VALUES (&#8216;localhost&#8217;,'root&#8217;,password(&#8216;newpassword&#8217;),&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8221;,&#8221;,&#8221;,&#8221;,0,0,0,0);<br />
mysql> INSERT INTO user VALUES (&#8217;127.0.0.1&#8242;,&#8217;root&#8217;,password(&#8216;newpassword&#8217;),&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8221;,&#8221;,&#8221;,&#8221;,0,0,0,0);<br />
mysql> INSERT INTO user VALUES (&#8216;the-hostname&#8217;,'root&#8217;,password(&#8216;newpassword&#8217;),&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8217;Y',&#8221;,&#8221;,&#8221;,&#8221;,0,0,0,0);<br />
mysql>flush privileges;<br />
mysql>quit<br />
sudo killall mysqld<br />
sudo /etc/init.d/mysql start</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/07/15/forgottenreset-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remus-fu with DRBD, OCFS2 on Debian with No Redhat Clustering</title>
		<link>http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-ocfs2-on-debian-with-no-redhat-clustering/</link>
		<comments>http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-ocfs2-on-debian-with-no-redhat-clustering/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 11:47:58 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[It's Just Business]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[So Say We All!]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[remus]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/?p=1172</guid>
		<description><![CDATA[My earlier blog post at http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-gfs2-redhat-clustering-on-debian/ described using Xen Remus with shared disk via Redhat Cluster &#38; Redhat&#8217;s GFS2 on a dual-primary DRBD device between two Xen Remus Hypervisors. But I found that the overhead &#38; workload of managing a Redhat Cluster between the 2 x Xen Hypervisors to be excessive &#38; the failure/recovery modes [...]]]></description>
			<content:encoded><![CDATA[<p>My earlier blog post at http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-gfs2-redhat-clustering-on-debian/ described using Xen Remus with shared disk via Redhat Cluster &amp; Redhat&#8217;s GFS2 on a dual-primary DRBD device between two Xen Remus Hypervisors.</p>
<p>But I found that the overhead &amp; workload of managing a Redhat Cluster between the 2 x Xen Hypervisors to be excessive &amp; the failure/recovery modes &amp; actions required whenever a Hypervisor host went offline, to be unreliable &amp; requiring manual intervention (reset button) to hypervisors under some failure modes.</p>
<p>I&#8217;ve now moved to using OCFS2 on dual-primary DRBD between the Hypervisors &amp; so far this has performed far better in coping with OCFS Peer loss &amp; restart.</p>
<p>Actions req&#8217;d to install &amp; setup OCFS2 on the Debian based Xen Remus Hypervisors was:</p>
<p>(on both hypervisor systems, after Xen Remus install)</p>
<blockquote><p>apt-get install ocfs2-tools ocfs2console</p></blockquote>
<p>Setup <code>/etc/ocfs2/cluster.conf </code> the same on both Hypervisors, eg:</p>
<blockquote><p>node:<br />
ip_port = 7777<br />
ip_address = 192.168.X.Y<br />
number = 0<br />
name = debremus2<br />
cluster = ocfs2</p>
<p>node:<br />
ip_port = 7777<br />
ip_address = 192.168.X.Z<br />
number = 1<br />
name = debremus1<br />
cluster = ocfs2</p>
<p>cluster:<br />
node_count = 2<br />
name = xenocfs2cluster</p></blockquote>
<p>Then initialise OCFS2 on both hosts with:</p>
<blockquote>
<pre>dpkg-reconfigure o2cb
<pre>/etc/init.d/o2cb restart

/etc/init.d/ocfs2 restart</pre>
</pre>
</blockquote>
<p>Ensure that the same /etc/ocfs2/cluster.conf file is on both Hypervisors.</p>
<p>Ensure that DRBD is primary/primary on both Hypervisors.</p>
<p>Check the status (after initialisation) of OCFS2 on both hypervisors with:</p>
<blockquote><p>/etc/init.d/o2cb status</p></blockquote>
<p>Assuming you see something like the following, then proceed to make the OCFS2 filesystem!</p>
<blockquote><p>Driver for &#8220;configfs&#8221;: Loaded<br />
Filesystem &#8220;configfs&#8221;: Mounted<br />
Stack glue driver: Loaded<br />
Stack plugin &#8220;o2cb&#8221;: Loaded<br />
Driver for &#8220;ocfs2_dlmfs&#8221;: Loaded<br />
Filesystem &#8220;ocfs2_dlmfs&#8221;: Mounted<br />
Checking O2CB cluster xenocfs2cluster: Online<br />
Heartbeat dead threshold = 31<br />
Network idle timeout: 30000<br />
Network keepalive delay: 2000<br />
Network reconnect delay: 2000<br />
Checking O2CB heartbeat: Active</p></blockquote>
<blockquote><p>mkfs -t ocfs2 -N 2 -L ocfs2_drbd0 /dev/drbd0</p></blockquote>
<p>Then you can mount that filesystem on both Hypervisors with:</p>
<blockquote><p>mount -t ocfs2 /dev/drbd0 /usr/ocfs2</p></blockquote>
<p>Now, finally, you can start your Remus enabled guests, using a &#8216;disk=&#8217; line like:</p>
<blockquote><p>disk = ['tap:remus:192.168.X.Y:9000|aio:/usr/ocfs2/vm1-hvm.img,hda,w']</p></blockquote>
<p>Where 192.168.X.Y is the IP address of the 2nd/failover-to Hypervisor host!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-ocfs2-on-debian-with-no-redhat-clustering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remus-fu with DRBD, GFS2 &amp; Redhat Cluster on Debian</title>
		<link>http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-gfs2-redhat-clustering-on-debian/</link>
		<comments>http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-gfs2-redhat-clustering-on-debian/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 13:07:43 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[It's Just Business]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[So Say We All!]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[High Availability]]></category>
		<category><![CDATA[remus]]></category>
		<category><![CDATA[remus xen vps]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/?p=1159</guid>
		<description><![CDATA[Refer to http://www.loonjuice.com/2010/06/06/remus-fu to get Debian &#38; Xen with Remus installed, configured &#38; running. Then, change the disk of the VM to use an image location being on a GFS2 mounted, DRBD distributed, clustered file system! (eg used below is /usr/gfs0 ) Current Xen 4.1-unstable includes Remus &#38; uses/patches the 2.6.31.13 Linux kernel. Build &#38; [...]]]></description>
			<content:encoded><![CDATA[<p>Refer to http://www.loonjuice.com/2010/06/06/remus-fu to get Debian &amp; Xen with Remus installed, configured &amp; running.</p>
<p>Then, change the disk of the VM to use an image location being on a GFS2 mounted, DRBD distributed, clustered file system! (eg used below is /usr/gfs0 )</p>
<p>Current Xen 4.1-unstable includes Remus &amp; uses/patches the 2.6.31.13 Linux kernel.</p>
<p>Build &amp; install the latest DRBD sources, from http://www.drbd.org/docs/install/</p>
<p>ie:</p>
<p>download the relevant drbd-*.tar.gz, extract to /usr/local/src</p>
<p>run ./configure &#8211;with-km; make KDIR=/lib/modules/2.6.31.13/build ; make KDIR=/lib/modules/2.6.31.13/build install</p>
<p>You then need to configure DRBD using the same /usr/local/etc/drbd.conf on both hosts, eg: using /dev/loop0 as the backing disk device!!</p>
<blockquote><p>global {<br />
minor-count 10;<br />
}</p>
<p>resource drbdr1 {<br />
protocol C;<br />
meta-disk    internal;<br />
device        /dev/drbd0;<br />
##disk        /dev/mapper/VG-LV_name;<br />
disk        /dev/loop0;</p>
<p>startup {<br />
wfc-timeout 30;<br />
degr-wfc-timeout 30;<br />
become-primary-on both;<br />
}</p>
<p>disk {<br />
on-io-error detach;<br />
}</p>
<p>syncer {<br />
rate 90M; # Note: &#8216;M&#8217; is MegaBytes, not MegaBits<br />
}</p>
<p>net {<br />
allow-two-primaries;<br />
after-sb-0pri discard-younger-primary;<br />
after-sb-1pri discard-secondary;<br />
after-sb-2pri call-pri-lost-after-sb;<br />
}</p>
<p>on remus1 {<br />
##device        /dev/drbd0;<br />
##disk        /dev/loop0;<br />
##disk        /dev/mapper/VG-LV_name;<br />
address        192.168.X.Y1:7789;<br />
##meta-disk    internal;<br />
}</p>
<p>on remus2 {<br />
##device        /dev/drbd0;<br />
##disk        /dev/mapper/VG-LV_name;<br />
address        192.168.X.Z:7789;<br />
##meta-disk    internal;<br />
}</p>
<p>}</p></blockquote>
<p>Ensure that the same entries for hosts &#8216;remus1&#8242; &amp; &#8216;remus2&#8242; are in each hosts /etc/hosts file! (V.IMPORTANT)</p>
<p>Now instantiate/initially-start DRBD with the following command set:</p>
<blockquote><p>drbdadm create-md drbdr1</p>
<p>drbdadm attach drbdr1</p>
<p>drbdadm connect drbdr1</p>
<p>watch cat /proc/drbd</p></blockquote>
<p>Then finally set Dual Primary mode with: (as long as you have dual-primary enabled in your active drbd.conf as perhttp://www.drbd.org/users-guide-emb/s-enable-dual-primary.html )</p>
<blockquote><p>drbdadm primary drbdr1</p></blockquote>
<p>With both hosts running in DRBD Primary modes (cat /proc/drbd |grep &#8220;Primary/Primary&#8221;) you can now get the GFS2 filesystem built on /dev/drbd0</p>
<blockquote><p><em>mkfs</em>.<em>gfs2</em> -t clusternamefromcluster.conf:gfs1 -p lock_dlm -j 2 /dev/drbd0</p></blockquote>
<p>Then you can mount the GFS2 filesystem on each host:</p>
<blockquote><p>mkdir /usr/gfs0</p>
<p>mount /dev/drbd0 /usr/gfs0</p></blockquote>
<p>(on each host)</p>
<p>Check status of Cluster, GFS &amp; DRBD:</p>
<blockquote><p>cat /proc/drbd</p>
<p>cman_tool status</p>
<p>cman_tool nodes</p>
<p>gfs2_tool df</p></blockquote>
<p>More to be added, but you can install &amp; run up a domU as per the original Remus-fu post using an image on /usr/gfs0 !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-gfs2-redhat-clustering-on-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Authors that Tweet &amp; whose Books I Read</title>
		<link>http://www.loonjuice.com/2010/05/04/authors-that-tweet-whose-books-i-read-2/</link>
		<comments>http://www.loonjuice.com/2010/05/04/authors-that-tweet-whose-books-i-read-2/#comments</comments>
		<pubDate>Tue, 04 May 2010 04:10:04 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[Godless]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[So Say We All!]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/?p=242</guid>
		<description><![CDATA[@wilw @scalzi Postsingular author = Rudy Rucker! @charliestross (nic?)]]></description>
			<content:encoded><![CDATA[<p>@wilw</p>
<p>@scalzi</p>
<p>Postsingular author = Rudy Rucker!</p>
<p>@charliestross (nic?)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/05/04/authors-that-tweet-whose-books-i-read-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Found DRBD to be a breeze to d&#8230;</title>
		<link>http://www.loonjuice.com/2010/05/04/found-drbd-to-be-a-breeze-to-d/</link>
		<comments>http://www.loonjuice.com/2010/05/04/found-drbd-to-be-a-breeze-to-d/#comments</comments>
		<pubDate>Tue, 04 May 2010 04:05:32 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[It's Just Business]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tweeted]]></category>
		<category><![CDATA[DRBD]]></category>
		<category><![CDATA[floss]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/2010/05/04/found-drbd-to-be-a-breeze-to-d/</guid>
		<description><![CDATA[Found DRBD to be a breeze to deploy to my latest Xen 4.1 + Linux 2.6.31 HA Cluster. Performance is &#8220;outstanding&#8221;. drbd.org #ftw #opensource Download from drbd.org the 8.3.7 via http://oss.linbit.com/drbd/8.3/drbd-8.3.7.tar.gz Follow their Doco at http://www.drbd.org/docs/about/, which results in the following commands: tar xzvf drbd-8.3.7.tar.gz ls -altr /lib/modules/`uname -r`/build cd drbd-8.3.7 ./configure &#8211;with-km make KDIR=/lib/modules/`uname [...]]]></description>
			<content:encoded><![CDATA[<p>Found DRBD to be a breeze to deploy to my latest Xen 4.1 + Linux 2.6.31 HA Cluster. Performance is &#8220;outstanding&#8221;. drbd.org #<a class="aktt_hashtag" href="http://search.twitter.com/search?q=%23ftw">ftw</a> #<a class="aktt_hashtag" href="http://search.twitter.com/search?q=%23opensource">opensource</a></p>
<p>Download from drbd.org the 8.3.7 via http://oss.linbit.com/drbd/8.3/drbd-8.3.7.tar.gz</p>
<p>Follow their Doco at http://www.drbd.org/docs/about/, which results in the following commands:</p>
<p>tar xzvf drbd-8.3.7.tar.gz<br />
ls -altr /lib/modules/`uname -r`/build<br />
cd drbd-8.3.7<br />
./configure &#8211;with-km<br />
make KDIR=/lib/modules/`uname -r`/build<br />
make KDIR=/lib/modules/`uname -r`/build install</p>
<p>modprobe drbd</p>
<p>lsmod</p>
<p>cat /proc/drbd</p>
<p>Then you need to edit /usr/local/etc/drbd.conf</p>
<p>global {<br />
minor-count 10;<br />
}</p>
<p>resource drbdr1 {<br />
protocol C;<br />
meta-disk       internal;</p>
<p>startup {<br />
wfc-timeout 30;<br />
degr-wfc-timeout 30;<br />
become-primary-on both;<br />
}</p>
<p>disk {<br />
on-io-error detach;<br />
}</p>
<p>syncer {<br />
rate 90M; # Note: &#8216;M&#8217; is MegaBytes, not MegaBits<br />
}</p>
<p>net {<br />
allow-two-primaries;<br />
##data-integrity-alg;<br />
after-sb-0pri discard-younger-primary;<br />
after-sb-1pri discard-secondary;<br />
after-sb-2pri call-pri-lost-after-sb;<br />
}</p>
<p>on serv11 {<br />
device          /dev/drbd0;<br />
disk            /dev/mapper/guests-drbd1;<br />
address         113.212.97.230:7789;<br />
##meta-disk     internal;<br />
}</p>
<p>on serv12 {<br />
device          /dev/drbd0;<br />
disk            /dev/mapper/guests-drbd1;<br />
address         113.212.97.240:7789;<br />
##meta-disk     internal;<br />
}</p>
<p>}</p>
<p>Commands then to run up DRBD:</p>
<p>drbdadm create-md drbdr1<br />
drbdadm syncer drbdr1<br />
drbdadm connect drbdr1<br />
drbdadm up drbdr1<br />
drbdadm &#8212; &#8211;overwrite-data-of-peer primary drbdr1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/05/04/found-drbd-to-be-a-breeze-to-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh dear, Conroy really can&#8217;t l&#8230;</title>
		<link>http://www.loonjuice.com/2010/04/07/oh-dear-conroy-really-cant-l/</link>
		<comments>http://www.loonjuice.com/2010/04/07/oh-dear-conroy-really-cant-l/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 03:21:06 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Arsehats]]></category>
		<category><![CDATA[Dirty Rotten Scoundrels]]></category>
		<category><![CDATA[Dumb Monkeys]]></category>
		<category><![CDATA[Loons Ahoy!]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[Right Wing]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tweeted]]></category>
		<category><![CDATA[conroy]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/2010/04/07/oh-dear-conroy-really-cant-l/</guid>
		<description><![CDATA[Oh dear, Conroy really can&#8217;t lie straight in bed! &#8220;Reality calling Conroy, come in Conroy, we&#8217;re loosing you..&#8221; http://bit.ly/9a7q03 #Labor]]></description>
			<content:encoded><![CDATA[<p>Oh dear, Conroy really can&#8217;t lie straight in bed! &#8220;Reality calling Conroy, come in Conroy, we&#8217;re loosing you..&#8221; <a href="http://bit.ly/9a7q03" rel="nofollow">http://bit.ly/9a7q03</a> #<a href="http://search.twitter.com/search?q=%23Labor" class="aktt_hashtag">Labor</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/04/07/oh-dear-conroy-really-cant-l/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cabinet minister responded to &#8230;</title>
		<link>http://www.loonjuice.com/2010/04/07/cabinet-minister-responded-to/</link>
		<comments>http://www.loonjuice.com/2010/04/07/cabinet-minister-responded-to/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 03:02:40 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Arsehats]]></category>
		<category><![CDATA[Dirty Rotten Scoundrels]]></category>
		<category><![CDATA[Dumb Monkeys]]></category>
		<category><![CDATA[Loons Ahoy!]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[Right Wing]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tweeted]]></category>
		<category><![CDATA[conroy]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/2010/04/07/cabinet-minister-responded-to/</guid>
		<description><![CDATA[Cabinet minister responded to Conroy: “With internet censorship you won’t need a national broadband network.” http://bit.ly/90wwwi #Labor]]></description>
			<content:encoded><![CDATA[<p>Cabinet minister responded to Conroy: “With internet censorship you won’t need a national broadband network.” <a href="http://bit.ly/90wwwi" rel="nofollow">http://bit.ly/90wwwi</a> #<a href="http://search.twitter.com/search?q=%23Labor" class="aktt_hashtag">Labor</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/04/07/cabinet-minister-responded-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conroy shows his stripes &amp; bec&#8230;</title>
		<link>http://www.loonjuice.com/2010/04/01/conroy-shows-his-stripes-bec/</link>
		<comments>http://www.loonjuice.com/2010/04/01/conroy-shows-his-stripes-bec/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 06:09:03 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Arsehats]]></category>
		<category><![CDATA[Dirty Rotten Scoundrels]]></category>
		<category><![CDATA[Dumb Monkeys]]></category>
		<category><![CDATA[Loons Ahoy!]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[Right Wing]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tweeted]]></category>
		<category><![CDATA[conroy]]></category>

		<guid isPermaLink="false">http://www.loonjuice.com/2010/04/01/conroy-shows-his-stripes-bec/</guid>
		<description><![CDATA[Conroy shows his stripes &#38; becomes a stupid #Labor bully when things are patently not going his way. http://bit.ly/9DSPQe #openinternet]]></description>
			<content:encoded><![CDATA[<p>Conroy shows his stripes &amp; becomes a stupid #<a href="http://search.twitter.com/search?q=%23Labor" class="aktt_hashtag">Labor</a> bully when things are patently not going his way. <a href="http://bit.ly/9DSPQe" rel="nofollow">http://bit.ly/9DSPQe</a> #<a href="http://search.twitter.com/search?q=%23openinternet" class="aktt_hashtag">openinternet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loonjuice.com/2010/04/01/conroy-shows-his-stripes-bec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

