[svlug] Biggest Linux System Admin Challenges

James Sparenberg james at linuxrebel.us
Wed Apr 13 21:57:38 PDT 2005


On Wed, 2005-04-13 at 06:22, Karsten M. Self wrote:
> on Mon, Apr 11, 2005 at 10:30:41AM -0700, Craig Oda (craigoda at gmail.com) wrote:
> > A colleague of mine is writing a magazine article on the biggest
> > problems in Linux system administration.  He's looking for real-life
> > examples of people managing Linux systems in an SMB environment that
> > can publicly share information on problems.
> > 
> > Right now, he's identified these five areas as potential challenges:
> > 
> > (1) Disaster recovery; 
> > (2) Version control and conflicts; 
> > (3) Patch management and deployment;
> > (4) Mass updates of application and OS; 
> > (5) Custom application deployment and package manager integration
> 
> FWIW, few of these register particularly highly for me.  Debian systems.
> 
> 1:  Backups, documentation, a failover or neartime recovery system,
>     and/or multiple systems configured with redundant features, buys you
>     most of a solution.  The real problem at most sites is
>     underinvesting in storage hardware (you want good, fast, cheap,
>     tape), and misspecifying the system.
> 
> 2:  Um.  What specifically?  Development environments, or versioning
>     system configs?  If you're referring to CVS archive corruption,
>     well, don't use that then.
> 
> 3:  More of same.  I smell a pretty narrow focus or experience on this
>     article.
> 
> 4:  For RPM systems up through RH 7/8,

I've a minor complaint here.  All RH systems used RPM yes.  But not all
systems using RPM are Redhat.   How many of you when asked to "check
out" a resume for hire, have seen 

"I know Linux 7.3 8 and 9"  

Then thrown the resume in the trash?

I spent a week yesterday working on a RH system.  99% of it's problems
came from a lazy expert.  5 hours later the system is 1 gig lighter in
applications,  Running a heck of a lot faster for the customer and
easier to maintain.  (The expert had hand compiled versions of
applications that were 2 and 3 minors numbers behind the version that
came with the release! and had installed SuSE rpms as well.  "shudder") 

Funny part is.  As much as I trust Debian (stability etc) apt drives me
nuts.  Running between apt-get dpkg apt-cache dselect, don'tselect
whoselects and whattheheck! *grin* but for those I know who use debian
all the time .... it kinda flows out of their fingers.  

>  this has always been a major
>     PITA, particularly as the recommended upgrade route was generall
>     wipe and rebuild.  My understanding is that current upgrade paths,
>     particularly for FC, are similar.  This is _still_ less pain than
>     legacy MS Windows, as both user and local data (/home, /usr/local,
>     /var/*, /etc) are pretty well isolated, relative to 'Doze.  For
>     Debian, upgrading stable-to-stable, it's pretty much a non-issue,
>     modulo a few applications which change file formats (Postgres has
>     done this at least once) and require a postinst migration script.
> 
> 5:  Five words:  /usr/local.  /opt.  GNU stow.  Alien.  Equivs.  
>     Again, Debian Policy ensures that no system packages will interfere
>     with /usr/local or /opt.  If you want to manage your source installs
>     more sanely, you can package them yourself (problem solved), use
>     stow (or some recently announced tool that does a similar job, whose
>     name escapes me), and/or note capabilities to your PMS[1] via
>     equivs (APT) -- not sure what the RPM 'equivs' equiv is.
> 
> 
> > If you have anecdotes you would like to share, please send them to
> > travis at pageonepr.com
> 
>   - In heterogenous environments:  time suck caused by constant barrage
>     of legacy MS Windows systems issues.
> 
>   - Managing config files.  Which basically boils down to picking a
>     versioning system (CVS, svn, arch) and using it.
> 
>   - In a multi-admin environment:  keeping admins on the same page.
>     Talking about planned actions, notifying about emergency actions,
>     logging configurations and changes.  Wikis and CMSs work well for
>     this.
> 
>   - In a multiuser environment:  password management.  Two ends to this:
>     first, using a system wherein users won't forget passwords, and
>     second, applying passwords across multiple systems (both boxes and
>     services, e.g.:  database, mail, htauth, etc.).  For the first,
>     passphrase systems, based on familiar words, works well, *if* all
>     systems can accept >8 char passwords.  For the second, LDAP is a
>     lifesaver.  *If* you can find a same LDAP administrator's guide.
> 
>   - Selling management on a given solution.  Particularly if you're
>     introducing GNU/Linux / Free Software solutions.
> 
>   - Un-selling management on a given solution.  Particularly something a
>     CXO's gone googly-eyed on.
> 
>   - Fscking insane !@#$%^&*() broken proprietary application installers.
>     Anyone who's wrestled with DB/2, Oracle, SAS, or similar, knows
>     exactly what I'm talking about.  They're bloated, poorly written,
>     often have their own transrational installer requirements (Oracle's
>     Java installer, anyone?), etc.  No wonder we love PMSing.
> 
>   - Tracking down HW failures.  Ye olde "system crashing randomly"
>     problem is almost _always_ some bit of HW failing, the problem is
>     working out what.  Solutions:  memtest86++ (doesn't generally find
>     or identify the problem, but gives you 8-16 hours of cover while
>     it's running), bonnie, smartmontools, hdparm, hwinfo, Cerberus Test
>     Control System.  Visual scanning of HW.  Monitoring tools (mtrg,
>     nagios).  Electronic diagnostics.
> 
>   - Network issues.  Particularly firewall troubleshooting.  Hell, good
>     firewall management tools.
> 
>   - Documenting systems.  Should cover what's on 'em, what's in 'em,
>     who's using 'em, and what's happened to 'em.  A system log.
>     Preferably with a hardcopy instance (for when the hamsters get
>     tired).  And a remotely-sited instance (for when the 50 foot hamster
>     attacks).  Debian's got a really nice system at:
> 
>         http://db.debian.org/
> 
>     Machine info at:
> 
>         http://db.debian.org/machines.cgi
> 
>     LDAP based:
> 
>         http://db.debian.org/doc-general.html
> 
>    - Security.  Where to start:  IDS, remote logging, password
>      integrity, remote access & authentication methods, one-time
>      passwords, password generators (e.g.:  opie), PAM, others.  A whole
>      mess of stuff, basically trying to increase your comfort level,
>      recordkeeping, and recoverability.
> 
>    - Tracking and balancing user requests.  There are a number of
>      ticketing / job systems.  The ones that seem to end up at the top
>      of the stack tend to be RequestTracker (a/k/a RT) and Bugzilla.
>      Others:  http://twiki.iwethey.org/Main/TicketTracking
> 
> 
> Going over this list you're going to see that most of the problems are
> really organizational and communications.  The technology's a relatively
> minor part of your job.  If you're lucky, it gets out of your way and
> lets what needs to get done, get done.
> 
> 
> Peace.
> 
> --------------------
> Notes:
> 
> 1.  PMS:  Package management system.  RPM, APT, ebuild, ports, etc.





More information about the svlug mailing list