dannyman.toldme.com


Biography, Technical, Technology

November, 2010

Link: https://dannyman.toldme.com/2010/12/01/november-2010/

Monday, November 1

Potentially nifty: a text-to-speech utility that writes its output to an audio device, which you could set as your system’s sound input. This way you could have “conversations” in your headphones via VoIP or Skype without having to make disruptive noises or emitting sensitive information in a shared environment like an open office or a library.

Hrmmm.

sudo apt-get install epos
sudo /etc/init.d/epos start
say "this does not work"
sudo apt-get remove epos

sudo apt-get install espeak
espeak "hello there"

But it appears there is no good way on Linux, anyway, to tell a command to dump its audio output to the microphone. Bah.

Wednesday, November 3

I got my sutures out the other day. I’ve still got the band-aid on my chin, cleaning and re-dressing twice a day, until the skin is no longer broken. Doc said I’d be shaving regular next week.

Thursday, November 4

Nice: I got the WordPress for Android App working thanks to Dan at Automattic pointing out I had an SVN-corrupted xmlrpc.php file.

Annoying: No idea how I can possibly type < or > with this nice-but-crippled G2 keyboard.

I made it up to San Bruno today, aboard Caltrain. Today is the first time I took my bike on Caltrain and it really wasn’t as bad as a colleague made it sound. The yellow tags are impossible to find though, so I made a couple labels to stick on my bike indicating what stations I ride between. In San Bruno, I stopped at the curb where I face-planted last week. Nothing special about it. I got to the office way faster than I have by walking. Probably 20 minutes compressed to 5 or not more than 10. The only unpleasant part is crossing El Camino. The crossing I chose had a crosswalk on only one side, so I had to cross against traffic to get rolling across the street.

Friday, November 5

Well, I finally have a new watch band . . . my old one broke such that it would no longer attach to my wrist, but I could dangle it off my belt. Now I have to get used to looking at my wrist again.

Monday, November 8

Some days I just feel blue. Like a dark cloud is over my heart. Not unlike overcast weather. Fortunately I often have the self-awareness to understand that, whether or not I know its origin, this is likely just a passing cloud, and the best way to weather it is to just take life on as a normal day, perhaps with an added dash of industriousness to stave off the natural slothitude that a funk brings on.

Just bought an mp3 on Amazon.com. Thanks, Bruce, for the pick-me-up.

I was just reading in The New Yorker about different ways that salaries are determined. I identified with having accepted the “authority ranking” or feudal model earlier in my career, when what I valued most was the opportunity to work, to serve and build and learn. Back when I still kind of hoped that wages were fair, that bosses valued the contribution of their employees. Back in 1999 this even seemed true: the startup I was working for noticed that I was kicking butt, and ramped my salary up by 20% after my first six months on the job, and again after a year . . . everything was noble and virtuous.

But nobility and virtue don’t often last. Recessions hit, money dries up, eager young employees burn themselves out and haven’t a clue what to do about it. Layoffs come . . . a decade later I have left for greener pastures as many times as I have been layed off. Welcome to the “market pricing” model of economic interaction.

I find some difficulty feeling passionate about being a market priced, employment-at-will agent. Just as sex feels better with someone you love than when you’re getting paid for it, so too does work. Fortunately, the current gig offers competetive compensation, likely stability, and the chance to relate to coworkers over several years. I guess that is as close to “married” one can get in our industry . . . and yet of course I keep my eye out for new opportunities.

And I frequently worry about getting too comfortable, getting a little flabby in the skill set because there is plenty of work I would have to do at a startup that is off-my-plate at a large company. Better attain depth where I needn’t worry over breadth, eh?

Thursday, November 11

I had a meeting today that I haven’t been looking forward to. Basically, I have spent most of my career at smaller companies, where I tend to have a lot more say over how we do things, and where the simple, obvious, light-weight solution will tend to carry the day. But at a large company, there are enough competing interests that the way we do things is often not up to me, and is far more complex and open to error (in my view) than how I would go about doing it.

