Monthly Archives

December 2008

Not at one with XEN.

So, I’ve spent the last few weeks setting up (READ: FIGHTING WITH) Xen-Source on a server we have here.

It took me a few days to get my distro of choice installed on the HP DL380, given that (as of writing) etch isn’t a directly installable distribution. I eventually figured out that to get the damn thing running, you have to download the Deb 3.1 install cd hidden away on the HP site, install the server from that. At that point, it was an upgrade to Etch via aptitude, THEN an upgrade to Xen also via the repositories.

After doing all the necessary tweeking, it was time to build a DomU, so first off a Deb Etch ‘test’ machine. That took me a good couple of hours to note that because we were behind a proxy, each time we wanted to use the image scripts, I had to do the export_proxy=http://…. command.
After this all was well.

So now we get to the main gist of my post. Virtualised Windows. Ghaaa….
Starting off with XP for a test image, its taken me about 4hrs of looking around, perseverence and banging my head against the wall to get the damn thing booting. First of all the config. This took a while to even get the damn thing to boot without crashing (and using VNC to allow remote control). This is the config I ended up with:-

import os, re
arch = os.uname()[4]
if’64’, arch):
arch_libdir = ‘lib64’
arch_libdir = ‘lib’

kernel = “/usr/lib/xen-3.0.3-1/boot/hvmloader”
device_model = ‘/usr/lib/xen-3.0.3-1/bin/qemu-dm’
builder = ‘hvm’
memory = ‘512’

name = “XenXP1”
vif = [ ‘type=ioemu, bridge=xenbr0’ ]

disk = [ ‘phy:/dev/fs1/Win2003_TST,ioemu:hda,w’, ‘file:/etc/xen/isos/win/xp/XP_SP2.ISO,hdc:cdrom,r’,]

vncpasswd = “apassword”
acpi = 1
apic = 0


on_reboot = ‘destroy’

Which would at least allow me to boot into the blue windows installer. However, once that had run through, it would just sit there with a black screen doing nothing else (although xm list still had a status of running). I eventually stumbled on this page which had the solution! Force Windows to install as a standard machine. This has now got me to the GUI with 34 minutes to run. Fingers x’d thats the solution.

Hello and Welcome!

OK, so 3.2.1. We’re go. The company that I work for decided last year to take a dip into the murky waters of this crazy Web 2.0 world by offering a more ‘dynamic’ intranet.

So, why this blog? Well, its the current ‘in-thing’ to be able to communicate out musings, ramblings and rants in a free flowing nature. Its my intention to jot down any interesting news, views, discussions that I happen upon. I shall also try to be as unrestrictive with information as possible, but I do have to respect peoples privacy and security, so unless permission is expressly given, names and contact details will be witheld to protect the guilty (or innocent). This blog will feature ‘selected’ highlights that go on my corporate blog, but do not contain sensitive nature.

I am not a professional writer, so I will apologise in advance for SPAG mistakes, but this is supposed to be relativly free-flowing anyway. As per most blogs, feel free to leave your comments (work safe please!).