Waiting for networking using PowerShell

Sun 04 November 2012 by Lars Kellogg-Stedman Tags powershell networking windows

I've recently been exploring the world of Windows scripting, and I ran into a small problem: I was running a script at system startup, and the script was running before the network interface (which was using DHCP) was configured.

There are a number of common solutions proposed to this problem …

read more

Growing a filesystem on a virtual disk

Wed 24 October 2012 by Lars Kellogg-Stedman Tags virtualization kvm storage

Occasionally we will deploy a virtual instance into our KVM infrastructure and realize after the fact that we need more local disk space available. This is the process we use to expand the disk image. This process assumes the following:

  • You're using legacy disk partitions. The process for LVM is …
read more

Parsing XML with Awk

Mon 10 September 2012 by Lars Kellogg-Stedman Tags awk xml

Recently, changes from the xmlgawk project have been integrated into GNU awk, and xmlgawk has been renamed to gawkextlib. With both a recent (post-4.0.70) gawk and gawkextlib built and installed correctly, you can write simple XML parsing scripts using gawk.

For example, let's say you would like to …

read more

Markdown in your Email

Thu 09 August 2012 by Lars Kellogg-Stedman

I really like Markdown, a minimal markup language designed to be readable as plain text that can be rendered into structurally valid HTML. Markdown is already used on sites such as GitHub and all the StackExchange sites.

I use Markdown often enough that it's become ingrained in my fingers, to …

read more

Chasing OpenStack idle connection timeouts

Mon 30 July 2012 by Lars Kellogg-Stedman Tags openstack networking

The original problem

I've recently spent some time working on an OpenStack deployment. I ran into a problem in which the compute service would frequently stop communicating with the AMQP message broker (qpidd).

In order to gather some data on the problem, I ran the following simple test:

  • Wait n …
read more