[CRIU] how to lively migration a vm container?

Bing X xiebingbing at gmail.com
Mon May 12 12:44:31 PDT 2014


I output my pid list to the attached pid_file

can anyone tell me which process associated with my container (I'm running
a docker container, within it I'm running IOR benchmark).

thanks a lot!


On Mon, May 12, 2014 at 3:34 PM, Pavel Emelyanov <xemul at parallels.com>wrote:

> On 05/12/2014 10:37 PM, Bing X wrote:
> > I am running criu on a ubuntu14.04 machine, in which I installed docker
> through apt-get install.
> >
> > Now I want to use criu dump to lively migrate it to another machine.
> >
> > the wikipedia page said :
> >
> > criu dump --tree <pid> --images-dir <path-to-existing-directory>
> --leave-stopped
> >
> > I think the pid should be the id of docker.io <http://docker.io>, but
> what is the path to the container I am running?
>
> The --images-dir's argument is not the path to container directory, it's
> the
> path to a directory CRIU will put images to.
>
> By the way, if you're planning to play with live migration you might be
> interested
> in the p.haul project http://criu.org/P.Haul. It's still under
> construction, but
> shows the way live migration is done.
>
> Thanks,
> Pavel
>



-- 
Thanks
Bing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140512/ecbb11fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pid_file
Type: application/octet-stream
Size: 3079 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140512/ecbb11fe/attachment.obj>


More information about the CRIU mailing list