Everything is a Freaking DNS problem

Devops Needs Sushi

Kvm

Converting KVM to VirtualBox

I have had most of my test environment, aka puppetmasters, test mysql setups etc running in KVM for the past couple of years .. (yes I`m still using a lot of Xen in production environments, but we’ve also been using KVM for a while already .. it’s a good mix) , Virtual box has always been the lesser loved Virtualization platform , however while playing more and more with Vagrant Up I realized I needed to convirt some boxen (e.g my PuppetMaster) to Virtualbox, and google was really no good help(most people seem to go the other way , or want to use some proprietary tools )

Disabling DHCP on a LibVirt setup

So you have this libvirt setup and you want to have a dhcp server on the virtual machines you are playing with , or you want to have all static IP’s.

Libvirt uses dnsmasq to provide dhcp services etc and when you generate a config from the gui it will look like\

1. <network>
2. <name>piponet</name>
3. <uuid>e87d3bf1-a2e7-96ca-e131-7ae51ac033f9</uuid>
4. <bridge name='virbr2' stp='on' delay='0' />
5. <ip address='192.168.100.1' netmask='255.255.255.0'>
6. <dhcp>
7. <range start='192.168.100.128' end='192.168.100.254' />
8. </dhcp>
9. </ip>
10. </network>

If you fully remove the dhcp section, then restart libvirt you’ll notice dnsmasq running with no dhcpd on that subnet so you’ll have full control again :)

KVM vs Virtualbox

So you need that old FC9 instance on your fresh F11 install.

Obviously I started a KVM instance on my desktop and installed FC9 in a Virtual Machine,
It took long to install, too long, so I looked if KVM was working correctly
Kvm was loaded but not in use ..
And then you remember why you had VirtualBox on that machine before it’s upgrade . indeed, this machine was to old it was not a VT Capable machine . VirtualBox performs much better there ..

Webbased Administration Interfaces

Dear Hardware / Appliance and any other kind of being that creates web interfaces to manage devices remotely. Pleaze keep in mind that plenty of these kind of machines are being managed from behind a ssh tunnel so people often connect to them using http://localhost:8080/ where 8080 locally is mapped e.g. via ssh to the port 80 on the remote port.

If your application does anything closely to rewriting the localhost:8080 part to localhost it will fail and I as a potential purchaser of your device wil vote against buying your stuff.
(This is specifically annoying if I want to tunnel 16 KVM/IP boxen to my localhost 8001:8016)

UKUUG Spring 2009 Conference , here we come

I`ll be heading to bed early today as tomorrow will be a busy day. I have to get up early to catch my flight to London where
Tom and I will be representing Inuits at the UKUUG 2009 Spring Conference.

Tom will be giving an updated version of our Open Source Monitoring Shootout talk again, I`ll probably be skipping a couple of his slides as right after that Jane Curry will be covering Zenoss in depth and on thursday there will be an OpenNMS talk too.