Note an editorial bias, right? Of course I have a high opinion of my own way of solving a problem. Doesn’t mean my approach is the right one . . .

So, at the end of this meeting, I got McCoy in my head. “I’m just a simple country Doctor.” Well, I’m just a small-shop sysadmin, serving on a corporate flagship. I don’t really understand or approve of everything that is going on, but that isn’t my problem. I focus on getting my own job done and I am happy to give Captain Kirk a piece of my mind, but at the end of the day the Captain gets what the Captain asked for.

A Simple Country Doctor

Wednesday, November 17

From today’s work log:

Scout around a bit as to the advantages of managing system configuration
files in git. Git’s strength appears to be strong branch and merge
capabilities, working offline from the central repository, and the
capacity for fine-grained commits. Disadvantage is a steeper learning
curve. Anyway, we could potentially allow staff to grab a local branch
make several changes, review changes and reject those that proved
infeasible, then submit changes back to the central repository. Later,
a change management team could review differences between the central
repository and the stage / production repositories, then selectively
merge changes to the more stable environments in an appropriate manner.

I had lunch with Mei today at a Chinese place on Castro St in Mountain View. At the next table I overheard some guys talking about the size of the Oort Cloud if Earth were the size of a grain of sand . . . hard-core nerdy lunch conversation. I recounted that when I got off the light rail the other day I heard one guy explaining to another guy the theory behind anti-matter reactions that power the warp propulsion system in Star Trek. When you live here you live in the pulsing underbelly heart of nerd-dom. I kind of like it.

Thursday, November 18

My bicycle lights came in from Amazon.com and I tried them out yesterday on the ride to the light rail. (Between the weather and a recent injury I’m usually reluctant to ride all the way to work.) The front light was somewhat occluded by the basket so last night I moved it to a helmet mount, which required some careful trimming of a cross-member atop the helmet so the thing would fit, but nothing likely to compromise structural integrity.

Yesterday I also received my replacement G2. I got it up and running and it went and updated itself. It made a big todo about “wifi calling” which . . . uses minutes? Really? REALLY?! So, I’ll provide the bandwidth and you’ll charge me . . . but it also quietly enabled Tethering, via USB and WiFi. I’m using it now. I heard a rumor that T-Mobile was fixing to charge an extra fee for tethering. Hopefully though at the moment they’re content to charge customers to make telephone calls via their home wifi networks.

(Oh yeah, and I’m on the light rail at the moment, though updating a blog is hardly much of a test of tethering.)

I wish I wish that carriers would simply figure out a monetary equivalence between bandwidth and minutes, then just let me pay a transparent rate for what I use. Eventually I guess someone will drop the shenanigans and attract customers like me. As it is I’m miffed that I pay more per month for a calling plan I rarely use than I do for the data surcharge, which as far as I am concerned is the primary point of carrying around a location-aware pocket computer.

Telephone calls? Not my thing.

Later, I was looking at Google’s announcement regarding improved navigation UI. The improved transit overview is nice, but then I happened to request the bike route between work and home, and now that Google has caught on that the Bay Trail North of Moffett is open, it suggests that at the first choice, despite it taking ten minutes longer than more direct options. Anyway, it is nice to know now that my bicycle commute is 11.6 miles in 56 minutes. (I think it takes me a bit longer as I usually take a little break along the way.)

Bicycle Commute North of Moffett

Saturday, November 20

Learned some basic git, and used it for updating the web site.

Installation to more-current-version of git:

sudo yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel
git clone git://git.kernel.org/pub/scm/git/git.git
cd git
make
make install

(Update path to include $HOME/bin . . .)

Using git:

git init
git add .
git config user.email dannyman@toldme.com
git config user.name "Danny Howard"
git branch somefeature
git checkout somefeature

(Edit files . . . test . . .)

git diff
git add changed files
git commit
git checkout master
git merge somefeature
git branch -d somefeature
git log

