Re: Support live migration of OpenVZ container

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

 



On 08/13/2014 04:20 PM, Hongbin Lu wrote:
> Hi libvirt team,
> 
> I was trying to migrate an OpenVZ domain from one host to another host. It
> seems that the live migration of OpenVZ container is there (
> https://openvz.org/Migration_from_one_HN_to_another), but it haven't been
> integrated to libvirt yet. In particular, I ran the following commands and
> it failed:
> 
> $ sudo virsh migrate --live --verbose --undefinesource 101 openvz+ssh://
> root@10.12.1.39/system
> error: this function is not supported by the connection driver:
> virDomainMigrate3
> 
> Could anyone confirm if libvirt supports live migration of OpenVZ domain.

According to http://libvirt.org/hvsupport.html, no one has ported any of
the virDomainMigrate callbacks to the openvz driver.

> If yes, please let me know the correct way to do that. If no, I would like
> to know if there is a plan to add support for that. I don't mind to submit
> a patch if your team likes to review it. Please let me know. Thanks.

The plan is to wait for someone to submit a patch.  So go for it!  You
can use qemu and libxl migration code as a guide when implementing the
callbacks in the openvz code.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux