[CRIU] ./p.haul-service can not be started
Nikita Spiridonov
nspiridonov at odin.com
Wed Oct 21 14:54:36 PDT 2015
If I have understood your question correctly, p.haul wrap forward it's arguments to p.haul or p.haul-service in order arguments were specified in command line (except small subset of p.haul-wrap specific arguments).
For example, following p.haul-wrap call:
$ p.haul-wrap service --foo --bar 123 --buz
result in approximately following p.haul-service call:
$ p.haul-service --foo --bar 123 --buz --fdrpc 3 --fdmem 4 --fdfs 5
So we can add new arguments to p.haul and p.haul-service in future and p.haul-wrap will forward it correctly.
________________________________________
От: Hui Kang <hkang.sunysb at gmail.com>
Отправлено: 21 октября 2015 г. 18:53
Кому: Nikita Spiridonov
Копия: CRIU
Тема: Re: [CRIU] ./p.haul-service can not be started
Hi, Nikita
The current p.haul-wrap does not expose arguments to the p.haul, e.g,
-v, --force, --pre-dump. Am I right? Thanks.
- Hui
On Tue, Oct 13, 2015 at 4:28 AM, Nikita Spiridonov <nspiridonov at odin.com> wrote:
> On Tue, 2015-10-13 at 00:05 -0400, Hui Kang wrote:
>> Hi,
>> I checked out the latest p.haul code and find that the p.haul server
>> command does not work.
>>
>> [ ] l# ./p.haul-service
>>
>> usage: Process HAULer service server [-h] --fdrpc FDRPC --fdmem FDMEM --fdfs
>>
>> FDFS [--log-file LOG_FILE]
>>
>> Process HAULer service server: error: argument --fdrpc is required
>>
>> Is there any document about these changes or how to use it? Thanks.
>>
>> - Hui
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
>
> For now there is only comments about usage in p.haul and p.haul-wrap,
> you can read it. Comments describe new p.haul usage semantics, including
> standalone mode. Documentation will be updated later.
>
> briefly, p.haul/p.haul-service can work only over existing connections
> at the present moment, you can use p.haul-wrap helper script that
> establish required connections. Usage example:
>
> # run service
> $ p.haul-wrap service
> # run client
> $ p.haul-wrap client 10.0.0.1 vz 100
>
> One more notice, p.haul-wrap in service mode can process only single
> p.haul run at the present moment, it will be fixed in a few days.
>
>
More information about the CRIU
mailing list