From: Anthony Liguori <anthony@codemonkey.ws>
To: Claris Castillo <ccastil@us.ibm.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Hot backup vs (local) live migration
Date: Wed, 25 Jul 2007 16:02:59 -0500 [thread overview]
Message-ID: <46A7BA83.7050207@codemonkey.ws> (raw)
In-Reply-To: <OFED323CDC.0C46B1B1-ON85257323.000889F6-85257323.0009DCC3@us.ibm.com>
Claris Castillo wrote:
> Hi, this is the third time I post this question to the list but I have not
> received any response.
>
> It is not clear to me why the live migration technique used by Xen and
> documented at
> http://www.cl.cam.ac.uk/research/srg/netos/papers/2005-migration-nsdi-pre.pdf
> can't be used to perform a hot backup of a virtual machine. Based on the
> paper, just before
> shutting down and destroying the original VM, there is an exact clone of it
> in the remote/destination host.
> Could this technique be leveraged to perform a hot backup? If so, why Xen
> does not provide with hot
> backup yet? I have been experimenting with VMWare and the performance is
> pretty bad since
> it uses REDO files.
It depends on what your definition of "hot backup is". Live migration
while it's active does not result in a consistent machine on the other
node. What I mean by this, is that during the live migration process,
you could not interrupt the migration and just "run" the VM on the
target node (since only a portion of the memory may have been transfered).
Now, you could basically keep a tight loop of live migrations that would
result in a backup on another node that would exist at a sightlier
earlier time than the source node. That is, your backup may be the
actual VM 1.5 seconds ago. The danger here is that if you have an
application committing transactions to a database, you may end up
committing the transaction twice after the backup activates (or
something equally bad).
So the other option is to have what is know as "lock-step" execution
where the hot backup and the source virtual machine are kept in sync at
all times. You usually pay a performance cost for this but you do get
some pretty interesting fail over. I'm pretty sure there have been more
than one research projects devoted to implementing this in Xen.
Regards,
Anthony Liguori
> By the way I tried doing local live migration and I got *several * error
> messages. I am not sure if the errors
> have to do with the fact that it is not possible to perform a local live
> migration or some other technical issues
> I can solve if I look at it.
>
>
> I would appreciate any suggestions/advice in this regard.
> cc
prev parent reply other threads:[~2007-07-25 21:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 1:47 Hot backup vs (local) live migration Claris Castillo
2007-07-25 8:50 ` [Xen-users] " mail4dla
2007-07-25 13:11 ` Nico Kadel-Garcia
2007-07-25 15:00 ` Luiz Vitor Martinez Cardoso
2007-07-25 21:02 ` Anthony Liguori [this message]
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=46A7BA83.7050207@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=ccastil@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.