[CRIU] [criu]launch page-server in swrk mode

Dengguangxing dengguangxing at huawei.com
Thu Mar 10 02:48:45 PST 2016


>>>
>>>> Am I wrong with the page-server swrk mode? How to lauch a page-server daemon in swrk mode
>>>> and make it survive serveral pre-dumps?
>>>
>>> With the current API it's not possible since different pre-dumps page server should
>>> put data into different image directories.
>>
>> I've tested this with simple loop, launch page-server serveral times with the same image directory
>>  on dest-host.
> 
> That's not correct. If you do pre-dumps then image directory for all new stuff should
> change with --prev-images-dir argument. If you're trying to do live migration, look
> at the p.haul stuff we have, it does all the tricks with page server and pre-dumps.
> 
> https://github.com/xemul/p.haul

yes, I have referred to p.haul :) just curious about the reason why this would succeed.

Thanks a lot :)
> 
>> perform criu pre-dump and dump with page-server param, and copy the rest files.
>>
>> criu restore on dest-host succeed.
> 
> :)
> 
>> Does restoring succeed because of the simple loop process? or it just always do?
> 
> It just always does it best to succeed :)
> 
> -- Pavel
> 
> .
> 



More information about the CRIU mailing list