The big thing being it is trivial to create branches and switch among them in your working directory. So, you can start working on some feature, put it on the shelf, work on a different feature, and basically submit only the changes you feel are baked back to the main line.

Feedback Welcome


Religion, Technical, Technology, Testimonials

Google Chrome: Not Being Evil

Link: https://dannyman.toldme.com/2010/11/11/google-chrome-not-being-evil/

I honestly believe that Google really does intend to not-be-evil. And though I know they screw up and have to deal with some grey areas, I put a lot of trust in Google with my personal data. Trust I wouldn’t put in Microsoft or Facebook.

Anyway, my faith in Google was recently re-affirmed when I fired up Google Chrome on a new box and was presented with this dialog:

If you’re not being evil, you make it trivial for users to switch to a different search engine. If you’re making an effort to really do right by the user, you ask them which search engine they prefer, rather than just defaulting them to your own.

This is classy.

3 Comments


About Me, Technical

Archetype

Link: https://dannyman.toldme.com/2010/10/15/archetype/

I have been featured as an archetype in today’s XKCD:

I actually hung a Manhattan bicycle map on the outside of my cubicle yesterday, while wearing cargo shorts. In a previous job I had framed poster maps of the London Tube and New York subway on my office walls. (They may even still be there . . .)

Feedback Welcome


FreeBSD, Linux, Mac OS X, Technical

Avoiding Concurrent Crons: Easy File Locking!

Link: https://dannyman.toldme.com/2010/09/20/lockf-flock-cron/

Old SysAdmin tip: keep your frequent-but-long-running cron jobs from running concurrently by adding some lightweight file locking to your cron entry. For example, if you have:

* 15 * * * /usr/local/bin/db-backup.sh

On FreeBSD you could use:

* 15 * * * /usr/bin/lockf -t 0 /tmp/db-backup.lock /usr/local/bin/db-backup.sh

Or on Linux:

* 15 * * * /usr/bin/flock -w 0 /tmp/db-backup.lock /usr/local/bin/db-backup.sh

Read up on the lockf or flock man pages before you go putting this in. This can be a bit tricky because these can also be system calls. Try “man 1 lockf” or the like to nail it down to the manual for the user-executable command.

1 Comment


Featured, Free Style, Technical, Technology

Blogger: The Internet’s Tacky Trailer Park

Link: https://dannyman.toldme.com/2010/08/31/blogger-the-internets-tacky-trailer-park/

In case you have ever wondered what I think of Google’s Blogger:

Seriously, Blogger has all the glitz and glamor of Geocities: it is the Internet’s tacky trailer park where people end up because they figure Google (or, in the old days, Yahoo!) must know something about managing blogs, but in reality it is just a neglected, wayward, red-headed stepchild from a former acquisition that one night that Larry Page got drunk after the company ski trip and woke up in Reno . . .

This from the “Blogger” forum after I had an issue posting a comment on one of their blogs.

I like to think they have gotten better over the years, but right now it looks like the way they handle errors is that they have replaced a vague, general error message with a series of codes, and if you feel really enterprising you may eventually learn that there’s a form somewhere where you can paste in details regarding the error code you encountered in to a Google spreadsheet. But no, linking the error display to the part where you describe how you provoked the error . . . that would be too obvious . . .

Yeah, anyway.

Feedback Welcome


About Me, Excerpts, Featured, Sundry, Technical, Technology

T-Mobile myTouch Slide 3G: How’s the Keyboard?

Link: https://dannyman.toldme.com/2010/07/13/i-like-to-type-on-my-smartphone/

I still fondly recall the nice rubber keyboard of my Sidekick 2. So nice, I was reluctant to “upgrade” to a G1, which has a nice enough keyboard. A few months back I got to spend some time with a Nexus One, which was really nice . . . but I just could not adjust to the on-screen keyboard. The on-screen keyboard has gotten very good for inputting addresses and short messages, but if you’re a compulsive typer like me you need an excellent physical keyboard.

