[CRIU] Use page-server option in RPC mode

Pavel Emelyanov xemul at parallels.com
Wed Apr 22 02:25:58 PDT 2015


On 04/22/2015 06:10 AM, Hui Kang wrote:
> Hi,
> I would like to write a program to send CRIU dump request with page-server using RPC. However, the dump command returns in the local host and the remote page-server can not receive the dump images.
> 
> My setup are as follows.
> [host A]: criu page-server --images-dir /tmp/image --port 10010
> [host B]: Run my program to send dump request to host A. The program constructed the criu req as follows

Page server doesn't accept RPC requests. It's CRIU service that does it, it
works via unix domain socket and thus it should run on host B.

> criu_req_type = DUMP
> 
> 
> criu_page_server_info {
> 
>     address: IPaddress
> 
>     port:    portNum
> 
> }
> 
> 
> In the criuopt, I set the values for ImagesDirFd, WorkDirFd, LogLevel, LogFile, Root, ManageCgroups, NotifyScripts, 
> Pid, CriuPageServerInfo.
> 
> 
> Is there anything member fields missing? Thanks.

-- Pavel



More information about the CRIU mailing list