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" <[email protected]> To: "users" <[email protected]> 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! [email protected] 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: [email protected] > 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: [email protected] 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: [email protected] 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
