[CRIU] Use page-server option in RPC mode

Hui Kang hkang.sunysb at gmail.com
Wed Apr 22 13:18:05 PDT 2015


Hi, Pavel
I have solved the issue. Thanks.

- Hui

On Wed, Apr 22, 2015 at 10:12 AM, Hui Kang <hkang.sunysb at gmail.com> wrote:

>
>
> On Wed, Apr 22, 2015 at 10:08 AM, Pavel Emelyanov <xemul at parallels.com>
> wrote:
>
>> On 04/22/2015 04:37 PM, Hui Kang wrote:
>> > Hi, Pavel,
>> > I did create a pair of socket on the host B. When I send "criu dump"
>> RPC without
>> > "--page-server --port", the RPC call succeed. However, when the RPC can
>> not talk
>> > to the page server in the remote machine.
>>
>> Wait a second, you told you were sending dump request from host B to host
>> A.
>>
>> Let's clarify -- the page server is on A, the criu service is on B, the
>> process
>> you want to dump is on B too. And you send dump request form host B where
>> to?
>>
>
> I would like to send RPC dump request to criu service on host B, with
> "--page-server [host A's IP] --port [host A's port]". So that the criu
> service (swrk) in host B can send dumped page to host A.
>
>
>>
>> Can you also check the dump logs for the line
>>
>>     "Connecting to server"
>>
>> to see one you need to set up the 4th log level.
>>
>
> will do
>
>
>>
>> > I am wondering if there is any sample code for page-server in RPC call.
>>
>> Yes, the p.haul project does this:
>> https://github.com/xemul/p.haul/
>>
>> but in a slightly different manner.
>>
>
> Thanks.
>
>
>>
>> -- Pavel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150422/6ed30a4d/attachment.html>


More information about the CRIU mailing list