[ClusterLabs] kvm live migration, resource moving

Kyle O'Donnell kyleo at 0b10.mx
Thu Feb 4 12:09:19 CET 2016


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?

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

Il giorno 3/2/2016 18:28:09, Kyle O'Donnell ha scritto:
> Hi Rasca,
> 
> Because the command 'virsh migrate --live' command will move the vm without shutting down the guest operating system.  It transfers the running state of the vm from one host to another.
> 
> -Kyle
> 
> ----- Original Message -----
> From: "RaSca" <rasca at miamammausalinux.org>
> To: "users" <users at clusterlabs.org>
> Sent: Wednesday, February 3, 2016 11:54:12 AM
> Subject: Re: [ClusterLabs] kvm live migration, resource moving
> 
> It is not clear to me why you need to do things by hand. Why are you
> using virsh once you could do a resource move within the cluster?
> 

_______________________________________________
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