[libvirt] Libvirt - Xen Enterprise - Koan

Hi Our VM's currently run on top of Xen Enterprise, not my choice but thats the way it has to be at the moment. I'd like to be able to still use cobbler/koan to provision the systems and so i have managed to get libvirt installed onto a Xen Enterprise host. Libvirt starts but it cant connect to Xend as i presume Xen Enterprise behaves differently to Xen. Does anyone have any success with libvirt and Xen Enterprise ? thanks for any tips/experience

On Mon, Jan 05, 2009 at 05:45:24PM +0000, Tom Brown wrote:
Hi
Our VM's currently run on top of Xen Enterprise, not my choice but thats the way it has to be at the moment. I'd like to be able to still use cobbler/koan to provision the systems and so i have managed to get libvirt installed onto a Xen Enterprise host. Libvirt starts but it cant connect to Xend as i presume Xen Enterprise behaves differently to Xen.
Does anyone have any success with libvirt and Xen Enterprise ?
I've not tried it, but the likely problem is that you'll need to turn on XenD's UNIX server config option in /etc/xen/xend-config.sxp http://libvirt.org/drvxen.html Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

I've not tried it, but the likely problem is that you'll need to turn on XenD's UNIX server config option in /etc/xen/xend-config.sxp
Thanks for this - this sounds like the most likely issue. The problem is that Citrix seems to move things around somewhat as that config file does not exist. There is a xensource directory that contains the following but other than that i am a bit stuck. # ll /etc/xensource total 72 -rw-r--r-- 1 root root 1956 Dec 31 11:22 boot_time_cpus -rw------- 1 root root 11 Dec 31 11:22 boot_time_memory -rwxr-xr-x 1 root root 71 Sep 4 13:46 db.conf -rwxr-xr-x 1 root root 74 Sep 4 13:46 db.conf.rio -rw-r--r-- 1 root root 655 Sep 4 13:46 db-default-fields -rw-r--r-- 1 root root 8660 Sep 4 13:46 db_schema.sql -rw------- 1 root root 653 Dec 31 11:18 license -rwxr-xr-x 1 root root 776 Sep 4 13:46 log.conf drwxr-xr-x 2 root root 4096 Aug 29 20:11 master.d -rwxr-xr-x 1 root root 6 Sep 4 13:46 pool.conf -rw------- 1 root root 110 Dec 30 17:52 ptoken drwxr-xr-x 2 root root 4096 Sep 4 13:46 scripts -rwxr-xr-x 1 root root 199 Sep 4 13:46 xapi.conf -rwxr-xr-x 1 root root 172 Sep 4 13:46 xapi-ssl.conf -r-------- 1 root root 1286 Dec 30 17:52 xapi-ssl.pem -rwxr-xr-x 1 root root 9 Sep 4 13:46 xsdata_allowed_prefix thanks

On Tue, Jan 06, 2009 at 10:41:40AM +0000, Tom Brown wrote:
I've not tried it, but the likely problem is that you'll need to turn on XenD's UNIX server config option in /etc/xen/xend-config.sxp
Thanks for this - this sounds like the most likely issue. The problem is that Citrix seems to move things around somewhat as that config file does not exist. There is a xensource directory that contains the following but other than that i am a bit stuck.
They might have overriden the config file to point somewhere else. Try and find the file "XendOptions.py" and see where it loads the config from. Or see if anything sets $XEND_CONFIG env variable at startup. In regular upstream xen code, it XendOptions.py has: class XendOptionsFile(XendOptions): """Default path to the config file.""" config_default = "/etc/xen/xend-config.sxp" Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
participants (2)
-
Daniel P. Berrange
-
Tom Brown