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.
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.
I took some photos while waiting for a flight from Narita.
I installed the latest kernel and
$ echo "sys-kernel/gentoo-sources ~amd64" >> /etc/portage/package.keywords $ emerge -av =gentoo-sources-2.6.33
rebuilt with the following options added.
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.
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.
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.
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
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
After looking at some of the cool features of rails 2.3.2 (like rack integeration) and its claimed compatibility with ruby 1.9.1 I decided to port typo blog 5.3.x from rails 2.2.2. This blog is running on the result of that effort.
I finished the initial port a bit over a month ago but couldn’t deploy it till I updated the varnish_plugin.