[CRIU] Dump Process
Thouraya TH
thouraya87 at gmail.com
Wed Jul 16 07:16:23 PDT 2014
As i said, i can't, for the moment, test the restore process on a new
machine.
*Not only. You also have to make sure that files that are in use by your
processes are available on the other machine.*
Input files for example: i have to save them
In the same directory where i saved img files (imgDir in my case) ? can you
give me some details please ?
Thanks a lot.
Bests.
2014-07-16 14:52 GMT+01:00 Pavel Emelyanov <xemul at parallels.com>:
> On 07/16/2014 05:50 PM, Thouraya TH wrote:
> > You use 3 terms interchangeably -- interrupt, stop and kill the process.
> --Yes
> > i want just stay running the ./test.sh script
> >
> > root at thouraya-Lenovo-3000-N500:/home/thouraya# criu dump -vvvv -o
> dump.log *-R* -t 4172 --shell-job && echo OK
> > OK
> > it works :)
> >
> > Please, i have two other questions which are importants for me:
> > 1) i'd like to restart process on a new machine
> > Here is restore files in my current machine:
> > root at thouraya-Lenovo-3000-N500:/home/thouraya/imgDir# criu restore -d
> -vvv -o restore.log && echo OK
> > OK
> > root at thouraya-Lenovo-3000-N500:/home/thouraya/imgDir# ls
> > cgroup.img fifo-data.img netlinksk.img
> sigacts-20099.img
> > core-19654.img fifo.img ns-files.img signalfd.img
> > core-20099.img filelocks-19654.img packetsk.img
> signal-p-19654.img
> > creds-19654.img filelocks-20099.img pagemap-19654.img
> signal-p-20099.img
> > creds-20099.img fs-19654.img pagemap-20099.img
> signal-s-19654.img
> > dump.log fs-20099.img pages-1.img
> signal-s-20099.img
> > eventfd.img ids-19654.img pages-2.img sk-queues.img
> > eventpoll.img ids-20099.img pipes-data.img stats-dump
> > eventpoll-tfd.img inetsk.img pipes.img stats-restore
> > ext-files.img inotify.img pstree.img tty.img
> > fanotify.img inotify-wd.img reg-files.img tty-info.img
> > fanotify-mark.img inventory.img remap-fpath.img tunfile.img
> > fdinfo-2.img mm-19654.img restore.log unixsk.img
> > fdinfo-3.img mm-20099.img sigacts-19654.img
> >
> > Question: i ask what can i do to restart process on the new machine ?
> > i have just to send imgDir to the new machine and run the command criu
> restore ?
>
> Not only. You also have to make sure that files that are in use by your
> processes are available on the other machine.
>
> > i cant't test this now because i haven't another machine with criu ..
> >
> > 2) i have to test criu dumping process with an application ( a binary
> file which uses some input files)
> > i have tested this with blcr, when i restart the process on a new
> machine, i have to migrate input fileson the machine
> > is it the same with criu ?
>
> Yes.
>
> Thanks,
> Pavel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140716/0400a6c1/attachment.html>
More information about the CRIU
mailing list