[CRIU] LXC checkpoint/restore HOWTO using upstream tools
Pavel Emelyanov
xemul at parallels.com
Fri Sep 19 06:49:29 PDT 2014
On 09/19/2014 05:36 PM, Tycho Andersen wrote:
>> * You can't checkpoint containers that have been restored. This is the
>> tty bug that Cyrill and I talked about a while ago.
>> * Possibly related, when you try and lxc-stop a restored container, it
>> hangs once the container is stopped and leaves a getty that is
>> taking 100% CPU.
>> * There is some small bug with how the cgroups are reattached when
>> they are co-mounted. I am going to look into this today.
>
> I guess one other thing to point out is that I have migrated
> containers across hosts just by rsyncing the checkpoint directory and
> the rootfs. When I restore them, they come back up and you can inspect
> them with the new machine's LXC tools.
That's also good news :) Hopefully you will find the p.haul
project to be worth using for all these steps :) plus some
great memory migration optimization that uses criu's pre-dump.
Thanks,
Pavel
More information about the CRIU
mailing list