Edward’s Notes

Technical topics and photos.

Test and Deploy Wakame VDC With Chef

This post covers the steps of setting up and testing wakame-vdc using packer, chef and test-kitchen with various frameworks. The development environment is Gentoo Linux but wakame-vdc is being deployed to CentOS 6.4 kvm instances. I will be using the vagrant-libvirt plugin described in my previous article “Vagrant-libvirt on Gentoo Linux”. Some of the setup steps are covered in the previous article but have been included here for completeness.

Vagrant-libvirt on Gentoo Linux

This post covers setting up a vagrant to use the libvirt plugin to run hardware accelerated virtual machines under Gentoo Linux. We will explaint how to create machine images for running on vagrant. I will cover setting up and using ChefDK and test-kitchen in a later post.

God Process Monitor 0.8.0 Major Improvement

God is a ruby based process monitor that has a reputation for leaking memory and hogging system resources. I have been considering replacing God with monit for some time. A couple of days ago I noticed a retweet by John Mettraux about a ruby debugging presentation by Aman Gupta. The presentation covers various debugging tools and gives a number of examples, including Eric Lindvall’s work debugging the God process monitor (slide 41). Obviously I had to try it and the following is my experience.

Changing Hard Drives

I spent the weekend switching the RAID1 array of 1TB Seagate® Barracuda® 7200.11 drives on my server with the newer 1TB Seagate® Barracuda® 7200.12 RAID1 array in my workstation. There was an LVM volume group called raid1 running on top of each raid array. I had some problems because I forgot to remove the raid superblock from the first drives before adding them into the new machine, which resulted in a duplicate raid1 volume group. The following is the process I used to transfer the drives and how I resulted the duplicate volume group problem.

Creating Panoramic Photos With Hugin

While on holidays in Australia I took a number of photo sequences to see if I could stitch them together into panoramic images. I used Hugins1, which is a cross platform application, to stitch the photos together. The basic steps are given in a hugin tutorial2. The following is the sequence of images used to generate a panoramic image.

Long Exposure Drive

These are photos taken with a low shutter speed while driving at night. I like them because they capture the passing of time without any distracting details.

  • STILL BEING PORTING FROM PUBLIFY

Typo on Rails 2.3.3 Makes It Into Mainline

Frédéric de Villamil committed my rails 2.3.3 patches to HEAD1 last night. Frédéric had an interesting post2 on there plans to re-factoring typo. The 2.3.3 patches have reduced the memory usage quite a lot. Once I have rebased this blogs varnish patches to the new HEAD I am going to look at getting typo running on ruby 1.9.1