Installing guest OS using XEN

Recently I am working on OS virtualization and load balancing. To do some test I have to install an Hypervisor (xen) to manage virtual machines (VM) on hosts. I am just at the beginning and it's a quite tedious work. I am using Debian Squeeze with Xen 4.0.1. Because Xen is still under development, there is no clear and up-to-date documentation.

I spent the afternoon trying to install a guest OS using virt-install or the graphical tool virt-manager but I was getting the following error :

ERROR    unable to connect to 'localhost:8000': Connection refused

After searching for network problems (bridge configuration of xen) and security problem (/etc/hosts.allow or /etchosts.deny) I finnally found this :

#(xend-unix-server no)

in the /etc/xen/xend-config.sxp and change it to :

(xend-unix-server yes)

And I got rid of the previous error.

Next : set up these damn VM