[ClusterLabs] kvm live migration, resource moving

Kyle O'Donnell kyleo at 0b10.mx
Wed Feb 3 18:28:09 CET 2016


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?

-- 
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 14:47:28, Kyle O'Donnell ha scritto:
> Hi,
> 
> (apologies for cross posting, got a note that the pacemaker list is dead)
> 
> I'm using the predefined VirtualDomain resource type to mange kvm guests with 
> pacemaker.  I am trying to sort out the best way I can use the built-in live 
> migration function within virsh:
> 
> # virsh migrate --live guest qemu+ssh://destination-host/system
> 
> Currently, I have to disable monitoring for the resource, run the live 
> migrate, do maintenance on the original host, live migrate back, enable 
> monitoring.  Which is fine if I plan on migrating the guest back to the 
> original host, but when I want to permanently move a guest from one host to 
> another I need to be able to tell the cluster, heh I've already moved this 
> from A to B, please start monitoring on B.
> 
> Ideas?
> 
> Thanks,
> Kyle
> 
> _______________________________________________
> 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
> 

_______________________________________________
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