|
2006 / Xen 3.0 on Debian 4.0: The Basics Xen 3.0 on Debian 4.0
I've been playing with Xen 3.0 on Debian Etch recently. It's very easy to
set up with the instructions found on
wiki.debian.org/Xen. I'm currently
using the Creating a domU
With the help of xen-tools,
creating a domU image should be as simple as calling sudo mkdir /home/xen/ sudo xen-create-image --hostname=devel --dhcp --dir=/home/xen/ --dist=etch --debootstrap More information can be found in the manpage of xen-create-image(8) and on the examples page on the xen-tools homepage. Networking
After having created the necessary files and configuration for the domU, I had to
tweak Xen's configuration to enable bridging of network traffic. This is the most
simple configuration in which a virtual bridge will be placed between the
I had to uncomment the following line in (network-script network-bridge)
After that, don't forget to re-start
In the configuration file of the domU ( Basic usageThis is described better elsewhere (see the XenSource Wiki for example), so here's just some hints that got me started:
# xm create devel.cfg -c (start the "devel" domU and attach to its console)
# xm console devel.cfg (when the "devel" domU runs, this attaches to the console)
# xm destroy devel.cfg ("pull the plug" of the virtual machine [non-clean shutdown])
# xm list (list current domains that are running)
# xm top (top-like display of running domains and their resource usage
Keyboard commands:
Ctrl+] detaches from a attached domU console
Device 2049 (vbd) could not be connected.
If you get this error when trying to start a Xen domU, the problem
might be that you haven't loaded the /etc/modprobe.d/loopoptions loop max_loop=255 /etc/modules[...] loop Links
Mon May 28 13:59:50 2007 +0000 |