Difference between revisions of "CLI/opt/--remote"

From CRIU
Jump to navigation Jump to search
(Created page with "CRIU can use this option to migrate applications over the network. == Remote == Add the <code>--remote</code> option to send the checkpoint data through the network and rest...")
(No difference)

Revision as of 14:26, 10 July 2017

CRIU can use this option to migrate applications over the network.

Remote

Add the --remote option to send the checkpoint data through the network and restore the application on a different machine.

The communication is performed as follows: At the src_node, CRIU dump sends the images through UNIX sockets to Image Proxy. Image Proxy sends them to Image Cache via a TCP connection. At the dst_node, Image Cache forwards the images via UNIX sockets to CRIU restore.

CRIU usage example with --remote:

dst_node# criu image-cache -d --port <port>
src_node# criu image-proxy -d --port <port> --address <dat_node>
src_node# criu dump -t <pid> --remote
dst_node# criu restore --remote

Image Cache

The option's syntax is image-cache -d --port.

Image Proxy

The option's syntax is image-proxy -d --port --address $dst_node.