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! ra...@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@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@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