-
Notifications
You must be signed in to change notification settings - Fork 40
Live migrating OVZ mainstream container
Pavel Emelyanov edited this page Mar 7, 2014
·
26 revisions
This page describes how to create and live migrate and OVZ container on Fedora 20
The p.haul needs this software to work
- CRIU. Take the HEAD of criu repository (http://github.com/xemul/criu), or the 1.2 release
- Python
- The python-rpyc package
- The protobuf-python package
make to compile CRIU images reading modules for p.haul.
Checked and known to work are the templates below
- Centos-6-x86_64
- Ubuntu-10.04-x86_64
Migrating is done using the p.haul script with the help of p.haul service on destination node. Both, p.haul command and service use CRIU service to dump and restore container.
- Start CRIU service on both nodes
# criu service -v4 -o $log_file --daemon
- Start P.Haul service on destination node
# p.haul-service
- Do live migration
# p.haul ovz $id $dst_node_ip -v4
Feel free to contact us on xemul (at) parallels (dot) com and criu (at) openvz (dot) org