Mapping applications to VMs

I use XEN in RedHat linux (CentOS) for our QA environment. Within each XEN server I might have 20 – 30 servers. There are three XEN servers per QA environment, three QA environments.… Read More

one year ago…

I love you and I miss you Ashley Lyn. Born 2 July 1986, passed away 3 Jan 2011. I think no matter how much time passes I will not believe you are not… Read More

resolving yaml error in puppet

The error was: 246 – 9:08 info: Loading fact tmpfact err: Could not retrieve catalog: Could not parse YAML data for node p2-1.cc.net: syntax error on line 64, col 0: `time: 2011-07-31 01:52:21.901522… Read More

combining pdf files into one

I scanned a book I wanted to read on the go (and that was not available as an electronic version). I used vuescan and an Epson V750 Pro scanner. It was tedious. Especially… Read More

finding the largest files within a directory

I was shown this maybe my second day on my first job with the title “System Admin”. It worked on Solaris 2.4, and has continued to be useful through AIX, HPUNIX, Red Hat,… Read More

removing older files with find

find . -mtime +7 -exec rm {} \; This finds and deletes files with a modified time exceeding 7 days… Every once in a while this becomes hugely necessary in pruning older logfiles,… Read More

reading out the history of a file under svn

I found this code on the web a year or so ago – I ran into a situation where I needed to look through change on a file kept in version control in… Read More

wordpress code snippet plugin

I had a perl script code snippet I wanted to put in a post. I tried the <pre> tag, the <code> tag, nothing would work, so I gave up and moved it into… Read More

Change the time cron.daily runs

I’ve had many environments where we get alerts or strange behavior at or about 4 AM – the time that linux’s cron.daily runs by default. You can change that 4 AM time –… Read More

transfer moinmoin wiki to mediawiki

I switched from Moin Moin wiki to Mediawiki for system admin notes. Moin Moin is file-based and the search function failed to return results after I got up into the thousands of entries.… Read More