<?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>HappyLife.sg</title>
	<atom:link href="http://www.happylife.sg/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.happylife.sg</link>
	<description>Where all problems get fixed :)</description>
	<lastBuildDate>Tue, 03 Apr 2012 02:55:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Dell LCD Custom Text</title>
		<link>http://www.happylife.sg/index.php/2012/04/03/dell-lcd-custom-text/</link>
		<comments>http://www.happylife.sg/index.php/2012/04/03/dell-lcd-custom-text/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 02:54:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=289</guid>
		<description><![CDATA[Recently I had setup a HA-pair in my environment and if I do not have my computer with me, I need the NOC guys to be able to identify which is the &#8216;active&#8217; unit and I found out that writing custom text to Dell LCD panel is pretty easy after some digging. If you have [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had setup a HA-pair in my environment and if I do not have my computer with me, I need the NOC guys to be able to identify which is the &#8216;active&#8217; unit and I found out that writing custom text to Dell LCD panel is pretty easy after some digging.</p>
<p>If you have not installed OMSA, please go to this <a href="http://linux.dell.com/wiki/index.php/Repository/OMSA">link</a> and follow the instructions.</p>
<p>Next, install the IMPI tool for you to be able to read/write to the LCD panel</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-y</span> OpenIPMI-tools</pre></div></div>

<p>You just need to know 2 commands to read/write to the LCD.</p>
<p>To see your current content on the LCD panel</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ipmitool delloem lcd info</pre></div></div>

<p>To write your custom text to the LCD panel</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ipmitool delloem lcd <span style="color: #000000; font-weight: bold;">set</span> mode userdefined MyCustomText</pre></div></div>

<p>There you go, it&#8217;s so simple.</p>
<p>Hope someone find this useful =)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2012/04/03/dell-lcd-custom-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The terminal server has exceeded the maximum number of allowed connections</title>
		<link>http://www.happylife.sg/index.php/2012/03/05/the-terminal-server-has-exceeded-the-maximum-number-of-allowed-connections/</link>
		<comments>http://www.happylife.sg/index.php/2012/03/05/the-terminal-server-has-exceeded-the-maximum-number-of-allowed-connections/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 03:28:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=285</guid>
		<description><![CDATA[Encountered this problem with one of my customer&#8217;s server. A quick fix will be logging in remotely using console session to clear up the connections mstsc /v:0.0.0.0 /admin Replace &#8217;0.0.0.0&#8242; with your server IP. After which, you can launch the Terminal Server Manager (Start -> Run -> tsadmin.exe) and clear up the sessions. Hope this [...]]]></description>
			<content:encoded><![CDATA[<p>Encountered this problem with one of my customer&#8217;s server. A quick fix will be logging in remotely using console session to clear up the connections</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mstsc <span style="color: #000000; font-weight: bold;">/</span>v:0.0.0.0 <span style="color: #000000; font-weight: bold;">/</span>admin</pre></div></div>

<p>Replace &#8217;0.0.0.0&#8242; with your server IP.</p>
<p>After which, you can launch the Terminal Server Manager (Start -> Run ->  tsadmin.exe) and clear up the sessions.</p>
<p>Hope this helps&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2012/03/05/the-terminal-server-has-exceeded-the-maximum-number-of-allowed-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove string from file</title>
		<link>http://www.happylife.sg/index.php/2011/06/17/remove-string-from-file/</link>
		<comments>http://www.happylife.sg/index.php/2011/06/17/remove-string-from-file/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 06:32:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=282</guid>
		<description><![CDATA[As I have been trying to figure out how to remove a specific string and not leave a blank line in a file, perl has really saved my day. perl -ni -e 'print unless/mydomain.com/' virtualdomains Back to developing scripts now Hope this helps someone too.]]></description>
			<content:encoded><![CDATA[<p>As I have been trying to figure out how to remove a specific string and not leave a blank line in a file, perl has really saved my day.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-ni</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'print unless/mydomain.com/'</span> virtualdomains</pre></div></div>

<p>Back to developing scripts now <img src='http://www.happylife.sg/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope this helps someone too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2011/06/17/remove-string-from-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openOleDBConnection The &#8216;Microsoft.Jet.OLEDB.4.0&#8242; provider is not registered on the local machine</title>
		<link>http://www.happylife.sg/index.php/2011/05/22/openoledbconnection-the-microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine/</link>
		<comments>http://www.happylife.sg/index.php/2011/05/22/openoledbconnection-the-microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine/#comments</comments>
		<pubDate>Sun, 22 May 2011 06:25:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=277</guid>
		<description><![CDATA[I have just completed a migration for a friend of mine. As he is upgrading the server from Windows 2003 32bit to 64bit version, the site was hit with alot of errors not loading the right stuff for his .aspx files. The following error was presented to me when trying to login to his administrative [...]]]></description>
			<content:encoded><![CDATA[<p>I have just completed a migration for a friend of mine. As he is upgrading the server from Windows 2003 32bit to 64bit version, the site was hit with alot of errors not loading the right stuff for his .aspx files.</p>
<p>The following error was presented to me when trying to login to his administrative panel.</p>
<blockquote><p>openOleDBConnection The &#8216;Microsoft.Jet.OLEDB.4.0&#8242; provider is not registered on the local machine</p></blockquote>
<p>Let me present you the solution:</p>
<p><a href="http://support.microsoft.com/kb/894435">http://support.microsoft.com/kb/894435</a></p>
<p>You need to convert the ASP.NET installation to 32bit version.</p>
<p>After which, type &#8220;iisreset&#8221; in the cmd prompt to restart your IIS services.</p>
<p>One last step which was not shown on the web, you need to go to IIS -&gt;Web Service Extensions -&gt; Enable &#8220;ASP.NET v2.0.50727 (32-bit)&#8221;</p>
<p>One last time, type &#8220;iisreset&#8221; in the cmd prompt to restart your IIS services.</p>
<p>Now your site should be functioning properly now.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2011/05/22/openoledbconnection-the-microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mass Delete Kayako 3  Comments</title>
		<link>http://www.happylife.sg/index.php/2011/03/27/mass-delete-kayako-3-comments/</link>
		<comments>http://www.happylife.sg/index.php/2011/03/27/mass-delete-kayako-3-comments/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 12:39:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=271</guid>
		<description><![CDATA[If you have more than 100 spam comments to delete, you might need to spend quite a fair bit of time to delete. Time is precious. Here is a quick way to mass delete all the comments. DELETE swcomments, swcommentdata FROM swcomments, swcommentdata WHERE swcomments.commentid = swcommentdata.commentdataid AND swcomments.isapproved = '0'; I am not responsible [...]]]></description>
			<content:encoded><![CDATA[<p>If you have more than 100 spam comments to delete, you might need to spend quite a fair bit of time to delete. Time is precious. Here is a quick way to mass delete all the comments.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">DELETE swcomments, swcommentdata FROM swcomments, swcommentdata WHERE swcomments.commentid = swcommentdata.commentdataid AND swcomments.isapproved = <span style="color: #ff0000;">'0'</span>;</pre></div></div>

<p><strong><span style="color: #ff0000;">I am not responsible for any damage caused in your system, please DO backup before you execute any SQL query.</span></strong></p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2011/03/27/mass-delete-kayako-3-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysqlhotcopy cause MySQL server has gone away</title>
		<link>http://www.happylife.sg/index.php/2011/03/20/mysqlhotcopy-cause-mysql-server-has-gone-away/</link>
		<comments>http://www.happylife.sg/index.php/2011/03/20/mysqlhotcopy-cause-mysql-server-has-gone-away/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 06:46:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=269</guid>
		<description><![CDATA[As I was performing a backup for a ~5GB database on a new db server, I encounter this error. DBD::mysql::db do failed: MySQL server has gone away at /usr/bin/mysqlhotcopy line 521. The above means that the MySQL timeout while doing the mysqlhotcopy, you just need to increase the timeout. If your database is really huge, [...]]]></description>
			<content:encoded><![CDATA[<p>As I was performing a backup for a ~5GB database on a new db server, I encounter this error.</p>
<blockquote><p>DBD::mysql::db do failed: MySQL server has gone away at /usr/bin/mysqlhotcopy line 521.</p></blockquote>
<p>The above means that the MySQL timeout while doing the mysqlhotcopy, you just need to increase the timeout. If your database is really huge, you will need to adjust the timeout accordingly.</p>
<p>For me, I will just set 15mins.</p>
<p>Append the following lines to /etc/my.cnf under [mysql] section</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">interactive_timeout = <span style="color: #000000;">3600</span>
wait_timeout = <span style="color: #000000;">3600</span></pre></div></div>

<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2011/03/20/mysqlhotcopy-cause-mysql-server-has-gone-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2008 Activation Issue</title>
		<link>http://www.happylife.sg/index.php/2011/02/15/windows-2008-activation-issue/</link>
		<comments>http://www.happylife.sg/index.php/2011/02/15/windows-2008-activation-issue/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 11:38:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=265</guid>
		<description><![CDATA[I was hit with this error. Code: 0x8007232B Description: DNS name does not exist. Quick Solution: slmgr.vbs -ipk &#91;your product key&#93; slmgr.vbs -ato Enjoy!]]></description>
			<content:encoded><![CDATA[<p>I was hit with this error.</p>
<blockquote><p>Code: 0x8007232B<br />
Description: DNS name does not exist. </p></blockquote>
<p>Quick Solution:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">slmgr.vbs <span style="color: #660033;">-ipk</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>your product key<span style="color: #7a0874; font-weight: bold;">&#93;</span>
slmgr.vbs <span style="color: #660033;">-ato</span></pre></div></div>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2011/02/15/windows-2008-activation-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating GPG keys</title>
		<link>http://www.happylife.sg/index.php/2011/01/24/migrating-gpg-keys/</link>
		<comments>http://www.happylife.sg/index.php/2011/01/24/migrating-gpg-keys/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 16:39:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=258</guid>
		<description><![CDATA[As I am storing backup remotely, I used GPG to encrypt my stuff on-the-fly using duplicity. Due to the upgrading of the current machine to a more powerful machine, I need to move my GPG keys too. Here is how I do it. List the available GPG key in the store. &#160; &#91;root@svr ~&#93;# gpg [...]]]></description>
			<content:encoded><![CDATA[<p>As I am storing backup remotely, I used GPG to encrypt my stuff on-the-fly using <a href="http://duplicity.nongnu.org/">duplicity</a>.</p>
<p>Due to the upgrading of the current machine to a more powerful machine, I need to move my GPG keys too.</p>
<p>Here is how I do it.</p>
<p>List the available GPG key in the store.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>svr ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># gpg --list-keys</span>
<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.gnupg<span style="color: #000000; font-weight: bold;">/</span>pubring.gpg
<span style="color: #660033;">------------------------</span>
pub   1024D<span style="color: #000000; font-weight: bold;">/</span>A1FC0247 <span style="color: #000000;">2011</span>-01-07
uid                  tanfwc <span style="color: #000000; font-weight: bold;">&lt;</span>tanfwc<span style="color: #000000; font-weight: bold;">@</span>happylife.sg<span style="color: #000000; font-weight: bold;">&gt;</span>
sub   2048g<span style="color: #000000; font-weight: bold;">/</span>F96387B6 <span style="color: #000000;">2011</span>-01-07</pre></div></div>

<p>Let&#8217;s export the keys accordingly.<br />
<span id="more-258"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>svr ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># gpg --output mygpgkey_pub.gpg --armor --export F96387B6</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>svr ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># gpg --output mygpgkey_sec.gpg --armor --export-secret-key F96387B6</span></pre></div></div>

<p>Copy the key to the new machine.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">scp</span> mygpgkey_pub.gpg mygpgkey_sec.gpg remote-user<span style="color: #000000; font-weight: bold;">@</span>remote-ip:<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Now go to the new machine and import the keys.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>svr1 ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># gpg --import mygpgkey_pub.gpg</span>
gpg: keyring <span style="color: #000000; font-weight: bold;">`/</span>root<span style="color: #000000; font-weight: bold;">/</span>.gnupg<span style="color: #000000; font-weight: bold;">/</span>secring.gpg<span style="color: #ff0000;">' created
gpg: key A1FC0247: public key &quot;tanfwc &lt;tanfwc@happylife.sg&gt;&quot; imported
gpg: Total number processed: 1
gpg:               imported: 1
[root@svr1 ~]# gpg --allow-secret-key-import --import mygpgkey_sec.gpg
gpg: key A1FC0247: secret key imported
gpg: key A1FC0247: &quot;tanfwc &lt;tanfwc@happylife.sg&gt;&quot; not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
[root@svr1 ~]#</span></pre></div></div>

<p>List the key on the new server to see whether it is imported.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>svr1 ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># gpg --list-keys</span>
<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.gnupg<span style="color: #000000; font-weight: bold;">/</span>pubring.gpg
<span style="color: #660033;">------------------------</span>
pub   1024D<span style="color: #000000; font-weight: bold;">/</span>A1FC0247 <span style="color: #000000;">2011</span>-01-07
uid                  tanfwc <span style="color: #000000; font-weight: bold;">&lt;</span>tanfwc<span style="color: #000000; font-weight: bold;">@</span>happylife.sg<span style="color: #000000; font-weight: bold;">&gt;</span>
sub   2048g<span style="color: #000000; font-weight: bold;">/</span>F96387B6 <span style="color: #000000;">2011</span>-01-07</pre></div></div>

<p>Looks good. My keys is now on the new machine. Off to do my encrypted backup now <img src='http://www.happylife.sg/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2011/01/24/migrating-gpg-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cluster Glue</title>
		<link>http://www.happylife.sg/index.php/2011/01/15/cluster-glue/</link>
		<comments>http://www.happylife.sg/index.php/2011/01/15/cluster-glue/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 09:11:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=251</guid>
		<description><![CDATA[As I am installing Cluster Glue, I bump into the following error. I was looking around the Internet and unable to find a answer thus I have to look into what package CentOS build libuuid into Problem: ./.libs/libplumb.so: undefined reference to `uuid_parse' ./.libs/libplumb.so: undefined reference to `uuid_generate' ./.libs/libplumb.so: undefined reference to `uuid_copy' ./.libs/libplumb.so: undefined reference [...]]]></description>
			<content:encoded><![CDATA[<p>As I am installing <a href="http://www.linux-ha.org/wiki/Main_Page">Cluster Glue</a>, I bump into the following error. I was looking around the Internet and unable to find a answer thus I have to look into what package CentOS build libuuid into <img src='http://www.happylife.sg/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Problem:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>.libs<span style="color: #000000; font-weight: bold;">/</span>libplumb.so: undefined reference to <span style="color: #000000; font-weight: bold;">`</span>uuid_parse<span style="color: #ff0000;">'
./.libs/libplumb.so: undefined reference to `uuid_generate'</span>
.<span style="color: #000000; font-weight: bold;">/</span>.libs<span style="color: #000000; font-weight: bold;">/</span>libplumb.so: undefined reference to <span style="color: #000000; font-weight: bold;">`</span>uuid_copy<span style="color: #ff0000;">'
./.libs/libplumb.so: undefined reference to `uuid_is_null'</span>
.<span style="color: #000000; font-weight: bold;">/</span>.libs<span style="color: #000000; font-weight: bold;">/</span>libplumb.so: undefined reference to <span style="color: #000000; font-weight: bold;">`</span>uuid_unparse<span style="color: #ff0000;">'
./.libs/libplumb.so: undefined reference to `uuid_clear'</span></pre></div></div>

<p>Solution:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-y</span> e2fsprogs-devel</pre></div></div>

<p>Hope the above helps someone out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2011/01/15/cluster-glue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing Linux Network Interface Bonding</title>
		<link>http://www.happylife.sg/index.php/2010/12/29/changing-linux-network-interface-bonding/</link>
		<comments>http://www.happylife.sg/index.php/2010/12/29/changing-linux-network-interface-bonding/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 17:57:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.happylife.sg/?p=245</guid>
		<description><![CDATA[WARNING: The following steps will stop your network interface, please ensure that you have KVM-Over-IP before attempting to do it remotely. If you ever had to change the bonding type while the server is live, follow the steps: &#91;db2:/root&#93;# ifdown bond0 &#91;db2:/root&#93;# modprobe -r bonding &#91;db2:/root&#93;# modprobe bonding mode=1 miimon=100 &#91;db2:/root&#93;# ifup bond0 &#91;db2:/root&#93;# cat [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">WARNING: The following steps will stop your network interface, please ensure that you have KVM-Over-IP before attempting to do it remotely.</span></strong></p>
<p>If you ever had to change the bonding type while the server is live, follow the steps:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>db2:<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ifdown bond0</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>db2:<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># modprobe -r bonding</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>db2:<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># modprobe bonding mode=1 miimon=100</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>db2:<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ifup bond0</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>db2:<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cat /proc/net/bonding/bond0</span>
Ethernet Channel Bonding Driver: v3.4.0 <span style="color: #7a0874; font-weight: bold;">&#40;</span>October <span style="color: #000000;">7</span>, <span style="color: #000000;">2008</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
Bonding Mode: fault-tolerance <span style="color: #7a0874; font-weight: bold;">&#40;</span>active-backup<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Primary Slave: None
Currently Active Slave: eth2
MII Status: up
MII Polling Interval <span style="color: #7a0874; font-weight: bold;">&#40;</span>ms<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">100</span>
Up Delay <span style="color: #7a0874; font-weight: bold;">&#40;</span>ms<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">0</span>
Down Delay <span style="color: #7a0874; font-weight: bold;">&#40;</span>ms<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">0</span>
&nbsp;
Slave Interface: eth2
MII Status: up
Link Failure Count: <span style="color: #000000;">0</span>
Permanent HW addr: 
&nbsp;
Slave Interface: eth3
MII Status: up
Link Failure Count: <span style="color: #000000;">0</span>
Permanent HW addr:</pre></div></div>

<p>Hope this helps someone out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happylife.sg/index.php/2010/12/29/changing-linux-network-interface-bonding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

