<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 22, 2015 at 10:08 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/22/2015 04:37 PM, Hui Kang wrote:<br>
> Hi, Pavel,<br>
> I did create a pair of socket on the host B. When I send "criu dump" RPC without<br>
> "--page-server --port", the RPC call succeed. However, when the RPC can not talk<br>
> to the page server in the remote machine.<br>
<br>
</span>Wait a second, you told you were sending dump request from host B to host A.<br>
<br>
Let's clarify -- the page server is on A, the criu service is on B, the process<br>
you want to dump is on B too. And you send dump request form host B where to?<br></blockquote><div><br></div><div>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.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can you also check the dump logs for the line<br>
<br>
"Connecting to server"<br>
<br>
to see one you need to set up the 4th log level.<br></blockquote><div><br>will do<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> I am wondering if there is any sample code for page-server in RPC call.<br>
<br>
</span>Yes, the p.haul project does this:<br>
<a href="https://github.com/xemul/p.haul/" target="_blank">https://github.com/xemul/p.haul/</a><br>
<br>
but in a slightly different manner.<br></blockquote><div><br></div><div>Thanks.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
-- Pavel<br>
</font></span></blockquote></div><br></div></div>