[CRIU] [PATCH] p.haul: explain how to prepare p.haul to work, v2

Ruslan Kuprieiev kupruser at gmail.com
Sun Oct 19 19:36:28 PDT 2014


Currently our docs do not explain how to prepare p.haul to
work.

Reported-by: Sowmini Varadhan <sowmini.varadhan at oracle.com>
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 README    | 18 ------------------
 README.md | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 18 deletions(-)
 delete mode 100644 README
 create mode 100644 README.md

diff --git a/README b/README
deleted file mode 100644
index 17fa40e..0000000
--- a/README
+++ /dev/null
@@ -1,18 +0,0 @@
-p.haul
-==============
-
-Process HAULer -- a tool to live-migrate containers and processes
-
-The live-migration idea is quite simple. To live migrate a task
-one needs to
-
-* stop it and save its state into image file(s)
-* make images available on the remote host
-* recreate task on it from the images
-
-This is what p.haul does. It heavily uses CRIU (http://criu.org)
-to do state dump and restore. Task's stopped time is decreased
-using the CRIU's pre-dump action.
-
-For more information read the P.Haul-related pages on the CRIU
-wiki (http://criu.org/Category:P.Haul).
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b6d7e7c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,32 @@
+p.haul
+======
+
+Process HAULer -- a tool to live-migrate containers and processes
+
+The live-migration idea is quite simple. To live migrate a task
+one needs to
+
+* stop it and save its state into image file(s)
+* make images available on the remote host
+* recreate task on it from the images
+
+This is what p.haul does. It heavily uses CRIU (http://criu.org)
+to do state dump and restore. Task's stopped time is decreased
+using the CRIU's pre-dump action.
+
+Get p.haul ready
+=======
+
+1. Install criu or put criu binary location to $PATH.
+
+2. Install protobuf-compiler and python-protobuf packages.
+
+3. Get the sources and run:
+
+$make
+
+This will generate rpc_pb2 and stats_pb2 python modules
+from rpc.proto and stats.proto.
+
+For more information read the P.Haul-related pages on the CRIU
+wiki (http://criu.org/Category:P.Haul).
-- 
1.9.3



More information about the CRIU mailing list