A second look at Arch Linux

Fri 25 January 2013 by Lars Kellogg-Stedman

This is a followup to an earlier post about Arch Linux.

I've since spent a little more time working with Arch, and these are the things I like:

  • The base system is very small and has a very short boot time. I replaced Ubuntu on my old Eee PC with …

read more

Parsing Libvirt XML with xmllint

Fri 21 December 2012 by Lars Kellogg-Stedman

I've been playing around with the LXC support in libvirt recently, and I'm trying to use a model where each LXC instance is backed by a dedicated LVM volume. This means that the process of starting an instance is:

  • mount the instance root filesystem if necessary
  • start the instance

It's …

read more

Getting the IP address of a libvirt domain

Sat 15 December 2012 by Lars Kellogg-Stedman

If you are starting virtual machines via libvirt, and you have attached them to the default network, there is a very simple method you can use to determine the address assigned to your running instance:

  • Libvirt runs dnsmasq for the default network, and saves leases in a local file (/var …
read more

A first look at Arch Linux

Mon 10 December 2012 by Lars Kellogg-Stedman

I decided to take a look at Arch Linux this evening. It's an interesting idea, but has a long way to go:

  • The installer configured the wrong root= command line into my syslinux configuration, resulting in a system that wouldn't boot.

Update: As far as I can tell, the syslinux-install_update …

read more

Service discovery in the cloud using Avahi

Tue 27 November 2012 by Lars Kellogg-Stedman

I'm been writing a provisioning tool for OpenStack recently, and I've put together a demo configuration that installs a simple cluster consisting of three backend nodes and a front-end http proxy. I needed a way for the backend servers to discover the ip address of the frontend server. Since in …

read more