managementTools

fucking BS about toolsets: http://wiki.xen.org/wiki/Choice_of_Toolstacks

XAPI is NOW XCP. they use XE command from userlund.

libxenlight REPLACES XEND: thus, NO more xm command but XL command.

Then there is libvirt - which uses amongst others, virtsh in userlund by default and now uses libxenlight to talk to XEN hypervisor.

w/ the new management API ... tools are stateless. i.e. XL can't see stuff done by libvirt (virsh)...and vice versa.

GIven that the GUI tools are complicated ... i'm using XL only.

refer to XEN Tools page <here>

apk add libvirt-xen

(1/24) Installing libcap-ng (0.7.7-r0)

(2/24) Installing krb5-conf (1.0-r1)

(3/24) Installing keyutils-libs (1.5.9-r1)

(4/24) Installing libverto (0.2.5-r0)

(5/24) Installing krb5-libs (1.14-r0)

(6/24) Installing libtirpc (0.3.2-r1)

(7/24) Installing libxml2 (2.9.3-r0)

(8/24) Installing libvirt (1.2.21-r0)

Executing libvirt-1.2.21-r0.post-install

(9/24) Installing pm-utils (1.4.1-r0)

(10/24) Installing gnutls-utils (3.4.7-r0)

(11/24) Installing netcat-openbsd (1.89-r2)

(12/24) Installing libvirt-client (1.2.21-r0)

(13/24) Installing bridge-utils (1.5-r2)

(14/24) Installing dmidecode (3.0-r0)

(15/24) Installing libvirt-daemon (1.2.21-r0)

(16/24) Installing augeas-libs (1.4.0-r4)

(17/24) Installing libgpg-error (1.21-r0)

(18/24) Installing libgcrypt (1.6.4-r0)

(19/24) Installing libxslt (1.1.28-r2)

(20/24) Installing netcf-libs (0.2.8-r2)

(21/24) Installing libpcap (1.7.4-r0)

(22/24) Installing libpciaccess (0.13.4-r0)

(23/24) Installing libvirt-common-drivers (1.2.21-r0)

(24/24) Installing libvirt-xen (1.2.21-r0)

Executing busybox-1.24.1-r7.trigger

OK: 399 MiB in 132 packages

dharra:~# apk search -v 'libvirt'

libvirt-lxc-1.2.21-r0 - LXC driver for libvirt

libvirt-xen-1.2.21-r0 - XEN driver for libvirt --- INSTALLED

libvirt-client-1.2.21-r0 - libvirt client package ----INSTALLED

libvirt-doc-1.2.21-r0 - A virtualization API for several hypervisor and container systems (documentation)

libvirt-uml-1.2.21-r0 - UML driver for libvirt

libvirt-qemu-1.2.21-r0 - QEMU driver for libvirt

libvirt-lang-1.2.21-r0 - Languages for package libvirt

libvirt-dev-1.2.21-r0 - A virtualization API for several hypervisor and container systems (development files)

libvirt-vbox-1.2.21-r0 - VirtualBox driver for libvirt

libvirt-daemon-1.2.21-r0 - libvirt daemon package --INSTALLED

libvirt-1.2.21-r0 - A virtualization API for several hypervisor and container systems --INSTALLED

libvirt-common-drivers-1.2.21-r0 - Common libvirt daemon drivers --INSTALLED

py-libvirt-1.2.17-r0 - The libvirt virtualization API python binding

collectd-virt-5.5.0-r1 - virt pluin for collectd

installed virt-manager on local PC.

start - tries to auto connect to local QEMU-KVM ... cancel all this.

create new connection - add 192.168.1.104 + root + passwd (had to change as it didn't like some characters).

On the desktop

/etc/init.d/libvirtd start

rc-update add libvirtd

rc-update /// checks status.

now can connect to remote virtd (on dharra) for the local PC...

now to learn how libvirt can be used to configure storage pools etc.