So, I keep my eye out for an Android device with an excellent physical keyboard, and naturally I do a little research on this HTC “T-Mobile myTouch 3G Slide” . . . the name is truly awful, but it sounds like the keyboard shows promise. (It sounds like the physically-similar HTC “Touch Pro2” has an excellent keyboard, but I don’t want to run Windows on a mobile phone.)

So, in case, like me, you have wondered if the keyboard is any good, here is what various online reviews have had to say:

From http://www.intomobile.com/2010/06/14/review-t-mobile-mytouch-3g-slide-is-this-this-the-android-youre-looking-for/:

Of course, the main reason to get the myTouch Slide is for the full QWERTY keyboard. There are a few negatives but, overall, it’s an excellent way to bang out messages on the go. The shape of the keys are just right and the feedback and “clickability” make it easy to write long e-mails wherever you are. Hitting the secondary function or Caps lock key will bring up a handy light above the keyboard and I always appreciate dedicated comma and period buttons. There’s also pretty good auto-correction software with the keyboard so you don’t have to worry about throwing in apostrophes. The sliding mechanism produces a satisfying sound and it feels like it will hold up over time.

On the downside, I found the Tab button and A a little too close together and this led to multiple frustrating typos. What’s even worse is that the top row doubles as the number keys. This happens on many keyboards but usually you’ll have the letters and numbers a different color or font size to help you quickly find what you’re looking for. The myTouch Slide has “T5” “Y6” “I8” and others the exact same color and size, which can take some time to get used to. None of these quibbles are deal breakers though, as I was quickly able to get up to speed with my typing.

(The keyboard has four rows instead of five, and the top row reads “Q1 W2 E3 R4 T5 Y6 U7 I8 O9 P0” which looks dumb and would take some getting used to. Alas, the Touch Pro2 has five rows, like all the keyboards I am used to.)

From http://mobile.engadget.com/2010/06/01/t-mobile-mytouch-3g-slide-review/:

The keyboard is one of the best four-row designs we’ve used in recent memory (LG, seriously, take some pointers from this before you go releasing an Ally 2) with great feel, spacing, and clickiness — it’s readily apparent that HTC’s deep experience in making these kinds of keyboards is paying dividends. They’ve made room for all of the most important keys that you should be able to access without pressing Shift or Alt, notably the comma, period, and “@” symbol, plus you’ve got Home and Search keys and duplicated modifiers on the left and right sides. HTC aficionados will also be pleased to see that they’ve carried over the lit Shift and Alt symbols above the numeric row, which makes it super easy to see what character you’re about to press. It’s a nice touch.

From http://www.phonedog.com/2010/06/03/noah-s-mytouch-3g-slide-review/:

Keyboards are a very personal thing, and personally I love Slide’s QWERTY. While not quite as luscious as the Touch Pro2 on which it’s based, mT3G Slide’s thumbboard has been a joy to use save for some minor issues I have with the labels on the keys. Buttons on the keyboard are offset and isolated and have decent travel and solid tactile feel – in other words, its the exact opposite of the Moto Droid‘s flat grid of near motionless buttons, which I can’t stand. If you just read that sentence and wrote off the rest of my review because you love, love, love Droid’s QWERTY, then you may well hate Slide’s keyboard. Like I said, QWERTYs are a highly personal matter.

From http://www.mobileburn.com/review.jsp?Id=9572: “the keyboard has great feel, but is visually flawed.”

From http://www.mobilecrunch.com/2010/06/10/review-t-mobile-mytouch-3g-slide/: “who is this for? It’s for folks who miss their Sidekick and want a keyboard for messaging. The MyTouch 3G Slide’s processor won’t win the blue ribbon at the County Fair, but it is an impressive bit of cellphone.”

My verdict? I would want to try it out in the store, but it sounds like the keyboard would probably be “good enough” for me. That said, I think I will continue to hold out on upgrading for the following reasons:

Given that it may be either a hassle or an impossibility to upgrade my phone without paying more money each month, an expensive “upgrade” had better be worth it. The Slide sounds like it would be good enough as a new phone–a better alternative to the G1–but it has a few too many compromises to justify the cost of upgrade.

