From: Yaodong Yang <yaodong.yangy@gmail.com>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] vm live storage migration approach.
Date: Fri, 30 Jan 2015 14:13:50 -0600 [thread overview]
Message-ID: <CAJ3ZQbMVMwtGUuYtr8-=xynhdkP=6vWGZqqdbu3bui95iUZ2eg@mail.gmail.com> (raw)
In-Reply-To: <54CBD9C8.2040909@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 2438 bytes --]
An follow up questions.
Suppose I have a running VM with two virtual disks, I would like to migrate
the vm from host A to host B. Both host A and host B have their own
isolated storage devices. Is there anyway to migrate the vm's memory, two
virtual disk images and other states together from host A to host B? Can
drive_mirror command itself finish this job? I noticed that drive_mirror
only mirror for one virtual disk and require both the source and
destination share the same storage namespace. I do not know how to migrate
the whole VM (memory, storage, network ) together from host A to host B,
given that host A and host B have NO shared storage resource.
Could you show me an example, if possible?
I know "migrate -b" works well for this purpose. But the downside is
"migrate -b" does not mirror Write Requests to both host A and host B
during migration. In this case, "migrate -b" has a higher VM downtime
during the migration.
Yaodong
On Fri, Jan 30, 2015 at 1:21 PM, Eric Blake <eblake@redhat.com> wrote:
> On 01/30/2015 09:25 AM, Yaodong Yang wrote:
> > Hi all,
> >
> > I'm investigating the current schemes for the VM live storage migration
> in
> > QEMU system. I have the following questions:
> >
> > 1. What is the functionality of drive_mirror in QEMU? Is it designed as a
> > VM live storage migration approach?
>
> Yes. drive-mirror was added precisely to support live storage migration.
>
> >
> > 2. What's the difference between drive_mirror and vMotion? I learned that
> > vMotion employs IO Mirroring mechanism to migration a running VM with all
> > the virtual disk images. Are there any other mechanisms inside QEMU serve
> > this purpose as well?
>
> vMotion is not part of qemu, so I'm not sure what it does. Therefore, I
> cannot make a fair comparison.
>
> >
> > I'm looking for a mechanism in QEMU, which is similar to vMotion ( IO
> > Mirroring) in ESX environment.
>
> Look at drive-mirror, block-backup, quorum drives, and lots of recent
> threads on this list about adding redundant processing (such as the term
> "COLO") for how to piece together lower-level blocks into whatever drive
> mirroring scheme you can think of.
>
>
> --
> Eric Blake eblake redhat com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
--
Yaodong Yang
yaodong.yangy@gmail.com or yyang@cse.unl.edu
Computer Science and Engineering Department
University of Nebraska-Lincoln
Lincoln, NE, USA
[-- Attachment #2: Type: text/html, Size: 3694 bytes --]
next prev parent reply other threads:[~2015-01-30 20:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-30 16:25 [Qemu-devel] vm live storage migration approach Yaodong Yang
2015-01-30 19:21 ` Eric Blake
2015-01-30 20:13 ` Yaodong Yang [this message]
2015-01-30 20:37 ` Stefan Hajnoczi
2015-01-30 20:39 ` Yaodong Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ3ZQbMVMwtGUuYtr8-=xynhdkP=6vWGZqqdbu3bui95iUZ2eg@mail.gmail.com' \
--to=yaodong.yangy@gmail.com \
--cc=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).