Ansible vs Puppet – reasons for choosing Ansible

We have been using both Puppet and Ansible to configure our servers for several months. I have come to really love Ansible and I wanted to put down my reasons for finally choosing Ansible over Puppet. Reason 1: Ansible is decentralised. With Puppet you need to maintain a central configuration server and install a Puppet … Read more

How to install qpress on Ubuntu

Qpress is a fast compression tool. It isn’t in the Ubuntu repositories but it very easy to install. Download it from the website: http://www.quicklz.com/ You will notice that there is a download link near the bottom of the page for Linux 64 bit. Copy the binary to /usr/bin/qpress . To make it owned by root … Read more

Percona apt_key download link

I’ve just been setting up Ansible and needed to find a download of the Percona RPM GPG APT-KEY so that I could use the apt_key module. You can download the Percona apt-key here: http://www.percona.com/redir/downloads/RPM-GPG-KEY-percona With Ansible you can add this key to a server via the play:

How to recover a qcow2 file using fsck

I just upgrade Ubuntu on one of my virtual machines and for some reason the file system was corrupted after I rebooted the server. I got errors like: ext4-fs error ext4_lookup deleted inode referenced Great. Here is how I fixed the problem. I found the solution was to attach the qcow2 file as a device … Read more

KVM: Host CPU does not provide required features

I just exported / copied a virtual machine from one of our servers (a HP Proliant) to my laptop so that I could to mess around with it offline. I used the following commands to export the domain. On the server: On the laptop: However, I got this error on the laptop: error: unsupported configuration: … Read more

Ubuntu 13.04 – kvm binary is deprecated?

I was trying to setup a KVM host with some KVM virtual machines on Ubuntu 13.04 Server.  It was a fresh install on a HP DL360.  However, there seemed to be a fundamental problem with KVM / virsh / virt-install. When trying to install a virtual machine using virt-install with this command. I get this … Read more