Feedback Welcome


Python, Technical

Python: List to English String

Link: https://dannyman.toldme.com/2010/06/30/python-list-comma-comma-and/

Well, I am working on extending a Django application to add log entries to the django.contrib.admin.models.LogEntry which may be fodder for another post, but while composing a change_message I wanted to convert a list of “changes” into a string like “Changed this thing, that thing, and that other thing.”

Here is what I have got, and since it is Python I bet $1 that someone will comment with a better way. (I couldn’t figure a good search query for seeking the answer so I had to use my brain.)

if len(updated_list) > 1:
    rs = "Changed " + ", ".join(map(str, updated_list[:-1])) + " and " + updated_list[-1] + "."
else:
    rs = "Changed " + updated_list[0] + "."

>>> updated_list = ['just one thing']
>>> print "Changed " + updated_list[0] + "."
Changed just one thing.
>>> updated_list = ['one thing', 'another thing']
>>> print "Changed " + ", ".join(map(str, updated_list[:-1])) + " and " + updated_list[-1] + "."
Changed one thing and another thing.
>>> updated_list = ['this thing', 'that thing', 'that other thing']
>>> print "Changed " + ", ".join(map(str, updated_list[:-1])) + " and " + updated_list[-1] + "."
Changed this thing, that thing and that other thing.

Feedback Welcome


FreeBSD, Linux, Sundry, Technical, WordPress

FAQ: Why is SSH into my server so slow?!

Link: https://dannyman.toldme.com/2010/06/05/fix-your-dns-with-google/

I have run in to this a zillion times. You SSH to a Unix server, type your password, and then wait a minute or two before you get the initial shell prompt, after which everything is reasonably zippy.

The short answer is “probably, something is wrong with DNS . . . your server is trying to look up your client but it can not, so it sits there for a couple of minutes until it times out, and then it lets you in.”

Yesterday I was working with an artist who had a hosting account, and when he got in, I said:

sudo vim /etc/resolv.conf

He admitted that he had just copied the DNS configuration from his previous server. How to fix this? Well, he could check what nameservers are provided by his current hosting company . . . . or, I changed his file to read:

nameserver 8.8.8.8

“What’s that, localhost?”

“It’s Google! Wherever you are, they’ll give you DNS.”

“Cool!!”

“Yes!!”

Feedback Welcome


Linux, Sundry, Technical

HOWTO: Add a Swapfile at Boot

Link: https://dannyman.toldme.com/2010/05/28/ubuntu-linux-add-swap-file-at-boot/

A while back I outfitted my personal workstation with 4GB of RAM. That’s plenty of memory and since disk space was tight I didn’t want to waste any on a swap partition, and I lived happily without swap for a very long time until I began using more virtualization. (I freed up space on my physical desk top by migrating my work environment from a laptop to a virtual machine on my personal workstation.)

I wrote a script to add a “temporary” swap file on demand but what I wanted was a swap file at boot. That actually turns out to be pretty simple. In this case, I just prepare the swap file:

FILE=/mnt/swapfile
SIZE=8388608 # 8 GB

dd if=/dev/zero of=$FILE bs=1024 count=$SIZE
mkswap $FILE $SIZE
swapon $FILE
swapon -s

Then, to make it stick, add this line to /etc/fstab just as you would for a swap partition:

/mnt/swapfile none swap sw 0 0

This is a win for the Unix everything-is-a-file philosophy.

See Also: Ubuntu Community Swap FAQ

3 Comments


Linux, Sundry, Technical, WordPress

Rackspace Cloud Server: Crude Performance Tuning

Link: https://dannyman.toldme.com/2010/05/20/rackspace-cloud-server-crude-performance-tuning/

I recently migrated this web site to a virtual server at the Rackspace Cloud. I started with the cheapest, 256M slice, but after hitting some performance issues really quickly, I figured that the extra $10/month to grow the slice to 512M was worthwhile. Even so, I don’t think MySQL and Apache are tuned, out-of-the-box, for such “small” systems.

