Index of /log/2007/Apr

Me

Categories

Archives

2008-May
2008-Apr
2007-Dec
2007-Nov
2007-Oct
2007-Sep
2007-Jul
2007-Jun
2007-May
2007-Apr
2007-Feb
2007-Jan
2006-Dec
2006-Nov
2006-Oct
2006-Sep
2006-Aug
2006-Jul
2006-Jun
2006-May
2006-Apr
2006-Mar
2006-Feb
2006-Jan
2005-Dec
2005-Nov
2005-Oct
2005-Sep
2005-Aug

Sun, 29 Apr 2007

Going Virtual

I got the replacement for my slow, old 1U server this week. It has loads of disk space (about 960GB), 4GB of RAM, and a Core 2 Duo CPU with the Intel virtualisation extensions. So I installed Ubuntu 7.04 (server edition), and started playing around with kvm.

Ubuntu 7.04 has all the bits you need for virtualization available. Just load the kernel modules, install the 'kvm' package, and you can start installing your virtual machines. As the VNC server inside kvm still likes to crash at unexpected moments, and I wasn't going to forward my X display just to give kvm a place to show VGA output, I had to convince the Ubuntu installer to use the serial console. This isn't as easy as I had hoped it to be (the boot menu on the installation CD requires using the 'normal' console—something I was trying to avoid).

After looking around for a while, I found the Ubuntu network installation files. These contain a special 'serial console' version, which meant I could finally install the guests using PXE. I now have two virtual machines running Ubuntu 6.06.1 on my Ubuntu 7.04 installation, and I still have room for more.

The only problem I have left is starting the kvm instances when the host system starts. I currently use screen and a few shell scripts and start them manually, but I'm thinking of creating an /etc/event.d entry. Does anyone have a better idea?

Wed, 11 Apr 2007

Laptop running hot?

If your laptop seems to be running hot lately, and it's eating lots of battery power, you might have some old cpufreq settings for gnome-power-manager in gconf. You can reset them to their (new) default values by running the following commands:

gconftool-2 -u /apps/gnome-power-manager/cpufreq_ac_policy
gconftool-2 -u /apps/gnome-power-manager/cpufreq_battery_policy

This brought the temperature of my laptop down, so the fan isn't running all day anymore, and as a side-effect, my battery doesn't give up after an hour anymore after an hour of doing almost nothing (I get the proper 2-3 hours out of it now).

foodfight.org index


Creative Commons Licentie Op dit werk is een Creative Commons Licentie van toepassing.