All of lore.kernel.org
 help / color / mirror / Atom feed
* Hot backup vs  (local) live migration
@ 2007-07-25  1:47 Claris Castillo
  2007-07-25  8:50 ` [Xen-users] " mail4dla
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Claris Castillo @ 2007-07-25  1:47 UTC (permalink / raw)
  To: xen-users, xen-devel


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.

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

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

* Re: [Xen-users] Hot backup vs (local) live migration
  2007-07-25  1:47 Hot backup vs (local) live migration Claris Castillo
@ 2007-07-25  8:50 ` mail4dla
  2007-07-25 13:11 ` Nico Kadel-Garcia
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mail4dla @ 2007-07-25  8:50 UTC (permalink / raw)
  To: Claris Castillo; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 1624 bytes --]

Hi,

the technique that you suggest is in my opinion only suited to protect from
hardware failure.
If within your DomU, something bad happens with your software, you run the
risk that the condition that finally leads to the failure has already
occured when you snapshot your running DomU. Thus, it is quite likely that
the restarted DomU will also fail.

Cheers
dla



On 7/25/07, Claris Castillo <ccastil@us.ibm.com> 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.
>
> 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
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

[-- Attachment #1.2: Type: text/html, Size: 2189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

* Re: Hot backup vs  (local) live migration
  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
  3 siblings, 0 replies; 5+ messages in thread
From: Nico Kadel-Garcia @ 2007-07-25 13:11 UTC (permalink / raw)
  To: Claris Castillo; +Cc: xen-devel, xen-users

Claris Castillo wrote:
> Hi, this is the third time I post this question to the list but I have not
> received any response.
>   
This is similar to backing up an LVM snapshot of a live system. With 
many operating systems, there may be operations occurring in paging that 
have not yet been committed to the disk. Unless you can shut down things 
like databases and make sure all their content has been committed, you 
should not rely on such a snapshot for backup purposes.
> 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
>
>   
What were your error messages, and how did you try to do the live migration?

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

* Re: Hot backup vs  (local) live migration
  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
  3 siblings, 0 replies; 5+ messages in thread
From: Luiz Vitor Martinez Cardoso @ 2007-07-25 15:00 UTC (permalink / raw)
  To: Claris Castillo; +Cc: xen-devel, xen-users

Hi,

First i have a question! Why you need make a memory-ram backup? I read your text and don`t understand what you are saying exact. The live migration algoritms "only" manage the data from memory-ram, the data from HD need to be managed with drdb, iscsi... when we need to backup a xen machine just a image/lvm/evms needs to be backuped.

Regards,

Grabber.

Em Tue, 24 Jul 2007 21:47:44 -0400
Claris Castillo <ccastil@us.ibm.com> escreveu:

> 
> 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.
> 
> 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
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

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

* Re: Hot backup vs  (local) live migration
  2007-07-25  1:47 Hot backup vs (local) live migration Claris Castillo
                   ` (2 preceding siblings ...)
  2007-07-25 15:00 ` Luiz Vitor Martinez Cardoso
@ 2007-07-25 21:02 ` Anthony Liguori
  3 siblings, 0 replies; 5+ messages in thread
From: Anthony Liguori @ 2007-07-25 21:02 UTC (permalink / raw)
  To: Claris Castillo; +Cc: xen-devel

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

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

end of thread, other threads:[~2007-07-25 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.