I am running WordPress, a PHP application, on Apache and MySQL, running on CentOS. I am using Munin to track the system health. Since MySQL performance tuning can be extremely complicated I have focussed my initial efforts on Apache.

So, the memory graph would ideally top out at 512MB, but in practice, the system and programs allocate excess memory they rarely touch, and that gets paged out to swap. It is when the swap activity gets high that system performance goes to heck. A spike in system load is a good symptom of possible performance issues.


When things went bad on Wednesday, I tuned Apache down somewhat from the defaults and then enabled the Apache status page, and told Munin to go ahead and graph that. I am new to Munin, but Slicehost has some excellent articles on installing and configuring it in my environment.

This morning Munin sent me e-mail that it was having trouble collecting data, so I took a look, and reset performance values for Apache based on the above graph:

<IfModule prefork.c>
StartServers      6
MinSpareServers   3
MaxSpareServers  12
ServerLimit      15
MaxClients       15
MaxRequestsPerChild  4000
</IfModule>

Hopefully, this will hold. I would love to audit the system memory use in greater detail to allow Apache some greater flexibility, but in the interests of achieving a stable system quickly, this will hopefully prove to be a good strategy.

Feedback Welcome


Technical

HOWTO: Disable “sidebar” in Ubuntu’s mutt-patched Package

Link: https://dannyman.toldme.com/2010/05/19/ubuntu-mutt-patched-disable-sidebar/

Yes, I still use mutt. The killer feature it has over Gmail is that I can go through my old messages in forward-chronological order. That and I don’t have to hack my web browsers to display plain text messages in a monospace font. But, in order to use mutt with all the latest and greatest patches, I had to apt-get install mutt-patched.

It is convenient that they maintain a package with all the patches. Unfortunately, when I fired up mutt it had this ugly left-pane, like it wanted to be Outlook or something? So, I did a little research and tracked the sidebar to its source:

Unfortunately, though, mutt lacks an important feature that most email clients do have: a folder list that allows you to see all mail folders you have and how many (new) emails they each contain.

One person’s important feature is another person’s nuisance, but further down the page I found the config to turn the thing off:

set sidebar_visible=no

4 Comments


About Me, Featured, Technical, Technology

Password Management

Link: https://dannyman.toldme.com/2010/05/10/password-manager-solution/

To a discussion as to preferred password manager solutions, I added the following:

I developed a simple algorithm I use to generate passwords using my brain. I have changed this algorithm a little a few times. At the most basic level, something like this would be you like to use the password “frog” . . . but then add the first two letters of the web site name: Yahoo -> frogya, Google -> froggo.

The benefits of this “password manager” are that as long as your brain functions appropriately, you will always have platform-independent access to your passwords. If any given password is compromised it is non-obvious to an attacker what your other passwords are.

The main drawback to this password manager is that different password policies are mutually exclusive: one site requires a special character, another site prohibits special characters.

I use a different algorithm for more complex passwords for important stuff like ssh keys and unix logins.

Feedback Welcome


Linux, Technical

Ubuntu: Re-install All Packages

Link: https://dannyman.toldme.com/2010/05/05/ubuntu-reinstall-all-packages/

After some transient disk issues I was stuck with an Ubuntu VMWare image that was brain dead. I figured I would give the install CD a chance to fix but the Ubuntu install CD doesn’t have a fix-it option. (Really?!) Since the issue was somewhere in how Gnome and X were configured, I launched an xterm session and managed this command:

dpkg --get-selections \* | awk '{print $1}' | xargs -l1 aptitude reinstall

What that does is get a list of all packages installed on a system, then invoke “reinstall” for each package. It took a few hours to run.

The Ubuntu forums had a recipe using some more straightforward Debian incantation, but that didn’t work for me.

7 Comments


About Me, Featured, News and Reaction, Sundry, Technical, Technology, Testimonials

