lkml.org 
[lkml]   [2006]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Devel] Re: [RFC] Virtualization steps
On Tue, Apr 11, 2006 at 02:38:51PM +0400, Kirill Korotaev wrote:
> Bill,
>
> >>OpenVZ will have live zero downtime migration and suspend/resume some
> >>time next month.
> >>
> >Please clarify. Currently a migration involves:
> >- stopping or suspending the instance
> >- backing up the instance and all of its data
> >- creating an environment for the instance on a new machine
> >- transporting the data to a new machine
> >- installing the instance and all data
> >- starting the instance
>
> >If you could just briefly cover how you do each of these steps with zero
> >downtime...
>
> it does exactly what you wrote with some minor steps such as networking
> stop on source and start on destination etc.
>
> So I would detailed it like this:
> - freeze VPS
> - freeze networking
> - copy VPS data to destination
> - dump VPS

IIRC, Xen does some kind of repetitive sync of
memory pages to allow the 'original' to continue
running for as long as possible, so pages and
structures get resynced until it looks like the
migration would require only a few pages to be
synced for the final move, then it does the actual
move ...

> - copy dump to the destination
> - restore VPS
> - unfreeze VPS
> - kill original VPS on source
>
> Moreover, in OpenVZ live migration allows to migrate 32bit VPSs between
> i686 and x86-64 Linux machines.

I think that zero downtime is some kind of marketing
buzzword here, and has nothing to do with the actual
time the migration takes, which will probably be
around 20 seconds or so (for larger guests) ...

best,
Herbert

> Thanks,
> Kirill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-11 18:23    [from the cache]
©2003-2011 Jasper Spaans