qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-1.7.0 vm migration with nbd usage
@ 2014-02-12  8:35 xuanmao_001
  2014-02-14 15:09 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: xuanmao_001 @ 2014-02-12  8:35 UTC (permalink / raw)
  To: qemu-devel, qemu-discuss

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Hi, Is there a document describe vm migration with nbd server or any example about it?

give me some idea, thanks!

[-- Attachment #2: Type: text/html, Size: 746 bytes --]

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

* Re: [Qemu-devel] qemu-1.7.0 vm migration with nbd usage
  2014-02-12  8:35 [Qemu-devel] qemu-1.7.0 vm migration with nbd usage xuanmao_001
@ 2014-02-14 15:09 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2014-02-14 15:09 UTC (permalink / raw)
  To: xuanmao_001; +Cc: qemu-devel, qemu-discuss

On Wed, Feb 12, 2014 at 04:35:19PM +0800, xuanmao_001 wrote:
> Hi, Is there a document describe vm migration with nbd server or any example about it?

NBD supports migration because it is a network storage protocol.

Imagine you have a "source" host and a "destination" host.  The source
host is currently running the guest.  The destination host is the live
migration target.

There is also an NBD server host that is independent of the source and
destination hosts.

Launch QEMU on the destination host with the same command-line as the
source host, but append "-incoming tcp::1234".

Start live migration using the "migrate" command in the QEMU monitor on
the source host.  Live migration will run until it completes.

Finally, you should see your VM has migrated to the destination host.
Disk I/O will still use the NBD server host.

So there's nothing really special here.  NBD is just considered shared
storage.

Stefan

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

end of thread, other threads:[~2014-02-14 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12  8:35 [Qemu-devel] qemu-1.7.0 vm migration with nbd usage xuanmao_001
2014-02-14 15:09 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).