Changes

8 bytes added ,  12:36, 13 January 2019
m
→‎criu restore: Using -t with criu restore is obsoleted
Line 1: Line 1: −
When performing [[live migration]], CRIU puts image files with applications' memory on a storage user provides. If the images with applications' memory are too big, this will result in big delays, due to the need to copy this data several times. Other than this, in some situations it would be desirable to avoid using the storage at all not to increase the load on it. This article describes how one can do [[live migration]] without putting images on disk, step by steps.
+
When performing [[live migration]], CRIU puts image files with applications' memory on a storage user provides. If the images with applications' memory are too big, this will result in big delays, due to the need to copy this data several times. Other than this, in some situations it would be desirable to avoid using the storage at all not to increase the load on it. This article describes how one can do [[live migration]] without putting images on disk, step by step.
    
== The process ==
 
== The process ==
Line 14: Line 14:  
  dst# criu page-server --images-dir <dir> --port <port>
 
  dst# criu page-server --images-dir <dir> --port <port>
   −
Now, page server will wait for incoming connections to write the applications memory to the <code><dir></code>. When doing [[iterative migration]], you can make page server to automatically drop duplicated pages by using <code>--auto-dedup</code> option. See the [[incremental dumps]] article for details.
+
Now, page server will wait for incoming connections to write the applications' memory to the <code><dir></code>. When doing [[iterative migration]], you can make page server to automatically drop duplicated pages by using <code>--auto-dedup</code> option. See the [[incremental dumps]] article for details.
    
=== criu dump ===
 
=== criu dump ===
Line 31: Line 31:  
Restore the applications. By now, the page server should have been stopped (check this by its return code), and images with pages are already in the <code><dir></code>.
 
Restore the applications. By now, the page server should have been stopped (check this by its return code), and images with pages are already in the <code><dir></code>.
   −
  dst# criu restore --tree <pid> --images-dir <dir>
+
  dst# criu restore --images-dir <dir>
    
=== Cleanup tmpfs ===
 
=== Cleanup tmpfs ===
Line 47: Line 47:  
* [[Live migration]]
 
* [[Live migration]]
 
* [[Iterative migration]]
 
* [[Iterative migration]]
 +
* [[Lazy migration]]
 
* [[Page server]]
 
* [[Page server]]
  
283

edits