The Life of a Sysadmin

Carousel is a lie!

Randomized Title Words
Tue Jul 06 05:25:11 PDT 2010

Yesterday was my first day back after a week off sick...and it wasn't bad, I have to say. It's summer at a university, so that helps, and it was a sunny day like we haven't had in weeks, so that was even better. I'm going off on vacation in three weeks, so I'm focussing now on getting things ready. (I'm asymptotically approaching a full realization of how to plan work over long periods of time...)

There's one big project (LDAP + website + email on four VMs) that I need to hand over to the owners. I found out/confirmed my suspicions that the people maintaining it while I'm gone will be moderately technical, not administrative, so that simplifies things a lot.

There's documentation I need to improve for the folks who'll be helping while I'm gone, including network maps. Ugh...I hate making network maps; it reminds me of web design in its fiddliness (is too a word). But I will do it. (I wonder if using a tablet would help. Anyone have any experience w/that?)

Oh, and DRI...sigh. One of the groups at work uses a protein visualization program that wants to use DRI. Without it, it reverts to a lesser form of rendering that looks like a strobe light. In the X.org troubleshooting guide, they recommend a stanza that looks like this:

Section "DRI"
    Mode 0666
EndSection

I don't like those permissions just on principle. You can put in a "Group foo" directive, which changes the group ownership as you'd expect, and for some workstations that works...but for another does not, possibly because of different driver versions. This is what comes of not having fully automated installs.

And there's son #2 waking up again. He woke up at 5 but was persuaded to go back to sleep. Bad: I was up at 5am. Good: I had time to write this.

1 comment. No tags
Working Group on Sinus Decolonization
Sun Jul 04 07:51:34 PDT 2010

A week ago this afternoon, I started feeling bad: achy, kinda fevery, lethargic. I chalked it up to flu. But then I got these massive headaches. At night I had intense, repetitive, feverish dreams about loading some random .el file in Emacs (no, seriously), and would wake up to more headaches, drenched in sweat.

First doctor said it was allergies or viral; second doctor thought it was bacterial, and gave me a prescription for antibiotics. (I don't usually get second opinions, and I didn't ask for antibiotics, but I've never felt so awful for so long.)

On Wednesday, I stupidly decided to go into work to take care of a few things, and scared a few people with how I looked. I slowly shuffled back to the bus and came home.

On Thursday, I was supposed to go with my wife and kids to Penticton for a weekend family gathering...that was out. I think I'd have thrown myself out the door within a few blocks. They left, and I've been having a sickie bachelor weekend. I started watching "Battlefield Earth" as soon as they left; I lay there on the couch, letting John Travolta's cackle wash over me and laughing weakly.

I watched a lot of movies. I read the Internet. I ate frozen pizza. I upgraded my wife's laptop to the latest version of Ubuntu, and fixed a Flash bug that's been irritating her. I had vague doubts about my choice of career, but I'm putting that down to lack of sleep...haven't had a good night's worth in a week now.

I've been feeling slowly better after starting the antibiotics. And once I figured out I was taking entirely too much acetominophen (I think I was getting rebound headaches), I started feeling even better. For some reason I'm still getting woken up at 1:30am by headaches, but I'm hopeful that'll go.

The family's due back this afternoon. I'll be back at work tomorrow, and I'm glad: I'm pretty bored of sitting on my ass all the time. (I'd be happier to spend more time with my family, but we've got another, longer vacation coming up in OH CRAP three weeks.)

Okay, enough. Go listen to "Volunteers" by Megafaun. (That's why I'm having career doubts. Beard + acoustic music...sigh.)

No tags
Regaining flash control functionality on Youtube in Ubuntu
Sat Jul 03 19:06:31 PDT 2010

I've been upgrading my wife's laptop to Lucid Lynx today, and I've finally had a chance to track down one little bug that's been annoying her. On Youtube, flash controls don't work on videos; she can't close ads, the volume/mute controls don't work, and so on. This is a 64-bit machine, but 32-bit flash (natch).

The solution, as detailed here (post 42!), is to edit /usr/lib/nspluginwrapper/i386/linux/npviewer and insert this before the last line:

export GDK_NATIVE_WINDOWS=1

Restart the browser, and now it all works!

2 comments. No tags
You magnificent bastard.
Mon Jun 28 19:03:00 PDT 2010

Wow:

Since I have started to use Org-mode, I though it was missing
something to have appointment locations on a map. Of course, it's
easy to get a LOCATION property from an entry, and then browse-url
on Google Maps.

But it is too easy for me, so once again I said: challenge accepted! I
will bring Google Maps into Emacs!

Google Maps in Emacs

Simply amazing.

Tags: emacs.
Medicine and system administration
Mon Jun 21 06:10:18 PDT 2010

Quote:

You come into medicine and science at a time of radical transition. You have met the older doctors and scientists who tell the pollsters that they wouldn't choose their profession if they were given the choice all over again. But you are the generation that was wise enough to ignore them: for what you are hearing is the pain of people experiencing an utter transformation of their world. Doctors and scientists are now being asked to accept a new understanding of what great medicine requires. It is not just the focus of an individual artisan-specialist, however skilled and caring. And it is not just the discovery of a new drug or operation, however effective it may seem in an isolated trial. Great medicine requires the innovation of entire packages care -- with medicines and technologies and clinicians designed to fit together seamlessly, monitored carefully, adjusted perpetually, and shown to produce ever better service and results for people at the lowest possible cost for society.

Very, very interesting reading, particularly as it seems to recap arguments about the role of system administration.

No tags
Linux/FreeBSD sysadmin opening at UBC Vancouver
Fri Jun 11 14:04:21 PDT 2010

There's a Linux/FreeBSD sysadmin position open at UBC with the Department of Earth and Ocean Sciences. Job listings are here; look for job #7867. (Silly web page doesn't allow direct links...) If you're in Vancouver, it looks pretty sweet.

