[CRIU] Live migration of LXC containers using Criu?

Pavel Emelyanov xemul at parallels.com
Thu Jun 4 02:36:49 PDT 2015


On 06/04/2015 04:50 AM, Kir Kolyshkin wrote:
> 
> 
> On 06/03/2015 06:45 PM, Divjyot sethi wrote:
>> Hey Pavel,
>> After a bit of a hiatus, I finally got around to istalling everything on my machines and am now trying
>> to live migrate OpenVZ containers running CentOS with p.haul. I however get an error at CRIU dump stage
>> -- log file says "Error (sk-unix.c:222): Unix socket 0x6893 without peer 0xc5b". Any thoughts on this issue?
> 
> The message essentially means that there is a UNIX socket that has one end inside the container and the 
> other end out of it. Like, a container is running mysql and someone who's not inside that CT is connected
> to it via a UNIX socket. CRIU warns you that if you will checkpoint a process at one end of such a socket,
> a process at the other end might get disappointed. In case you know what you are doing, you can add
> --ext-unix-sk to criu commandline to allow checkpointing of such processes.

Yup. These are connections to the outer world, the --ext-unix-sk should help, unless the
connection is SOCK_STREAM. In the latter case you'll have to stop the process that has one.

> This is as much as I can tell without looking into speciifics.

-- Pavel



More information about the CRIU mailing list