Live migrate OVZ container
Revision as of 16:50, 24 January 2014 by Xemul (talk | contribs) (Created page with "We have the [https://github.com/xemul/p.haul p.haul] project that implements live migration using CRIU. This page summarizes our experience with live-migrating [http://ope...")
We have the p.haul project that implements live migration using CRIU. This page summarizes our experience with live-migrating OpenVZ containers.
Centos-6-x86_64-devel
Need to put container's private on NFS. To do this the /vz should be an NFS mount on both node. E.g. like this
Container should be created w/o userns support
# vzctl create 100 --ostemplate=centos-6-x86_64-devel --local_uid=0 --local_gid=0
The following BUGs affect migration
- Blockers
- https://bugzilla.openvz.org/show_bug.cgi?id=2874 -- init and crond use fsnotify/inotify which will not work on NFS
- Would be nice to fix
- https://bugzilla.openvz.org/show_bug.cgi?id=2873 -- killing udev solves the problem, as nobody has files opened on devtmps after it
- https://bugzilla.openvz.org/show_bug.cgi?id=2870 -- you can create a symlink /usr/bin/tar -> /bin/tar inside container to workaround