Changes

Jump to navigation Jump to search
21 bytes removed ,  17:04, 30 April 2013
crtools -> criu
Line 52: Line 52:  
Then you should create a directory for image files (e.g. <code>imgs</code>) and dump the tree starting from the VNC launching script
 
Then you should create a directory for image files (e.g. <code>imgs</code>) and dump the tree starting from the VNC launching script
   −
  # crtools dump -t 17854 --images-dir imgs/ --log-file dump.log -v 4 --tcp-established
+
  # criu dump -t 17854 --images-dir imgs/ --log-file dump.log -v 4 --tcp-established
      −
The <code>-v 4</code> option is required to make crtools more verbose and the <code>--tcp-established</code> one is needed, to make crtools handle active TCP connection -- the one between VNC server and VNC client.
+
The <code>-v 4</code> option is required to make criu more verbose and the <code>--tcp-established</code> one is needed, to make criu handle active TCP connection -- the one between VNC server and VNC client.
   −
Check the crtools return code to be 0, or the imgs/dump.log file last message to be
+
Check the criu return code to be 0, or the imgs/dump.log file last message to be
    
  Dumping finished successfully
 
  Dumping finished successfully
Line 65: Line 65:  
== Restore VNC server ==
 
== Restore VNC server ==
   −
  # crtools restore -t 17854 --images-dir imgs/ --log-file rst.log -v 4 --tcp-established -d
+
  # criu restore -t 17854 --images-dir imgs/ --log-file rst.log -v 4 --tcp-established -d
   −
What has changed from the dump command is the action (it's restore now), the log file name (not to mix things up) and the new <code>-d</code> option. It says, that after restoring crtools should exit and make the restored tree of tasks to be reparented to the init task.
+
What has changed from the dump command is the action (it's restore now), the log file name (not to mix things up) and the new <code>-d</code> option. It says, that after restoring criu should exit and make the restored tree of tasks to be reparented to the init task.
   −
Check the crtools return code to be 0, or the imgs/rst.log file last message to be
+
Check the criu return code to be 0, or the imgs/rst.log file last message to be
    
  Restore finished successfully. Resuming tasks.
 
  Restore finished successfully. Resuming tasks.
    
[[Category: HOWTO]]
 
[[Category: HOWTO]]

Navigation menu