<?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>Zarathustra Shall Speak &#187; SAN</title>
	<atom:link href="http://zarathustrashallspeak.com/tag/san/feed/" rel="self" type="application/rss+xml" />
	<link>http://zarathustrashallspeak.com</link>
	<description>And you yourself are also this Will to Power.</description>
	<lastBuildDate>Tue, 13 Jul 2010 18:35:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Sun StorageTek 6140, RHEL or CentOS 5.3, and You</title>
		<link>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/</link>
		<comments>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 15:58:15 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=78</guid>
		<description><![CDATA[*holds up small card*  Multipath!  Multipath!  Multipath!]]></description>
			<content:encoded><![CDATA[<p>I fear no Sun hardware, for I am fear incarnate.</p>
<p>First, download the appropriate drivers for your FC HBA.  I&#8217;m currently using a QLogic card, and you should be, too.  If you&#8217;re not, your mileage and sanity may vary.  At any rate, a quick trip to the QLogic site provided me with <em>qla2xxx-v8.02.23_4-dist.tgz</em>, which I shoved into /opt.</p>
<p>The thing of primary importance are the Linux rdac drivers.  The rdac drivers they provide are out of date and will not compile against any modern kernel.  You can snag the updated rdac drivers from: <a href="http://lsi.com/rdac/rdac-LINUX-09.02.C5.13-source.tar.gz">http://lsi.com/rdac/rdac-LINUX-09.02.C5.13-source.tar.gz</a></p>
<p>Those, too, go into /opt.</p>
<p>Now on with the awesome:</p>
<p><code>cd /opt<br />
tar -zxf qla2xxx*.tgz<br />
cd qlogic<br />
./drvrsetup<br />
cd qla2xxx-8*<br />
./extras/build.sh install<br />
cd /opt<br />
tar -zxf rdac-LINUX-09.02.C5.13-source.tar.gz<br />
cd linuxrdac-09.02.C5.13<br />
make<br />
make install<br />
y</code></p>
<p>Open up /boot/grub/grub.conf.</p>
<p>Copy your existing Grub entry and paste it at the bottom of your file.  This is your fallback.  For the primary entry, modify the initrd line to point to mpp-YOURKERNELVERSION.img.  It should look similar to the following:</p>
<p><code>initrd /mpp-2.6.18-128.1.14.el5.img</code></p>
<p>Of course, if your kernel is a different version, the numbers will be different.</p>
<p>Open up /etc/multipath.conf and do some pasting:</p>
<p><code>blacklist {<br />
        devnode "*"<br />
}<br />
devices {<br />
        device {<br />
                vendor SUN<br />
                product CSM200_R<br />
                product_blacklist "Universal Xport"<br />
                features "1 queue_if_no_path"<br />
                path_checker rdac<br />
                hardware_handler "1 rdac"<br />
                path_grouping_policy group_by_prio<br />
                prio "rdac"<br />
                failback immediate<br />
        }<br />
}</code></p>
<p>This may need to be modified depending on what you want/need; I&#8217;m rather new to playing with the 6140 myself so I can&#8217;t really make any recommendations.   This multipath.conf was actually provided to me by our contacts at <a href="http://ibrix.com/">Ibrix</a>.  Ibrix, as a business, is just pure awesome.  They&#8217;re on the level of Zeus in terms of willingness to assist potential customers.  Absolutely amazing.</p>
<p>Anyhow, make sure you have multipathd starting on boot:</p>
<p><code>chkconfig multipathd on</code></p>
<p>Reboot, and you should be able to mount exports from your 6140 on your RHEL/CentOS 5.3 system, and do proper failover, without things freaking the hell out.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
