[one-users] Live migrate VMs in a non-shared storage environment?

Javier Fontan jfontan at gmail.com
Thu Jun 30 10:39:14 PDT 2011


You can change the way the VMs are migrated changing the migrate action script:

http://dev.opennebula.org/projects/opennebula/repository/revisions/one-2.2/entry/src/vmm_mad/remotes/kvm/migrate

As you can see there you can modify the line executed to do the
migration and add the parameter needed. You can find that file in your
install in /var/lib/one/remotes/vmm/kvm. After modifying the file
issue a onehost sync so the new script is copied to all your physical
hosts.

On Wed, Jun 22, 2011 at 11:16 AM, Belmiro Moreira
<moreira.belmiro.lists at gmail.com> wrote:
> Hello,
> since qemu 0.12.x it's possible to live migrate kvm VMs in a environment
> with non shared storage. Using "virsh" we can select if we want an
> incremental or full disk copy.
>
> Now I'm trying to live migrate kvm VMs managed by opennebula in the same
> environment. Is this possible?
> If yes, how can I define the type of disk copy between hosts?
>
> In virsh:
>     --copy-storage-all  migration with non-shared storage with full disk
> copy
>     --copy-storage-inc  migration with non-shared storage with incremental
> copy
>
> but in opennebula I only have the flat "onevm livemigrate <vm_id> <host_id>"
> option.
>
> thank you in advance,
> Belmiro Moreira
>
> _______________________________________________
> 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