Entries written in May 2009

Written May 19, 2009 in php

Matthew Weier-O’Phinney uploaded the slides from a presentation on using version control (Specifically, Subversion) aimed at new developers. If you don’t already use some form of version control (svn, git, bzr, or god forbid cvs), you should.

Continue Reading »

Written May 15, 2009 in sysadmin

As a sysadmin who’s been getting into clustered virtualized hardware stuff, I’m unbelievably jealous of Wolfram Alpha’s custom Dell hardware (note: Youtube video with horrible music, I suggest hitting mute) — it’s a 2u, quad-board, dual-socket, quad-core system. You fit four servers into 2U of space. It’s essentially one …

Continue Reading »

Written May 13, 2009 in php

Redis is an interesting database project that reminds me a bit of a low-cost-of-entry hadoop/couchDB/simpleDB. “MySQL is to Oracle as Redis is to couchDB.”

It’s a simple key/value database that keeps everything in RAM but writes to disk occasionally, sort of the way MySQL works but without …

Continue Reading »

Written May 13, 2009 in linux

If you’re running a cluster environment with shared resources, you need to have STONITH or some sort of fencing running.

A cluster is a complicated beast. It’s a community of machines that makes decisions. The decisions can be simple and only affect the cluster (i.e. which service runs where and …

Continue Reading »

Written May 11, 2009 in linux, sysadmin

You can always use LSB scripts (/etc/init.d) with pacemaker, but it’s better to make them osb-compliant

Continue Reading »

Written May 10, 2009 in linux, sysadmin

Seeing this error message in /var/log/xen/xend.log?

ERROR (SrvDaemon:347) Exception starting xend (no
element found: line 1, column 0)

You’ve got a corrupt xen status base. Go under /var/lib/xend/ and remove any xml files under any of those directories. Don’t delete the directories or sockets themselves.

I had this happen after a …

Continue Reading »

Written May 7, 2009 in linux, sysadmin

I had a weirdness happen as I was feeling my way through this node configuration with crm (pacemaker) 1.0.3.

It turns out that as I configured my resources and created locations and constraints, the crm created a bunch of lrm_resource (location resource manager) objects in the xml cib. You can’t …

Continue Reading »

Written May 6, 2009 in linux, sysadmin

With the new email features in the most recent crm_mon daemon, it shouldn’t be too difficult to get a service set up so that Nagios will alert us when a stonith event happens, and maybe even some details about why.

It’ll take much longer for me to decide on …

Continue Reading »

Written May 5, 2009 in howto, linux

With Dell kit of 1950/860 and newer, I’m using the built in IPMI-over-LAN in the BIOS for stonith instead of messing with DRAC5 or more complicated means. It’s easy to configure on it’s own IP and it just plain works.

First, a security note with people who have their machines …

Continue Reading »

Written May 4, 2009 in linux, sysadmin

Random notes … It’s nice to have manuals, but maybe these will help someone.

  • Hmn, you should probably add rules to keep the stonith service for a node off of it. It’ll probably also save time if you set it’s failcount low.
  • stonith is fun. BOOM, HEADSHOT!
  • For some reason, monitoring a

Continue Reading »