Archive | Linux

13 December 2011 ~ Comments Off

Which Linux distribution for a MySQL server?

I was pleased to read this link on the excellent MySQL Performance Blog.

Continue Reading

22 August 2011 ~ Comments Off

Using Jenkins as a Cron Server

There are a number of problems with cron which cause lots of grief for system administrators with big ones being manageability, cron-spam and auditability. To fix some of these issues I have lately started using Jenkins. Jenkins is an open source Continuous Integration server it has lots of features that make it a great cron [...]

Continue Reading

22 August 2011 ~ Comments Off

Using Jenkins as a Cron Server

There are a number of problems with cron which cause lots of grief for system administrators with big ones being manageability, cron-spam and auditability. To fix some of these issues I have lately started using Jenkins. Jenkins is an open source Continuous Integration server it has lots of features that make it a great cron [...]

Continue Reading

23 June 2011 ~ Comments Off

Command-line cookbook dependency solving with knife exec

Imagine you have a fairly complicated infrastructre with a large number of nodes and roles. Suppose you have a requirement to take one of the nodes and rebuild it in an entirely new network, perhaps even for a completely different organization. …

Continue Reading

14 June 2011 ~ Comments Off

Fixing the Ubuntu “Unable to locate tools.jar” Error

When trying to use ant on Ubuntu (in either 10.04 or 10.10), I get the following error: Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar Turns out the fix is quite simple: Edit /etc/apt/sources.list, find the lines similar to the following and uncomment them (obviously 10.04 will have lucid instead of maverick): deb [...]

Continue Reading

17 May 2011 ~ Comments Off

Updating Dell iDRAC6 firmware on linux

Here are two ways to update the firmware on Dell iDRAC6 remote access cards. Both methods require downloading the BIOS from Dell and extracting it from the bundle. For example, this is the 1.70.21 firmware: mkdir /tmp/dell cd /tmp/dell wget http://ftp.dell.com/esm/IDRAC6_FRMW_LX_R299265.BIN Grab this and extract like this: cd /tmp/dell sh IDRAC6_FRMW_LX_R299265.BIN –extract ./idrac6-1.70.21 The firmware [...]

Continue Reading

03 May 2011 ~ Comments Off

Rebalancing Ganeti Clusters

One of the best features of Ganeti is its ability to grow linearly by adding new servers easily. We recently purchased a new server to expand our ever growing production cluster and needed to rebalance cluster. Adding and expanding the cluster consisted of the following steps: Installing the base OS on the new node Adding [...]

Continue Reading

17 April 2011 ~ Comments Off

Facebook Prineville Datacenter

Along with the rest of the OSU Open Source Lab crew (including students), I was invited to the grand opening of Facebook’s new datacenter yesterday in Prineville, Oregon. We were lucky enough to get a private tour by Facebook’s Senior Open Source Manager, David Recordon. I was very impressed with the facility on many levels. [...]

Continue Reading

15 April 2011 ~ Comments Off

Length limit to iptables chain names

I  ran into an odd issue today – my firewall build script was failing on our account master node. It turns out that I was trying to use a chain name in iptables that exceeded the maximum length allowed. I wanted to use "REMOTE_ACCOUNT_SLAV ES_ASHEVILLE" (31 chars) and the limit is 30 chars. You can [...]

Continue Reading

14 April 2011 ~ Comments Off

Nginx and why you should be running it instead of, or at least in front of Apache

After 9 years of development, Nginx hit a milestone release this week when version 1.0.0 was released (on 12th April 2011). Despite only now reaching a 1.0 release, it is already in widespread use, powering a lot of high traffic websites and CDN’s and is very popular with developers in particular. With such a milestone [...]

Continue Reading