[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST v2 18/18] WIP: libvirt: migration + save/restore support.



Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST v2 18/18] WIP: libvirt: migration + 
> save/restore support."):
>   
>> Note that this remains stubbed out, since making it actually work
>> requires more work (i.e. I need to figure out what is involved, seem
>> to need TLS and a CA etc...)
>>     
>
> How annoying.
>   

You can get around this by disabling TLS in /etc/libvirt/libvirtd.conf.
Then simply use ssh to connect to the dst host, e.g. 'virsh migrate
--live dom xen+ssh://dst-host'.

Alternatively, enable listen_tcp then migrate with 'virsh migrate --live
xen+tcp://dst-host'

> @@ -80,6 +81,8 @@ END
>                                   $builddir.'/dist/etc/init.d/libvirtd');
>      target_cmd_build($ho, 60, $builddir, <<END);
>          chmod +x $builddir/dist/etc/init.d/libvirtd
> +       #sed -i -e 's/\#\?listen_tls = .*/listen_tls = 0/g' 
> $builddir/dist/etc/libvirt/libvirtd.conf
> +       #sed -i -e 's/\#\?listen_tcp = .*/listen_tcp = 1/g' 
> $builddir/dist/etc/libvirt/libvirtd.conf
>  END
>  }
>   

Yes, something like that :-).  I'd disable TLS and use the xen+ssh
connection URI.

Regards,
Jim


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.