No tags
Some thoughts on GOsa
Mon May 31 10:21:32 PDT 2010

At $WORK I've been setting up a server for a new project. It's going to be the foundation for a bunch of work that they're doing: bag o' passwords, code repository, website + wiki, email. I've been trying to set it up in such a way that a) it'll be a good foundation and b) it'll be easy for them to manage -- at least when it comes to adding/deleting/modifying users, email addresses and so on -- rather than having to come to me every time something needs changing.

I set up CentOS Directory server and populated it with the root and a few entries. Thus: cn=Me,ou=People,dc=example,dc=org. I've got authentication working, restricted to certain groups where necessary, and now it's time for me to think about how the non-propellerheads are going to manage accounts. That means a web front end, and I've been evaluating GOsa for the last week or so.

The good:

The bad:

Overall, I'm not sure how happy I am with GOsa. It's not doing what I want now, and it looks like the only way to make that happen is to wipe the tree and start from scratch. -- Well, no, not scratch: create a GOsa-visible department (ou=Something) and stick everything in there. Given the sparse documentation, it's probably silly for me to focus on that, but that's what sticks out at me right now.

1 comment. Tags: ldap.
Linux sysadmin job opening in Vancouver
Fri May 28 10:25:06 PDT 2010

This posting (PDF) came up on the VanLUG mailing list today; if you're looking for a Linux sysadmin job in Vancouver, it looks interesting.

1 comment. No tags
Perl multitasking, CPAN at home
Fri May 28 10:19:01 PDT 2010

For my own reference, here are a couple things I had to find out about Perl today:

Tags: perl, programming.
Config file parsing
Wed May 26 06:14:40 PDT 2010

I've been setting up some new VMs for a separate project at work. I've realized that this is painful for two reasons: Bacula and Nagios.

Both are important...can't have a service without monitoring, and can't have a machine without backups. But each of these are configured by vast files; Bacula's is monolithic (the director's, anyhow, which is where you add new jobs) and Nagios' is legion. And they're hard to configure automagically with sed/awk/perl or cfengine; their stanzas span lines, and whitespace is important.

I've recently added a short script to my Nagios config; it regenerates a file that monitors all the Bacula jobs and makes sure they happen often enough. This is good...and I want more.

I found pynag, a Python module to parse and configure Nagios files. This is a start. I've had problems getting its head around my config files, because it didn't understand recursion in hostgroups (which I think is a recent feature of Nagios) or a hostname equal to "*". I've got the first working, and I'm banging my head against the second. The three books I got recently on Python should help (wow, IronPython looks nice).

There are a lot of example scripts with pynag. None do exactly what I want, but it looks like it should be possible to generate Nagios config files from some kind of list of hosts and services. This would be a big improvement.

But then there's Augeas, which does bi-directional parsing of config files. Have a look at the walk-through...it's pretty astounding. I realized that I've been looking for something like this for a long time: an easier way of managing all sorts of config files. Cfengine (v2 to be sure) just isn't cutting it anymore for me.

Now, the problem with Augeas for my present task is that there isn't anything in the current tree that does what I want, either. There is a commit for parsing nagios.cfg -- not sure if it's been released, or if it will parse everything in a Nagios config_dir. There's nothing for Bacula, either. This will mean a lot more work to get my ideal configuration management tool.

(On a side note, my wife said something to me the other day that was quite striking: I need tasks that can be divvied up into 45-minute chunks. That's how much free time I've got in the morning, bus rides to and from work, and the evening. Commute + kids != long blocks of free time.)

And I've got a congenital weakness for grand overarching syntheses of all existing knowledge...or at least big tasks like managing config files. So I'm trying to be aware of my brain.

...and there's son #2 waking up. Time to post.

1 comment. Tags: backups, monitoring, python.

RSS feed

Created by Chronicle v3.7