[CRIU] Live migration of LXC containers using Criu?

Divjyot sethi dsethi at princeton.edu
Mon Jul 13 14:01:32 PDT 2015


Hello Pavel,
I have an OpenVZ container setup which I can live mgrate. However, I need
to run another process in it and migrate that too. This process accesses a
special device which I install on host node and setup a driver for it (a
dynamic kernel module). Turns out that this process can not access the
loaded kernel module on the host node. Can you please let me know the steps
for doing this?

Thanks,
Divjyot

On Tue, Jun 23, 2015 at 2:21 PM, Pavel Emelyanov <xemul at parallels.com>
wrote:

> On 06/22/2015 10:21 PM, Divjyot sethi wrote:
> > Hello Pavel,
> > Thanks for the help -- I was finaly able to do end-end live migration
> with Criu (version 1.5.2). I did not
> > remove the cgroups but just made sure that the directory structure at
> destination cgroup matched at the
> > source to make this work.
>
> That's great news!
>
> > One question: this works with Criu version 1.5.2. I had done some
> development with Criu version 1.3.1. In
> > order to be on a faster track, I was hoping to be able to use Criu
> version 1.3.1 for live migration -- do
> > you know if live migration could be made to work with that version?
> Currently I get an RPC error with that version -- .
> >
> > Error: Exception: CRIU RPC error (0/8)
> > Error (cr-service.c:705): Can't recv request: Connection reset by peer
>
> Well, we did p.haul first with 1.3, then criu has changed significantly.
> If it
> is still important for you to stay with 1.3 we can try to resolve why this
> got
> broken, but I suggest you to better switch on 1.6.
>
> -- Pavel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150713/a1d20f9b/attachment.html>


More information about the CRIU mailing list