[CRIU] Live migration of LXC containers using Criu?

Tycho Andersen tycho.andersen at canonical.com
Wed Apr 8 15:01:29 PDT 2015


On Wed, Apr 08, 2015 at 02:54:08PM -0700, Divjyot sethi wrote:
> Thanks for the information Tycho! Also a quick question: are you by any
> chance aware of any container setup which supports pre-copy based live
> migration? I need such a setup for a project I am working on...

I suppose virtuozzo does, but the Parallels/Odin folks can probably
elaborate.

Tycho

> Best,
> Divjyot
> 
> On Wed, Apr 8, 2015 at 2:51 PM, Tycho Andersen <tycho.andersen at canonical.com
> > wrote:
> 
> > On Wed, Apr 08, 2015 at 02:48:23PM -0700, Divjyot sethi wrote:
> > > Hey Tycho,
> > > Thanks for your quick response on this! I read through the article - very
> > > helpful. I have a follow up question. Is this live migration pre-copy
> > (i.e.
> > > speculatively copying out memory to reduce the freeze time of
> > application)?
> > > Or is it just suspend-resume done potentially over a network?
> >
> > The latter. The intent is to introduce p.haul support which will do
> > more intelligent migration throughout the stack. You can see bits of
> > it present in LXD already, but I haven't gotten as far as actually
> > getting it to work yet.
> >
> > Tycho
> >
> > > Thanks,
> > > Divjyot
> > >
> > > On Wed, Apr 8, 2015 at 2:37 PM, Tycho Andersen <
> > tycho.andersen at canonical.com
> > > > wrote:
> > >
> > > > Hello,
> > > >
> > > > On Wed, Apr 08, 2015 at 02:28:17PM -0700, Divjyot sethi wrote:
> > > > > Hello,
> > > > > I am looking for a setup for live migrating containers (with
> > pre-copy)
> > > > > which leverages Criu. I know that this was under development last
> > year -
> > > > I
> > > > > wanted to ask if the current release supports live migration of lxc
> > > > > containers? If not, are there any other containers which can be live
> > > > > migrated using Criu? Please let me know...
> > > >
> > > > Yes, lxc supports this via `lxc-checkpoint`, and lxd support was
> > > > recently added via `lxc move`:
> > > >
> > > > http://tycho.ws/blog/2015/04/lxd-live-migration.html
> > > >
> > > > Tycho
> > > >
> > > > > Thanks,
> > > > > Divjyot
> > > >
> > > > > _______________________________________________
> > > > > CRIU mailing list
> > > > > CRIU at openvz.org
> > > > > https://lists.openvz.org/mailman/listinfo/criu
> > > >
> > > >
> >


More information about the CRIU mailing list