Category: XEN

List of XEN Virtualization tips and tricks

Linux, XEN

Xen routed ext/int(virtual private) networking at Hetzner under Debian Lenny/Squeeze 64 Bit

At Hetzner(Germany) you can rent quite hot machines for a very good price. But what happens when you want to set-up multiple Xen virtual machines? You might get into trouble unless you follow these instructions. They are probably not the only solution for a well working xen machines farm but this one worked well for me.

XEN

Create a (bridged) VLAN for Xen Virtual Machines

To create a virtual private LAN which allows to communicate between Xen virtual machines (DOMx) via eth1 including the DOM0(dummy0), follow these instructions. This will create a bridge in xen DOM0 and a new interface(eth1) in the DOMx (in our case ‘vsystem1’). NOTE: This method implies that the eth0 is also bridged. In case you …

XEN

Troubleshooting no root login possible from Xen console

If you can’t login as root from the Xen console on a DomU then do the following: – stop the DomU – Mounted it on a directory through loop mount -o loop,rw /where/my/DomU/image.is /mnt/domu/ – chroot to it chroot /mnt/domu/ – Install the udev package. (it complains at the end..but no worry) apt-get install udev …

Linux, XEN

chroot inside xen VM VDSO problem

If inside a xen machine you try to do a chroot into a directory and get this error: Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso’ failed! One of the possible solutions is to use the following command before issuing the chroot. echo 0 >/proc/sys/vm/vdso_enabled It is supposed to have …

XEN

Installing Webmin based Xen Virtual Machines Control Panel

I know it’s totally an overkill to install Webmin to be able to freely and remotely control some basic features of the xen virtual Machines. But so far I haven’t found a really simple and decent replacement for it. Let me know if you do: michel@linuxint.com It took me a little while to find the …

XEN

Troubleshooting PTY allocation request failed on channel 0

This is an extract from a tip from ‘Xen Virtualization community support and Howto’s.‘. Thanks guys. It saved my but. When installing new virtual machine on a Debian “Lenny” host, You might get the following error message once you try SSH the new domU: PTY allocation request failed on channel 0 stdin: is not a …

XEN

Installing Windows 2003/XP/7 32 Bit on Xen in Debian Squeeze 64 Bit.

The task here is to install, run and administrate Windows 2003/XP/7 on a remote server in Internet where Xen 4.x is already installed and HVM is supported in hardware. The steps to install and run Windows are slightly different than for Linux Guests OS. In these cases Q Emu virtualization drivers are needed to complete …

Linux, XEN

Stop/Start a single XEN virtual machine

Assuming that the virtual machine is running, to stop the machine: – Make a list of the running virtual machines and note the ID of the one concerned. xl list Lets suppose the ID of the virtual machine concerned is 15 – Shutdown the machine. xl shutdown 15 – Make a few xm list commands …