Smoothwall Firewall project

Thursday, 11 June 2009

Getting a Jumpbox VM to work with Redhat EL 5 64 bit

If you use virtualization a lot , then I'm sure you will have come across a great company that offers a whole range of pre-built open source virtual images. That company is Jumpbox. I have used several of their images with great success, and the time to deploy is extremely quick, especially with VMware ESX or VMware server.

On this occasion though I wanted to get a moinmoin wiki going on a 64bit Redhat Xen server, and the default install script supplied with the images is for 32bit systems. It fails, telling you it can't find qemu, which is true as it won't given the default script. Also note that you must have hardware virtualization switched on in the BIOS to get these images to work on 32 or 64 bit systems.

You have to make a minor change to one part of the config file, JumpBox.xen , simply because this is where RH put the 64bit version of qemu.

Here is the section that needs changing.

devfiles = [
'/usr/lib/xen/bin/qemu-dm',
'/usr/lib/xen-ioemu-3.0/bin/qemu-dm'
]

I changed the line '/usr/lib/xen/bin/qemu-dm' to '/usr/lib64/xen/bin/qemu-dm'

You then use the start script "xm create -c JumpBox.xen", and the virtual machine is then visible in the virtual manager on the host server.

No comments: