[ClusterLabs] kvm live migration, resource moving

Kyle O'Donnell kyleo at 0b10.mx
Thu Feb 4 12:44:28 UTC 2016


That is helpful but I think I am looking at the wrong documentation:

http://www.linux-ha.org/wiki/VirtualDomain_(resource_agent)
http://linux-ha.org/doc/man-pages/re-ra-VirtualDomain.html

Can you point me to the docs you are referencing?

----- Original Message -----
From: "RaSca" <rasca at miamammausalinux.org>
To: "users" <users at clusterlabs.org>
Sent: Thursday, February 4, 2016 6:48:26 AM
Subject: Re: [ClusterLabs] kvm live migration, resource moving

If your environment is successfully configured even from the libvirt
side, everything should work out of the box, if it does not work you can
pass migrate_options to make it work.

>From the resource agent documentation:

migrate_options:  Extra virsh options for the guest live migration. You
can also specify here --migrateuri if the calculated migrate URI is
unsuitable for your environment. If --migrateuri is set then
migration_network_suffix and migrateport are effectively ignored. Use
"%n" as the placeholder for the target node name.
Please refer to the libvirt documentation for details on guest migration.

Hope this helps,

-- 
RaSca
Mia Mamma Usa Linux: Niente è impossibile da capire, se lo spieghi bene!
rasca at miamammausalinux.org
http://www.miamammausalinux.org

Il giorno 4/2/2016 12:09:19, Kyle O'Donnell ha scritto:
> I explicitly stated I was using the VirtualDomain resource agent.
> 
> I did not know it supported live migration as when I ran crm resource move guest nodeX, it shuts down the guest before moving it.
> 
> Let me rephrase my question... How do I use the VirtualDomain resource agent to live migrate a kvm guest between nodes in my cluster.
> 
> pacemaker 1.1.10+git20130802-1ubuntu2.3
> resource-agents 1:3.9.3+git20121009-3ubuntu2
> 
> ----- Original Message -----
> From: "RaSca" <rasca at miamammausalinux.org>
> To: "users" <users at clusterlabs.org>
> Sent: Thursday, February 4, 2016 4:30:18 AM
> Subject: Re: [ClusterLabs] kvm live migration, resource moving
> 
> The VirtualDomain resource agent supports live migration as well as
> virsh command, that's because it actually USE virsh, so again, why
> aren't you using directly VirtualDomain?
> 

_______________________________________________
Users mailing list: Users at clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org




More information about the Users mailing list