Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Checkpointing and live migration

158 bytes added, 13:10, 11 September 2006
rephrased Online migration
== Online migration ==
There is special utility vzmigrate in OpenVZ distribution intended to support VE migration. With it help one can perform live (zero-downtimea.k.a. online) migration, i. e. while for migration VPS hangs VE “freezes” for a while some time, and after migration it continues to work as though nothing has happened. Online migration can be performed by
<pre>vzmigrate --online <host> VEID</pre>
command. During online migration all VE private data saved to an image file, which is transferred to target host.
To produce migration so easy In order for vzmigrate to work without asking for a password, ssh public keys from the source host should be in appropriate placesplaced to destination host's <code>authorized_keys</code>. In other words, command <code>ssh root@host</code> should not ask you for a password. You can use See [[Generating ssh keys|this script]] to automate the procedurefor more info.
== Manual Checkpoint and Restore Functions ==