<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Miscellaneous Ramblings &#187; redhat</title>
	<atom:link href="http://onastick.wordpress.com/tag/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://onastick.wordpress.com</link>
	<description>Hockey, Disc golf, devops and other assorting miscellany.</description>
	<lastBuildDate>Wed, 18 Jan 2012 17:39:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='onastick.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Miscellaneous Ramblings &#187; redhat</title>
		<link>http://onastick.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://onastick.wordpress.com/osd.xml" title="Miscellaneous Ramblings" />
	<atom:link rel='hub' href='http://onastick.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Fighting with SAN</title>
		<link>http://onastick.wordpress.com/2008/12/23/fighting-with-san/</link>
		<comments>http://onastick.wordpress.com/2008/12/23/fighting-with-san/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 05:39:45 +0000</pubDate>
		<dc:creator>stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netapp]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rhel5]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.miscellaneous.net/?p=171</guid>
		<description><![CDATA[We&#8217;ve been a big NAS shop for a number of years, actually well before I come on board.  We are starting to use SAN more and more nowadays.  We have a much more stable SAN fabric (the network side of fiber channel storage for those of you keeping score at home).  So I spend several [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onastick.wordpress.com&amp;blog=19419720&amp;post=171&amp;subd=onastick&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been a big NAS shop for a number of years, actually well before I come on board.  We are starting to use SAN more and more nowadays.  We have a much more stable SAN fabric (the network side of fiber channel storage for those of you keeping score at home).  So I spend several days before the break fighting with various SAN issues.  Most of them were my lack of particular experience with our SAN implementation as well as host level tools.  The pain of SAN comes largely from the host end.  Your SAN device (even in our case with NetAPP) is probably pretty good at doing it&#8217;s end and is well documented.  But on the linux side SAN is very vendor specific, which always leads to problems.  For example if you are using an EMC you have to get supported HBAs then in some cases run a custom kernel to support that HBA and then you probably end up needed vendor specific tools for handling things.  In my setup I don&#8217;t need a custom kernel, but we do have to support a small vendor package of tools.  NetApp is actually pretty good when it comes linux supoprt, they package RPMs in most cases and stay current with versions as far as support.</p>
<p><span id="more-171"></span>Several of the things I played with were adding a lun to a machine and getting it to show up without rebooting.  Translating docs gleaned from the web to my configuration was a bit tough at the beginning because we have a highly redundant fabric.  That meaning we have 2 HBAs in each host each with 2 fiber paths.  What this means is that when I get luns to show up I see them 4 times for each lun.  Apparently most people that write about their SAN experiences do it with a single path to their storage device through the fabric.   I also went through the rigamarole of removing a lun from a host (again without rebooting).  All in all it was pretty clean, a series of echo&#8217;s to the /sys subsystem, not nearly as ugly as adding and removing actual scsi devices.  It was also completely non-disruptive to other luns and overall performance.</p>
<p>There&#8217;s been quite a bit of debate among the other SAs at work about how we should handle luns at the host level.  Originally the thought was to add LVM on top of the LUN (which with multipath is kinda a bear) then create the filesystem on top of LVM.  The thought was originally that this would enable us to grow and shrink as needed and give us a similiar flexibility to the NFS volumes we are so used to dealing with.  Turns out shrinking is still iffy.  I&#8217;ve tried it twice now and had catestrophic failures both times.  The filer seems to handle it fine, but the host just flat out fails to see it as a valid filesystem once the lun gets smaller.</p>
<p>With multipath configured correctly what we see with an fdisk -l is 5 new &#8216;disks&#8217;.  sdX &#8211; sd{X+4} and dm-X.  So depending on how many existing scsi devices (including other luns) we have sde,f,g,h and dm-0 (assuing a, b, c already existing and no other san luns).  What&#8217;s a little confusing is that each of these devices is the same disk, you don&#8217;t want to use the sdX devices for anything (unless it&#8217;s a onetime operation) in case you lose a path.  So you do everything to the dm-X device created by multipath.  The other confusing thing is that while these are &#8216;disks&#8217; they also are not.  You can create partitions on them but you don&#8217;t really need to, so it kinda confuses your brain in what you are used to dealing with.</p>
<p>So the original plan with LVM was to create a partition consisting of the entire disk, add it as a PV, create a volume group, then a LV on the volume group of the whole size.  It struck several of us that this really was overkill.  Where LVM shines is when you have lots of descrete storage objects and you want to group them all together.  Logically this &#8216;thing&#8217; is a single lun where all the physical abstraction is already done (with about 4 levels of abstraction in the case of NetApp).  The other alternative, which I ended up doing for this particular implementation, was to just create a filesystem right on dm-0.  I didn&#8217;t create a partition, didn&#8217;t do LVM, just mkfs.ext3 /dev/dm-0.  Worked like a charm, no wasted space, very simple.</p>
<p>There is a gotcha though.  Multipath has the annoying habit of renaming the multi-disk device (dm-X) when the host reboots and it encounters additional luns.  So if you add a lun to a machine that already has one then reboot it&#8217;s possible, nigh on likely, that they will swap dm-1 and dm-0 to the opposite of what you expect.  This is pretty annoying from a mounting standpoint.  This is one potential winning point for LVM, since the LVM data is written to the disk itself you can have a consistent name which to use in fstab etc.  But all that overhead just for a consistent name?  Am I really getting anything else out of LVM in this scenerio?</p>
<p>Enter ext2/3 labels.  Most SAs I know don&#8217;t like labels because if you do things like label a disk &#8216;/&#8217; and try to put it in another machine for recover purposes, you probably won&#8217;t get the disk you expect (it&#8217;ll depend on bus order).  However labels give us a way to consistently name a dm device regardless of what multipath wants to call it.  This also lets me give meaningful symbolic names to SAN disks that may move hosts (oracle volumes is their current use, so there are 2, 1 for primary and 1 for standby).  So I use e2label /dev/dm-0 FOO to label my san disk.  Then in fstab I use LABEL=FOO. An interesting side effect is that df output shows the uuid of the disk rather than it&#8217;s multipath name, but other than that it seems to work.</p>
<p>Next I need so spend a bunch of time with a non-critical volume and figure out all the ins and outs of growing and (maybe) shrinking the fileystem.  All of the above work was done on a RHEL5 system (64bit), my feeling is that all bets are off when it comes to RHEL4 and LVM might be a very real hard requirement.  I also wonder if multipath is the right way to go.  Would it be possible to use LVM to create a fault tolerant storage device?</p>
<br />Posted in Sysadminery Tagged: linux, netapp, redhat, rhel5, san, sysadmin <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onastick.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onastick.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onastick.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onastick.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onastick.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onastick.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onastick.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onastick.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onastick.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onastick.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onastick.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onastick.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onastick.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onastick.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onastick.wordpress.com&amp;blog=19419720&amp;post=171&amp;subd=onastick&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onastick.wordpress.com/2008/12/23/fighting-with-san/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10dcfb54c464136b8be684b80ddd3515?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">stickm13</media:title>
		</media:content>
	</item>
		<item>
		<title>LISA &#039;08 Recap</title>
		<link>http://onastick.wordpress.com/2008/11/22/lisa-recap/</link>
		<comments>http://onastick.wordpress.com/2008/11/22/lisa-recap/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 22:35:42 +0000</pubDate>
		<dc:creator>stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>
		<category><![CDATA[california]]></category>
		<category><![CDATA[drinking]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[lisa08]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.miscellaneous.net/?p=152</guid>
		<description><![CDATA[Recently I just got back from LISA (Large Install System Administrators) Conference in San Diego.  Overall I really enjoy this conference.  My employer generally doesn&#8217;t spend very much on conferences, at least not for people in my position, so it&#8217;s nice that I get to go to this one.  There are very few Sysadmin specific [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onastick.wordpress.com&amp;blog=19419720&amp;post=152&amp;subd=onastick&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I just got back from LISA (Large Install System Administrators) Conference in San Diego.  Overall I really enjoy this conference.  My employer generally doesn&#8217;t spend very much on conferences, at least not for people in my position, so it&#8217;s nice that I get to go to this one.  There are very few Sysadmin specific conferences out there.  Velocity seems to have some potential despite it being very Web (2.0) centric.  I haven&#8217;t been to Velocity so I really can&#8217;t comment.</p>
<p><span id="more-152"></span></p>
<p>This was my second trip to LISA, I went last year in Dallas.  This year was definatly better.  It being in San Diego meant not only the the weather was fantastic, but there was also lots to do outside of the conference.  I think that particular locale made it easier for people on the west coast to come.  For those that haven&#8217;t been, LISA consists on basically 2 &#8216;tracks&#8217;, which you can mix and match.  The technical sessions, which are later in the week and the training sessions, which run the entire week long (up to 2 per day).  This year I took a full week of training.</p>
<p>All in all the training is good.  There&#8217;s a bit of a trick to it.  You have to take classes on things that you don&#8217;t know anything about because they tend not to be very advanced.  Also from year to year the training doesn&#8217;t seem to improve much, many of the instructors are using their same slides from the previous year (or further back).  The Technical sessions are more like 2 hour lectures on a particular topic.  They are not geared toward training but more toward presenting.  I&#8217;ve never found them that interesting.</p>
<p>By far where LISA wins out is what&#8217;s called the &#8216;Hallway Track&#8217;.  This is basically the hobnobbing in the halls with other SAs and going out to dinner and all the conversations that occur as a result of that.  Each year I&#8217;ve found that amazingly useful.  Most SAs operate in a bit of a vacum, they may have a small (or large) team, but there&#8217;s a heirarchy there.  If they are in a solo shop they don&#8217;t usually have someone to bounce ideas off of.  Even if they do company size, budget, etc limit the focus.  The people you meet with at LISA cover all sorts of areas from the large financial sector, to academia, to startups.  It&#8217;s those different perspectives that are really valuable and why I go back each year.</p>
<p>I am however disappointed that LISA has been shrinking a bit, they need to improve their training and try to attract different groups of SAs.  I think alot of small shop SAs don&#8217;t come to LISA because it has this air of being only for really large installs.  If you are serious about your craft as an SA you hope to one day be in a large install, either by growing the one you have or moving into one.  I think it&#8217;s important for small SAs to attend a conference like this to learn about techniques they could implement before they get too big.</p>
<p>Another point of disappoitment is with the vendors.  As an employee for what easily can be described as a vendor we don&#8217;t have a presence at LISA (except as attendees).  There were probably only 25 vendors this year and most of them were in the SAN space.  SUN was there, but they didn&#8217;t really seem into promoting their product.  FreeBSD was there as well, but they are kinda preaching to the choir with their userbase if you ask me.  Fedora had no presence there, Red Hat had nothing.  Where were all the security product vendors?  Where were the groupware vendors?  Splunk always shows up and does a good job.  In fact I started using Splunk last year after talking with their sales guys at LISA &#8217;07. Alot of people at LISA are either buying or making the technical recommendation and indirectly buying the products that their companies will use.  Reductive Labs personally has LISA to thank for at least one contract.  I wouldn&#8217;t have bought a support contract with them if I hadn&#8217;t met Luke and had some really good discussions with him.</p>
<p>The after hours stuff at LISA is also excellent.  They have BoFs (Birds of a Feather) sessions about a wide range of topics.  Anyone can run a BoF, they are meant to be informal roundtable discussions about a particular topic.  They often stray off the technical, there was a hockey bof last year, and their&#8217;s usually a semi-secret scotch bof every year as well.</p>
<p>Next year LISA will be in Baltimore.  I will likely go because it&#8217;s so close and I get alot out if each year.  Even when I don&#8217;t learn alot of training, being around a bunch of other SAs and spending a week discussing methods and other aspects of SA always invigorates me and gets me all fired up for when I return to work.  It&#8217;s kinda like a career reset.  When your job has you beaten down and you&#8217;re burned out sometimes a vacation helps release that pent of stress.  Sometimes however getting away from work but staying technical and learning about other ways of doing your job can be an even bigger boost.</p>
<br />Posted in Sysadminery Tagged: california, drinking, fedora, freebsd, lisa08, redhat, sun, sysadmin <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onastick.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onastick.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onastick.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onastick.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onastick.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onastick.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onastick.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onastick.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onastick.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onastick.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onastick.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onastick.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onastick.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onastick.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onastick.wordpress.com&amp;blog=19419720&amp;post=152&amp;subd=onastick&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onastick.wordpress.com/2008/11/22/lisa-recap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10dcfb54c464136b8be684b80ddd3515?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">stickm13</media:title>
		</media:content>
	</item>
	</channel>
</rss>
