public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Live Migration, DRBD
@ 2008-07-24 18:11 Kent Borg
  2008-07-24 23:02 ` Dor Laor
  2008-07-25  2:41 ` Jim
  0 siblings, 2 replies; 4+ messages in thread
From: Kent Borg @ 2008-07-24 18:11 UTC (permalink / raw)
  To: kvm

I am very happy to discover that KVM does live migration.  Now I am
figuring out whether it will work for me. 

What I have in mind is to use DRBD for the file system image.  The
problem is that during the migration I want to shift the file system
access at the moment when the VM has quit running on the host it is
leaving but before it starts running on the host where it is arriving. 
Is there a hook to let me do stuff at this point?

This is what I want to do:

On the departing machine...

  - VM has stopped here
  - umount the volume with the VM file system image
  - mark volume in DRDB as secondary


On the arriving machine...

  - mark volume in DRBD as primary
  - mount the volume with the VM file system image
  - VM can now start here


Is there a way?


Thanks,

-kb

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-25 13:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 18:11 Live Migration, DRBD Kent Borg
2008-07-24 23:02 ` Dor Laor
2008-07-25  2:41 ` Jim
2008-07-25 13:37   ` Kent Borg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox