<link type="text/css" rel="stylesheet" href="http://www.miscellaneous.net/wordpress/wp-content/plugins/ajax-comment-posting/acp.css" /><?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>Miscellaneous Ramblings &#187; Sysadminery</title>
	<atom:link href="http://www.miscellaneous.net/category/sysadminery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.miscellaneous.net</link>
	<description></description>
	<lastBuildDate>Sun, 27 Jun 2010 15:04:51 +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>Password Manager for iPhone</title>
		<link>http://www.miscellaneous.net/2009/03/23/password-manager-for-iphone/</link>
		<comments>http://www.miscellaneous.net/2009/03/23/password-manager-for-iphone/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 03:01:05 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Sysadminery]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[passwords]]></category>

		<guid isPermaLink="false">http://www.miscellaneous.net/2009/03/23/password-manager-for-iphone/</guid>
		<description><![CDATA[I&#8217;m on the hunt for a good password manager for the iPhone. But there&#8217;s a slight catch. I&#8217;m looking for something that works with fedora. I&#8217;d like to be able to sync it locally as well. There seem to be couple of things that will sync &#8220;to the cloud&#8221; but that seems to be a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m on the hunt for a good password manager for the iPhone. But there&#8217;s a slight catch. I&#8217;m looking for something that works with fedora. I&#8217;d like to be able to sync it locally as well. There seem to be couple of things that will sync &#8220;to the cloud&#8221; but that seems to be a horrible idea for passwords. </p>
<p>Anyone have suggestions?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2009/03/23/password-manager-for-iphone/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>When security takes a backseat to process&#8230;</title>
		<link>http://www.miscellaneous.net/2009/02/16/when-security-takes-a-backseat-to-process/</link>
		<comments>http://www.miscellaneous.net/2009/02/16/when-security-takes-a-backseat-to-process/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 15:54:16 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>
		<category><![CDATA[itil]]></category>
		<category><![CDATA[process]]></category>

		<guid isPermaLink="false">http://www.miscellaneous.net/?p=198</guid>
		<description><![CDATA[We are currently going through an ITIL implementation.  It&#8217;s had it&#8217;s ups and downs and philosophically I don&#8217;t really believe in it (certainly not in our implementation), but it&#8217;s had a few successes and a few failures.  Without droning too much about it, to make any &#8216;production&#8217; change you have to file an RFC that [...]]]></description>
			<content:encoded><![CDATA[<p>We are currently going through an ITIL implementation.  It&#8217;s had it&#8217;s ups and downs and philosophically I don&#8217;t really believe in it (certainly not in our implementation), but it&#8217;s had a few successes and a few failures.  Without droning too much about it, to make any &#8216;production&#8217; change you have to file an RFC that gets reviewed by a management team.  There is a relatively recent <a href="http://isc.sans.org/diary.html?storyid=5713" target="_blank">DNS attack</a> that involves using root zone recursion to DOS a target server.  We&#8217;re vulnerable to being used in this manner.  It really doesn&#8217;t affect us much  as that our servers handle the requests fine, but we&#8217;re assisting in a DDOS and that&#8217;s not good.  For us the fix is pretty straight forward, because of some historical decisions we have to allow recursion for certain ips, so I need to segment things off into a tighter view and eliminate recursion there.  This is a  pretty straight forward change and one that I would do without a second thought (after testing).  Due to our current climate of process I have to file an RFC, which is fine, I&#8217;m not real happy about it but I&#8217;ll live.</p>
<p>However my RFC was denied not because of any technical reason, not because of any concern over the technology, the implementation, or the timing.  It was denied because I didn&#8217;t put the correct information into the details page and because my dates were wrong.  I&#8217;m all for doing process right (when it makes sense), but does it make sense to derail a security fix for 4 days because the form was incorrect?  Especially when there exists a forum in which you can be asked to clarify anything regarding your RFC.</p>
<p>Now when security takes a backseat to process, your organization has truly begun the decent to failure.  This may indeed be the straw&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2009/02/16/when-security-takes-a-backseat-to-process/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More posts and more Sysadminery</title>
		<link>http://www.miscellaneous.net/2008/12/23/more-posts-and-more-sysadminery/</link>
		<comments>http://www.miscellaneous.net/2008/12/23/more-posts-and-more-sysadminery/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 14:52:40 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Sysadminery]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.miscellaneous.net/?p=174</guid>
		<description><![CDATA[I&#8217;m trying to make a concerted effort to first of all blog a little more, and secondly blog more about sysadmin type stuff.  Hopefully that&#8217;ll give me a little bit more direction.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to make a concerted effort to first of all blog a little more, and secondly blog more about sysadmin type stuff.  Hopefully that&#8217;ll give me a little bit more direction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2008/12/23/more-posts-and-more-sysadminery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fighting with SAN</title>
		<link>http://www.miscellaneous.net/2008/12/23/fighting-with-san/</link>
		<comments>http://www.miscellaneous.net/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 [...]]]></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>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2008/12/23/fighting-with-san/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LISA &#8217;08 Recap</title>
		<link>http://www.miscellaneous.net/2008/11/22/lisa-recap/</link>
		<comments>http://www.miscellaneous.net/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 [...]]]></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>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2008/11/22/lisa-recap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The fallecy of concatenation</title>
		<link>http://www.miscellaneous.net/2008/05/09/the-fallecy-of-concatenation/</link>
		<comments>http://www.miscellaneous.net/2008/05/09/the-fallecy-of-concatenation/#comments</comments>
		<pubDate>Fri, 09 May 2008 17:10:50 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>
		<category><![CDATA[config management]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.miscellaneous.net/?p=126</guid>
		<description><![CDATA[Whenever I discuss configuration management with anyone that is new to the concept, and even some people that have been doing it for a while.  There&#8217;s one concept that comes up that I have to argue with people about incessantly.  It&#8217;s this concept of concatenation.  Basically what people want to do is have this stub [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever I discuss configuration management with anyone that is new to the concept, and even some people that have been doing it for a while.  There&#8217;s one concept that comes up that I have to argue with people about incessantly.  It&#8217;s this concept of concatenation.  Basically what people want to do is have this stub of a file be global, this other stub only effect this particular subset of machines, this other stub affect this other subset, then finally a stub that&#8217;s host specific.<span id="more-126"></span></p>
<p>This is such a horrible approach.  It almost immediately leads to spaghetti and data bleed.  Nowhere else in computer science that I know of is this approach even attempted.  Almost everyone tries to come up with some way to replicate this type of functionality into their configuration management system.  They think that this will save them time and allow them to generalize their configs in a sane way.  What it really results in is a mess of what comes from where and when you need to make changes where a particular stub should go.  Almost immediately you&#8217;ve created confusion, and created an inheritance that is arbitrary at best.</p>
<p>I think the problem actually stems from a top down approach to config management.  People seem to think that consolitation occurs from the top down, when in reality it comes from the bottom up.</p>
<p>The way I approach this problem is to come up with a way to model your changes as individual configs that are additive from the bottom up.  Apache is actually a very good example of this.  If you look at the add on components, (mod_perl, mod_python, squirrelmail, etc) they add in their own configs that add up to a global configuration for a single apache server.</p>
<p>Take sudoers for example.  People always want to have some concatenation scheme for sudoers so that they can have global configs that everyone inherits then a role (say webserver) config that gets picked up, then host specfic configs that allow for one off host configurations.  A better approach is to be able to add single config records for each thing you need and build a total config, rather than start from the top and work down, start at the bottom and build up.</p>
<p>In the scope of puppet, this is done rather nicely with a type.  Types allow you to add a single record in the appropriate place and not rely on any type of inheritance to determine where and if a configuration lands on a given server.  In the example above I would have a sudo type that I would put at each class level to only add the sudo config for that class.  I don&#8217;t have to concern myself with what level of inheritance I&#8217;m at (global or otherwise)  or what order things are in because I&#8217;m just inserting a configuration record rather than a trying to manage a whole section of a file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2008/05/09/the-fallecy-of-concatenation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a custom CA in MacOSX</title>
		<link>http://www.miscellaneous.net/2007/05/02/using-a-custom-ca-in-macosx/</link>
		<comments>http://www.miscellaneous.net/2007/05/02/using-a-custom-ca-in-macosx/#comments</comments>
		<pubDate>Wed, 02 May 2007 19:22:20 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>

		<guid isPermaLink="false">http://miscellaneous.net/2007/05/02/using-a-custom-ca-in-macosx/</guid>
		<description><![CDATA[I&#8217;ve done this twice now and both times tried to look it up and got nowhere, and figured it out on my own.&#160; Write it down stupid! download the custom CA cert from wherever it may be double click it, it will launch Keychain Access add said cert to the X509Anchors chain restart any apps [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done this twice now and both times tried to look it up and got nowhere, and figured it out on my own.&nbsp; Write it down stupid!</p>
<ul>
<li>download the custom CA cert from wherever it may be</li>
<li>double click it, it will launch Keychain Access</li>
<li>add said cert to the X509Anchors chain</li>
<li>restart any apps that are going to look for that cert</li>
</ul>
<p>That&#8217;s it, easy in a mac kinda way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2007/05/02/using-a-custom-ca-in-macosx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Management</title>
		<link>http://www.miscellaneous.net/2006/12/07/password-management/</link>
		<comments>http://www.miscellaneous.net/2006/12/07/password-management/#comments</comments>
		<pubDate>Thu, 07 Dec 2006 18:09:12 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>

		<guid isPermaLink="false">http://miscellaneous.net/2006/12/07/password-management/</guid>
		<description><![CDATA[In doing some reading I found the pwsafe password database.&#160; There are quite a few things out there to manage passwords, but I like this one because of it&#8217;s copy/paste integration and that you can dump the db to text pretty easily to share it with others.&#160; In my field you always end up with [...]]]></description>
			<content:encoded><![CDATA[<p>In doing some reading I found the <a href="http://nsd.dyndns.org/pwsafe/">pwsafe password database.</a>&nbsp; There are quite a few things out there to manage passwords, but I like this one because of it&#8217;s copy/paste integration and that you can dump the db to text pretty easily to share it with others.&nbsp; In my field you always end up with some way of sharing root passwords etc with other people that you work with in some secure manner.&nbsp; My favorite has always been gpg encrypted files, it&#8217;s easy it works, it&#8217;s platform independent for the most part.&nbsp; This lets you combine that with a common format and a little more ease of use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2006/12/07/password-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuration Management</title>
		<link>http://www.miscellaneous.net/2006/11/28/configuration-management/</link>
		<comments>http://www.miscellaneous.net/2006/11/28/configuration-management/#comments</comments>
		<pubDate>Tue, 28 Nov 2006 16:44:35 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>

		<guid isPermaLink="false">http://miscellaneous.net/2006/11/28/configuration-management/</guid>
		<description><![CDATA[Configuration Management has been a interesting topic to me for quite some time. To me it does a couple of things, not only does it make life as a sysadmin much, much easier. But also it combines scripting and code development with system configuration. Much has been written on the topic in regards to deployment. [...]]]></description>
			<content:encoded><![CDATA[<p>Configuration Management has been a interesting topic to me for quite some time.  To me it does a couple of things, not only does it make life as a sysadmin much, much easier.  But also it combines scripting and code development with system configuration.  <span id="more-44"></span>Much has been written on the topic in regards to deployment.   To me that has been the smallest problem to solve.  There are millions of ways to handle deployment.  Hand written perl scripts to large software suites all handle the relatively mundane task of getting a config file out to a machine in a controlled and consistent manner.  The crux of the problem has always been how to ease the pain of making changes across a &#8216;mostly&#8217; homogeneous environment.  I say mostly b/c even in a cluster situation all X of those machines has minute differences even though they are 95% the same.  At the very basest level things like ip address are always different.  After working at Red Hat, I came into contact with two different solutions.  Both used a class based system to define the &#8216;roles&#8217; that a given system has (think mail server as a role example).  One was a push (using rsync, ssh-keys and a basic class system).  The other was a templating engine that heavily uses CfEngine.  They both have their merits but the templating engine in the latter case was really exciting.  It has it&#8217;s pains and suffers horribly from organic growth (but what doesn&#8217;t), but has been the first thing I&#8217;ve seen that really attempts to ease the work by templating configs as much as possible.</p>
<p>One of the downsides to it is that it&#8217;s for the most part unreleased.  I wouldn&#8217;t call it proprietary but it has no advocate inside of Red Hat that is pushing to release it.  Honestly it probably isn&#8217;t ready, it joins in my opinion a long list of great tools that aren&#8217;t quite ready to be consumed by the masses.  There is hope though for those admins out there that are looking at the 25+ server mark and wondering how the hell they are going to keep everything updated without going insane.  Recently I found a great <a target="_blank" href="http://users.ox.ac.uk/~raym/software/configuration-management/">paper</a>  that looks to address the overall problem as well as some things that I&#8217;ve seen specifically with our solution.</p>
<p>The problem with what Red Hat uses is that it&#8217;s really well suited for 50+ machines, but the learning curve is very steep, and initial setup is very time consuming.  The stuff that the guys at Oxford have come up with seems to have a much lower learning curve, much easier setup time, and will still scale very very well into the 100&#8242;s of systems range.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2006/11/28/configuration-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH and Screen</title>
		<link>http://www.miscellaneous.net/2005/11/16/ssh-and-screen/</link>
		<comments>http://www.miscellaneous.net/2005/11/16/ssh-and-screen/#comments</comments>
		<pubDate>Wed, 16 Nov 2005 19:56:12 +0000</pubDate>
		<dc:creator>Stick</dc:creator>
				<category><![CDATA[Sysadminery]]></category>

		<guid isPermaLink="false">http://miscellaneous.net/2005/11/16/ssh-and-screen/</guid>
		<description><![CDATA[I nabbed this from off google to solve the same problem. You are using screen and you disconnect and come back later and all your ssh auth sessions are broken. I modified it a bit to be friendlier about locations. if [ ! -z "$SSH_AUTH_SOCK" ]; then screen_ssh_agent=/var/tmp/${LOGNAME}/state/ssh-agent-screen if [ "$TERM" = "screen" ]; then [...]]]></description>
			<content:encoded><![CDATA[<p>I nabbed <a href="http://woss.name/2005/08/17/using-ssh-agent-and-screen-together/">this</a> from off google to solve the same problem.  You are using screen and you  disconnect and come back later and all your ssh auth sessions are broken.  I modified it a bit to be friendlier about locations.</p>
<pre>
if [ ! -z "$SSH_AUTH_SOCK" ]; then
    screen_ssh_agent=/var/tmp/${LOGNAME}/state/ssh-agent-screen
    if [ "$TERM" = "screen" ]; then
        SSH_AUTH_SOCK=${screen_ssh_agent}; export SSH_AUTH_SOCK
    else
        if [ ! -d "$(dirname ${screen_ssh_agent})" ]; then
            mkdir -p $(dirname ${screen_ssh_agent})
        fi
        ln -snf ${SSH_AUTH_SOCK} ${screen_ssh_agent}
    fi
fi
</pre>
<p>Enjoy&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.miscellaneous.net/2005/11/16/ssh-and-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
