<?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>A Million Monkeys &#187; perc</title>
	<atom:link href="http://www.monkeedev.co.uk/blog/tag/perc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.monkeedev.co.uk/blog</link>
	<description>Surviving life as a sysadmin.</description>
	<lastBuildDate>Tue, 22 Jun 2010 15:48:58 +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>Monitoring a Dell PERC 6/i RAID Controller in Ubuntu and Debian</title>
		<link>http://www.monkeedev.co.uk/blog/2010/01/27/monitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian/</link>
		<comments>http://www.monkeedev.co.uk/blog/2010/01/27/monitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 09:17:09 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[megaraid]]></category>
		<category><![CDATA[omreport]]></category>
		<category><![CDATA[omsa]]></category>
		<category><![CDATA[perc]]></category>
		<category><![CDATA[poweredge]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=153</guid>
		<description><![CDATA[This is something which took me quite a while to figure out, but it can be done fairly easily in a few minutes. This guide will install Dell OMSA and use omreport to view the status of the RAID. First, add the following line to /etc/apt/sources.list: deb ftp://ftp.sara.nl/pub/sara-omsa dell sara Then, if you try &#8216;apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>This is something which took me quite a while to figure out, but it can be done fairly easily in a few minutes. This guide will install Dell OMSA and use omreport to view the status of the RAID.</p>
<p>First, add the following line to /etc/apt/sources.list:</p>
<blockquote><p>deb ftp://ftp.sara.nl/pub/sara-omsa dell sara</p></blockquote>
<p>Then, if you try &#8216;apt-get update&#8217;, you will get a key error, so do the following:</p>
<blockquote><p>wget -O &#8211; http://ftp.sara.nl/debian_sara.asc | apt-key add  -<br />
apt-get update<br />
apt-get install dellomsa</p></blockquote>
<p>To use omreport, you need to install libstdc++5 to fix the dependancy problems:</p>
<blockquote><p><strong>For 32 bit systems:<br />
</strong>cd /tmp/<br />
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb<br />
dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb</p>
<p><strong>For 64 bit systems (you will need the 32 bit version as well):</strong><br />
cd /tmp/<br />
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb<br />
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb<br />
dpkg -i libstdc++5_3.3.6-17ubuntu1_amd64.deb<br />
dpkg-deb -x libstdc++5_3.3.6-17ubuntu1_i386.deb ./extracts<br />
cp ./extracts/usr/lib/* /usr/lib32/<br />
rm -rf ./extracts</p></blockquote>
<p>Now start the dataeng service:</p>
<blockquote><p>/etc/init.d/dataeng start</p></blockquote>
<p>And you should be able to view information about the RAID using omreport:</p>
<blockquote><p>omreport system summary<br />
omreport storage connector controller=0<br />
omreport storage pdisk controller=0<br />
omreport storage vdisk controller=0</p></blockquote>
<p>You can then make a simple shell/php/perl script cron which checks the status of the RAID every x minutes and notifies you of any problems.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F&amp;title=Monitoring+a+Dell+PERC+6%2Fi+RAID+Controller+in+Ubuntu+and+Debian" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F&amp;title=Monitoring+a+Dell+PERC+6%2Fi+RAID+Controller+in+Ubuntu+and+Debian" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F&amp;title=Monitoring+a+Dell+PERC+6%2Fi+RAID+Controller+in+Ubuntu+and+Debian" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F&amp;title=Monitoring+a+Dell+PERC+6%2Fi+RAID+Controller+in+Ubuntu+and+Debian" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F&amp;title=Monitoring+a+Dell+PERC+6%2Fi+RAID+Controller+in+Ubuntu+and+Debian" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Monitoring+a+Dell+PERC+6%2Fi+RAID+Controller+in+Ubuntu+and+Debian+@+http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2010%2F01%2F27%2Fmonitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.monkeedev.co.uk/blog/2010/01/27/monitoring-a-dell-perc-6i-raid-controller-in-ubuntu-and-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
