<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>IamRoot</title>
	<link>http://www.iamroot.ca/wp</link>
	<description>Bloggy Blog Blogger!</description>
	<pubDate>Wed, 29 Oct 2008 00:51:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>Two-Server HA MySQL Cluster</title>
		<link>http://www.iamroot.ca/wp/index.php/2008/10/28/two-server-ha-mysql-cluster/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2008/10/28/two-server-ha-mysql-cluster/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 00:51:40 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/index.php/2008/10/28/two-server-ha-mysql-cluster/</guid>
		<description><![CDATA[So&#8230;. I like MySQL&#8230; Most FOSS projects I play with use it as their backend, so other people must like it as well. Because of this, I soon found I was running a DB server on almost every server/workstation I have. This was kind of annoying so I decided to build a dedicated MySQL server [...]]]></description>
			<content:encoded><![CDATA[<p>So&#8230;. I like MySQL&#8230; Most FOSS projects I play with use it as their backend, so other people must like it as well. Because of this, I soon found I was running a DB server on almost every server/workstation I have. This was kind of annoying so I decided to build a dedicated MySQL server to which everything else could connect.</p>
<p>It was nice for a while, it was easy to manage and easy to monitor, but it doesn&#8217;t take a college drop out to understand that this configuration creates a single point of failure for a handful of applications.</p>
<p>Simple solution? Build a minimal MySQL cluster across two machines.</p>
<p>Even more simple? Build a minimal MySQL cluster in two virtual machines and place them on two different physical servers.</p>
<p>Now, I know what you may be saying, &#8220;But Mike, I&#8217;m not a dba! I&#8217;m not awesome with sql, MySQL, or Unix! Can I do this?&#8221;</p>
<p>To be perfectly honest, yes. It really isn&#8217;t all that hard and I will try my best to explain it simply, yet effectively.</p>
<p>The first step is to build a pair of servers you can use. I would suggest CentOS, and I can even help you out!</p>
<p>Check out my post on how to <a href="http://www.iamroot.ca/wp/index.php/2008/10/26/mikes-rhelcentos-5-installation/" title="Mike’s RHEL/CentOS 5 Installation" target="_blank">build a small CentOS installation.</a></p>
<p>When you have two servers, you may now start to look at the four components of a MySQL cluster:</p>
<ol>
<li>Server</li>
<li>Cluster Managemen</li>
<li>Cluster Storage Engine</li>
<li>Proxy/Load Balancer</li>
</ol>
<p>The first three parts are included in the <a href="http://dev.mysql.com/downloads/cluster/" title="MySQL Cluster Download Page" target="_blank">MySQL Cluster</a> package.</p>
<p>For this installation, we are going to use the &#8216;Linux (non RPM packages)&#8217; download for the sake of simplicity. This should be fine for testing, or an an x86 machine. Ideally, you&#8217;d be using a 64bit machine for production, in which case you&#8217;d either use distro specific packages or compile from source.</p>
<p><strong>From here on in:</strong> Every step described should be done on both servers unless specified otherwise.</p>
<p>Download the MySQL cluster package to a directory on your server.</p>
<p>Create the mysql group and user</p>
<blockquote><p><strong># groupadd mysql</strong></p>
<p><strong># useradd -g mysql mysql</strong></p></blockquote>
<p>Unpack it to /usr/local/</p>
<blockquote><p><strong># tar -C /usr/local/ -xzf  ./mysql-cluster-gpl-6.3.17-linux-i686-glibc23.tar.gz</strong></p></blockquote>
<p>Link your installation to /usr/local/mysql</p>
<blockquote><p><strong># ln -s /usr/local/mysql-cluster-gpl-6.3.17-linux-i686-glibc23 /usr/local/mysql</strong></p></blockquote>
<p>Create system databases</p>
<blockquote><p><strong># cd /usr/local/mysql</strong></p>
<p><strong># ./scripts/mysql_install_db &#8211;user=mysql </strong></p></blockquote>
<p>Set directory permissions</p>
<blockquote><p><strong># cd /usr/local/mysql</strong></p>
<p><strong># chown -R root .</strong></p>
<p><strong># chown -R mysql ./data </strong></p>
<p><strong># chgrp mysql . </strong></p></blockquote>
<p>Install sysconfig rc script</p>
<blockquote><p><strong># cp support-files/mysql.server /etc/init.d/mysqld</strong></p>
<p><strong># chmod +x /etc/init.d/mysqld</strong></p>
<p><strong># chkconfig &#8211;add mysqld</strong></p></blockquote>
<p>That is enough for today, you basically have a working MySQL server at this point. Next we will create the configuration files and start up the NDB storage engine and cluster mangement nodes.</p>
<p>&#8230;to be continued!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2008/10/28/two-server-ha-mysql-cluster/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mike&#8217;s RHEL/CentOS 5 Installation</title>
		<link>http://www.iamroot.ca/wp/index.php/2008/10/26/mikes-rhelcentos-5-installation/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2008/10/26/mikes-rhelcentos-5-installation/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 03:05:55 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/index.php/2008/10/26/mikes-rhelcentos-5-installation/</guid>
		<description><![CDATA[Here is a quick guide to minimize RHEL/CentOS.
For those of you who don&#8217;t know, RHEL is one of two major players in the enterprise linux market ( the other being novell&#8217;s SUSE Linux ). It has been around forever and is always great to have knowledge on&#8230; It also costs a metric shitload. CentOS solved [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick guide to minimize RHEL/CentOS.</p>
<p>For those of you who don&#8217;t know, RHEL is one of two major players in the enterprise linux market ( the other being novell&#8217;s SUSE Linux ). It has been around forever and is always great to have knowledge on&#8230; It also costs a metric shitload. CentOS solved our problem! They took RHEL and build their own identical linux distro for free, which is legit due to RHELs open source licensing <img src='http://www.iamroot.ca/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This article is not overly in depth, but is enough to get an install off the ground with a small CPU and disk footprint. Anyway, let&#8217;s get to it.</p>
<p>First, perform an <strong>almost</strong> default install. The only section you need to modify is the software installation.</p>
<p>To install only the bare essentials, uncheck any and all software to be installed. This involves unchecking the Gnome desktop option, then choosing to customize software install, and unchecking every option under each software group.</p>
<p>RHEL/CentOS will then override your no-install option with only the bare essentials required to have a working system.</p>
<p>When your install is complete, you can get a list of all running services by issuing:</p>
<blockquote><p><strong># chkconfig &#8211;list|grep \:on</strong></p></blockquote>
<p>I then disable a pile of services with the following script/command.</p>
<p>Many of these will fail as if you do a minimal software installation, many of these packages won&#8217;t exist. If you do a default install, all of these will exist.</p>
<blockquote><p><strong># for service in acpid apmd auditd atd autofs bluetooth cpuspeed cups firstboot hidd gpm ip6tables iptables isdn kudzu mcstrans mdmonitor messagebus netfs nfslock pcscd portmap restorecond rpcgssd rpcidmapd sendmail smartd yum-updatesd; do \</strong></p>
<p><strong>chkconfig $service off; \</strong></p>
<p><strong>service $service stop; \</strong></p>
<p><strong>done</strong></p></blockquote>
<p>Add RPMforge to open up a pile more software options</p>
<blockquote><p><strong># wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br />
# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm</strong></p></blockquote>
<p>Remove unused/unwanted packages</p>
<blockquote><p><strong># yum -y remove selinux*</strong></p></blockquote>
<p>Install any updates.</p>
<blockquote><p><strong># yum update</strong></p></blockquote>
<p>Please note that this is a document in progress, but currently it gives you a stable, incredibly well known/supported, and flexible linux installation. ( and free if you use CentOS )</p>
<p>With the steps above, your installation size should be just under 550MB while including YUM for easy installation of the myriad of software out there for RHEL/CentOS.</p>
<p>Enjoy.</p>
<p><a href="http://www.centos.org/" title="CentOS Home" target="_blank">http://www.centos.org/ </a></p>
<p><a href="http://www.redhat.com/rhel/" title="Red Hat Enterprise Linux Home" target="_blank">http://www.redhat.com/rhel/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2008/10/26/mikes-rhelcentos-5-installation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adele, the new NEW soulstress?</title>
		<link>http://www.iamroot.ca/wp/index.php/2008/10/19/adele-the-new-new-soulstress/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2008/10/19/adele-the-new-new-soulstress/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 19:14:17 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/index.php/2008/10/19/adele-the-new-new-soulstress/</guid>
		<description><![CDATA[The first I saw of this artist was her performance on SNL last night. To be honest, at first glance I was preparing myself to be fairly disappointed. It looked like it was going to be on par with a dismal high school talent show performance. A sheepish girl on stage with a mixed batch [...]]]></description>
			<content:encoded><![CDATA[<p>The first I saw of this artist was her performance on SNL last night. To be honest, at first glance I was preparing myself to be fairly disappointed. It looked like it was going to be on par with a dismal high school talent show performance. A sheepish girl on stage with a mixed batch of musicians&#8230; but holy crap was I wrong (first time.. honest).</p>
<p>The voice of this girl&#8230; and the power coming from the band&#8230; were just incredible and worked perfectly together.</p>
<p>I could gush on about this performance and the album behind it, but really, the best thing for me to do is share. This is her video for <em>Chasing Pavements. </em>The album is <em>19</em>, I suggest checking it out.</p>
<p><object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/YimdPxZrfiM&#038;hl=en&#038;fs=1"></param>
<param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/YimdPxZrfiM&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2008/10/19/adele-the-new-new-soulstress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lost Monster Revealed!!!</title>
		<link>http://www.iamroot.ca/wp/index.php/2008/03/23/lost-monster-revealed/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2008/03/23/lost-monster-revealed/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 18:22:56 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[lol]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/index.php/2008/03/23/lost-monster-revealed/</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<p><object width="464" height="392">
<param name="movie" value="http://embed.break.com/NDQxMzgw"></param><embed src="http://embed.break.com/NDQxMzgw" type="application/x-shockwave-flash" width="464" height="392"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2008/03/23/lost-monster-revealed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>openSUSE 10.3 with Compiz Fusion</title>
		<link>http://www.iamroot.ca/wp/index.php/2008/01/15/opensuse-103-with-compiz-fusion/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2008/01/15/opensuse-103-with-compiz-fusion/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 10:02:15 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/index.php/2008/01/15/opensuse-103-with-compiz-fusion/</guid>
		<description><![CDATA[There have been a few times I&#8217;ve ventured into the worlds of Compiz and Beryl&#8230; All I can say is, installing this stuff on KDE has never really been easy.
Just recently, however, I installed openSUSE 10.3 x86_64 on my desktop, and was pleased to see that Compiz Fusion (the new name for the result of [...]]]></description>
			<content:encoded><![CDATA[<p>There have been a few times I&#8217;ve ventured into the worlds of Compiz and Beryl&#8230; All I can say is, installing this stuff on <a href="http://www.kde.org/" title="K Desktop Enviroment">KDE</a> has never really been easy.</p>
<p>Just recently, however, I installed <a href="http://www.opensuse.org/" title="openSUSE.org" target="_blank">openSUSE</a> 10.3 x86_64 on my desktop, and was pleased to see that <a href="http://www.compiz-fusion.org/" title="Compiz Fusion" target="_blank">Compiz Fusion</a> (the new name for the result of merging of Beryl into Compiz) is now a <a href="http://en.opensuse.org/Compiz_Fusion" title="Installation Instructions">1-click installation</a>. All I can say this far, is that it&#8217;s the simplest composite desktop installation I&#8217;ve ever done and it&#8217;s completely fantastic.</p>
<p>Anyone who has seen the desktop is blown away by how spectacular it looks while still being completely usable. The plug in choices are vast, I&#8217;ll just post a few screen shots to show you what you may, or may not, be missing.</p>
<p>One of the many ways you can do application switching.</p>
<p><a href="http://www.iamroot.ca/wp/wp-content/uploads/2008/01/snapshot3.png" title="snapshot3"><img src="http://www.iamroot.ca/wp/wp-content/uploads/2008/01/snapshot3.png" title="snapshot3" alt="snapshot3" height="316" width="505" /></a></p>
<p>Desktop on a cube.</p>
<p><a href="http://www.iamroot.ca/wp/wp-content/uploads/2008/01/snapshot2.png" title="snapshot2"><img src="http://www.iamroot.ca/wp/wp-content/uploads/2008/01/snapshot2.png" title="snapshot2" alt="snapshot2" height="316" width="505" /></a></p>
<p>Moving a wobbly window between the 4 desktops</p>
<p><a href="http://www.iamroot.ca/wp/wp-content/uploads/2008/01/snapshot1.png" title="snapshot1"><img src="http://www.iamroot.ca/wp/wp-content/uploads/2008/01/snapshot1.png" title="snapshot1" alt="snapshot1" height="316" width="505" /></a></p>
<p>Did I mention it&#8217;s <a href="http://www.gnu.org/" title="GNU" target="_blank">free</a>?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2008/01/15/opensuse-103-with-compiz-fusion/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Steal This Film II - Released</title>
		<link>http://www.iamroot.ca/wp/index.php/2008/01/01/steal-this-film-ii-released/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2008/01/01/steal-this-film-ii-released/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 06:39:37 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Copyright]]></category>

		<category><![CDATA[Opinion]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/index.php/2008/01/01/steal-this-film-ii-released/</guid>
		<description><![CDATA[I personally have been waiting for this for a while.. Haven&#8217;t seen it yet, I&#8217;m downloading it as I write this.
For anybody who hasn&#8217;t heard of the films, they are made to show the other side of the file sharing movement. To battle the stance of big business and government. I highly recommend the first [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://iamroot.ca/images/pirate.jpg" align="right" height="150" width="175" />I personally have been waiting for this for a while.. Haven&#8217;t seen it yet, I&#8217;m downloading it as I write this.</p>
<p>For anybody who hasn&#8217;t heard of the films, they are made to show the other side of the file sharing movement. To battle the stance of big business and government. I highly recommend the first one, and considering all that has been going on, I&#8217;m thinking the second one might be just as good if not better.</p>
<p><a href="http://www.stealthisfilm.com/Part1/">Part I</a></p>
<p><a href="http://www.stealthisfilm.com/Part2/">Part II</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2008/01/01/steal-this-film-ii-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>It&#8217;s coming..</title>
		<link>http://www.iamroot.ca/wp/index.php/2007/12/24/its-coming/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2007/12/24/its-coming/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 09:24:44 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/index.php/2007/12/24/its-coming/</guid>
		<description><![CDATA[


]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kde.org/"><br />
<img src="http://games.kde.org/new/counter/" /><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2007/12/24/its-coming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>To the extent that content filtering is absurd</title>
		<link>http://www.iamroot.ca/wp/index.php/2007/11/16/to-the-extent-that-content-filtering-is-absurd/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2007/11/16/to-the-extent-that-content-filtering-is-absurd/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 08:33:28 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Opinion]]></category>

		<guid isPermaLink="false">http://www.iamroot.ca/wp/?p=3</guid>
		<description><![CDATA[Lately there have been a number of instances of ridiculous behaviour from ISP&#8217;s down south.  First it was indiscriminate spying without warrants, and most recently it is targeted packet shaping and most recently content filtering.
AT&#38;T owns and maintains a vast chunk of the ip backbone in the United States. What this means, is that [...]]]></description>
			<content:encoded><![CDATA[<p>Lately there have been a number of instances of ridiculous behaviour from ISP&#8217;s down south.  First it was <a href="http://arstechnica.com/news.ars/post/20070613-att-willing-to-spy-for-nsa-mpaa-and-riaa.html" target="_blank">indiscriminate spying without warrants</a>, and most recently it is <a href="http://www.msnbc.msn.com/id/21376597/" target="_blank">targeted packet shaping</a> and most recently <a href="http://arstechnica.com/news.ars/post/20071114-att-takes-another-step-towards-filtered-network-with-investment-in-vobile.html" target="_blank">content filtering</a>.</p>
<p>AT&amp;T owns and maintains a vast chunk of the ip backbone in the United States. What this means, is that whether or not you subscribe to their internet service, your traffic will end up passing through their network in some way shape or form, and probably more often than you&#8217;d think.</p>
<p>Recently, AT&amp;T has announced that it will start a project to distinguish pirated from legit content in an effort to rid their vast network of unlawful content.</p>
<p>Clearly this is an attempt to appease lobbying groups and copyright owners, which at first glance, seems almost rational.  Copyright is a big issue in the United States as demonstrated by <a href="http://www.cbsnews.com/stories/2007/10/04/national/main3330186.shtml" target="_blank">lawsuits</a> and <a href="http://youtube.com/watch?v=QuAAj1UPvUg" target="_blank">advertisements</a>, etc. However, it starts to get fuzzy when you think deeper into the situation.</p>
<p>AT&amp;T also maintains wired and wireless telephone networks. Certainly these networks may transport or house unlawful information in various ways, but they do not spend money and time trying to crack down on whatever various offenses are played out over those networks. It makes sense, as a telecommunications provider they can&#8217;t be held liable for assuring that all use of their networks is lawful and moral. Certainly there exists a process for investigating, charging, and punishing criminal activity. So why is it up to a telecom to get into the business of enforcing copyright law?</p>
<p>The worst part, as far as I can see it, is that the sifting of all that traffic, and having the computing power to somehow pass judgment on packets are legal and what are not, is going to require a lot of man power, and a lot of computer power. That translates to $$ being spent on the project, and you can be pretty sure that they&#8217;re not doing it just for the moral principle, big telecoms don&#8217;t spend money unless they are forced to, or if it&#8217;s likely to provide a return on their investment. Neither looks great for the average consumer.</p>
<p>To be fair, I actually lied, that&#8217;s not the worst part. The worst part is that the money and time spent is going to protect the profits of industries that pay actors in the tens of millions for a 90 minute movies that really aren&#8217;t that great. I have never heard so much whining about money from someone so well off since Lars Ulrich and Metallica started their battle against Napster.</p>
<p>No wait, I thought of something even worse. Many school shooting plots are advertised on the internet before they are perpetrated. If you&#8217;re going to police your traffic, why not build systems to flag traffic of this nature. Or child pornography, or anything more serious that copyright infringement.</p>
<p>Money Talks</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2007/11/16/to-the-extent-that-content-filtering-is-absurd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello!</title>
		<link>http://www.iamroot.ca/wp/index.php/2007/07/18/hello-world/</link>
		<comments>http://www.iamroot.ca/wp/index.php/2007/07/18/hello-world/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 22:27:24 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to the Root Blog!
This has become the portal page of IamRoot.
]]></description>
			<content:encoded><![CDATA[<p>Welcome to the Root Blog!</p>
<p>This has become the portal page of IamRoot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamroot.ca/wp/index.php/2007/07/18/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
