[one-users] Live migrate failed

Javier Fontan jfontan at gmail.com
Fri Apr 15 02:02:03 PDT 2011


The problem is that for libvirt the default transport protocol is tls
so using plain qemu url (qemu://<host>/system) will use tls. To not
use it the transport protocol should be specified, the easiest one is
ssh as you should have passwordles ssh between nodes.

On Wed, Apr 13, 2011 at 7:36 PM, Steffen Neumann <sneumann at ipb-halle.de> wrote:
> Hi,
>
> I have a similar problem here, and I wonder whether there
> is a simpler solution, if you're in a confined and trusted environment.
> http://opennebula.org/documentation:rel2.2:kvmg says:
>
> OpenNebula uses libvirt's migration capabilities. More precisely, it
> uses the TCP protocol offered by libvirt. In order to configure the
> physical nodes, the following files have to be modified:
>
>        /etc/libvirt/libvirtd.conf : Uncomment “listen_tcp = 1”.
>        Security configuration is left to the admin's choice, file is
>        full of useful comments to achieve a correct configuration.
>        /etc/default/libvirt-bin : add -l option to libvirtd_opts
>
> under the hood one should call
>
>  virsh --connect qemu+ssh:///system migrate --live one-0 qemu+ssh://node-blc09/system
>
> but jfontan just confirmed on IRC that remotes/vmm/kvm/kvmrc
> should have "export QEMU_PROTOCOL=qemu+ssh"
> but it is missing the +ssh bit in the current 2.2 release.
>
> Fix that both on the nodes in /var/tmp/one/vmm/kvm/kvmrc
> but also on the oned host, so that it also works
> if you add future hosts.
>
> Yours,
> Steffen
>
>
> --
> IPB Halle                    AG Massenspektrometrie & Bioinformatik
> Dr. Steffen Neumann          http://www.IPB-Halle.DE
> Weinberg 3                   http://msbi.bic-gh.de
> 06120 Halle                  Tel. +49 (0) 345 5582 - 1470
>                                  +49 (0) 345 5582 - 0
> sneumann(at)IPB-Halle.DE     Fax. +49 (0) 345 5582 - 1409
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list