Why I Am Deleting my Facebook Account

Link: https://dannyman.toldme.com/2010/05/05/so-long-facebook/

You remember how everyone was on Friendster? And then, Friendster was too slow, and everyone lost interest?

Then we were all on Orkut? But it turned out the guy just stole the code from somewhere else and it got boring pretty quickly, too.

Then there was Tribe.net, but I never signed up for that.

Then there was MySpace, and suddenly you could pretty much do anything with your profile, hook in doo-dads and gewgaws and blinky backgrounds? Well, I dipped my toes in that trainwreck but yeah . . . old news.

And then Facebook came along, which only stole the idea from someone else, and not the actual code. It was fast and scaleable like Orkut, and it had applications and stuff so you could have the flexibility of MySpace but within a controlled environment. Boy that thing took off!! But, Facebook was still missing a critical ingredient: you can not trust them.

So, I figured I would get ahead of the curve on this one. They keep revising their rules and re-jiggering things to make it harder and harder for people to keep their information private. Eventually enough people are going to be spooked at that. I tried to re-re-re-re-review my privacy options and look at taking out most of my profile information but they made it enough of a pain in the ass. Eventually I used Google to find the option where you can just delete your account, which, in true Facebook style, takes two weeks. Anyway, in another week and a half, I will have vanished.

If I change my mind someday I can sign up all over again. Despite the hooplah, though, I think there is a very good chance that lots of folks will move on in the near future. Either some kind of open-standard, or maybe a comparable platform run by a company that regards trustworthiness as a central ethic. (Speaking of which, you can stalk me on Google.)

1 Comment


Technical

Tracking the Value of Automation

Link: https://dannyman.toldme.com/2010/02/20/tracking-the-value-of-automation/

Cfengine is an tool used by Systems Administrators to automate the configuration and management of multiple systems. I have mixed feelings about cfengine because it strikes me as overly complex, and there are alternative tools available, but the basic idea of automating systems administration is sound.

Of course, it can take a lot of effort to automate processes, and it takes effort to bring in an automation framework like cfengine to facilitate automation. (Like I said, cfengine is complicated.) Is it worthwhile? More importantly, how do you convince management?

This bit of cfengine propaganda about a new cfengine feature got me thinking:

The value_kept, value_repaired, value_notkept settings fall under cfengine transaction logging and allow administrators to attach actual monetary (or other) values to promises kept, or issues repaired, or conversely measure the loss of non-compliance in dollar terms (choose your currency). This value is summed and recorded for each execution of Cfengine, and can be turned into graphs for your management reports.

“If you combine this with system performance data, and other reports from Cfengine, you begin to build up a pretty compelling case for IT services value. Hopefully this will give skilled system administrators the leverage they need to advance in the view of the more removed managerial levels, guarding the purse strings,” says Mark Burgess, author and company founder of Cfengine.

This is a clever idea, and one that strengthens the case for getting staff to record the time required to complete trouble tickets: if it takes two days of effort to automate a five-minute process then you “break even” on the investment after the process is run 320 times.

More importantly, these cfengine bits are focussed on “business value” . . . a given process may mean five minutes of effort to a SysAdmin, but it may mean a great deal to the user depending on that process. Putting a business value on a process can be tricky to do, but if you figure that a five minute procedure is blocking an engineer from getting work done, and it takes, on average, an hour for the request to be fulfilled, then the business value of automating the process pays off after 16 runs. (More or less, depending on the “value” of the users’ time versus the “value” of the usually-Senior SysAdmin doing the automation.)

Anyway, to the extent that you can put a value on any given process, you can record the value of the expensive process of automation, and help prioritize automation efforts. The greater “return on investment” can be shown for task automation, the greater your case to management for investing time and resources into automation. (Or, it is easier to identify and explain those things not worth automating. A difficult-to-automate one-hour process with low business value that runs once a month may very clearly not be worth the effort.)

1 Comment

« Newer Stuff . . . Older Stuff »
Site Archive