Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Man/vzmigrate.8

1,301 bytes added, 16:04, 25 September 2012
Automated import of articles *** existing text overwritten ***
[<b>--ssh=</b><i>ssh_options</i>]
[<b>--rsync=</b><i>rsync_options</i>] [<b>--keep-dst</b>]
[<b>--onlinelive</b>] [<b>-c</b>|<b>--compact</b>][<b>-s</b>|<b>--snapshot</b>] [<b>-t</b>|<b>--times</b>][<b>-v</b>] <i>destination_addressCTID</i></p> </td></tr>
</table>
container, simple CT private area transfer is performed
(<b>rsync</b>(1) is used for file transfer). For running
containers, migration may be offline either traditional (defaultwith CT stop and start) oronlinelive migration is possible.</p>
<p style="margin-left:11%; margin-top: 1em">This program
attempt.</p>
<p styletable width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"><tr valign="top" align="margin-left:"><td width="11%;"></td><td width="9%"> <p><b>--live</b></p></td><td width="2%"></td><td width="78%"> <p>--live Perform live migration: instead of restarting acontainer, checkpoint and restore are used, so there is nocontainer downtime or service interruption. Additional stepsare performed to minimize the time when a container is insuspended state. Option <b>--online</b>can be used as abackward-compatible alias.</p></td></tr></table>
<p style="margin-left:11%;"><b>-c</b>, <b>--compact</b></p> <p style="margin-left:22%;">Perform online Compact a container image (zeroi.e.run <b>vzctl compact</b>) before migration. Works for plooponly, ignored otherwise.</p> <p style="margin-downtimeleft:11%;"><b>-s</b>,<b>--snapshot</b></p> <p style="margin-left:22%;">Create a container snapshot(i.e. run <b>vzctl snapshot</b>)before migration. Works forploop only, ignored otherwise.</p> <p style="margin-left:11%;"><b>-t</b>, <b>--times</b></p>migration<p style="margin-left: during 22%;">At the end of live migration the container hangs ,output various timings for amigration stages that affectwhile and after the migration total suspended CT time. Note that it continues working as thoughonly makes sense withnothing has happened<b>--live</b>.</p>
<table width="100%" border="0" rules="none" frame="void"
<p>Verbose mode. Causes <b>vzmigrate</b> to print debugging
messages about its progress. Note that <b>-v</b>automatically implies <b>-t</b>. Multiple <b>-v</b> options
increase the verbosity.</p></td></tr>
</table>
migration of CT 102 to <b>192.168.1.130</b>:</p>
<pre style="margin-left:11%; margin-top: 1em"> vzmigrate --online live 192.168.1.130 102</pre>
== EXIT STATUS ==
<p style="margin-left:22%;">Unable to set CT name on
destination node.</p>
 
<p style="margin-left:11%;"><b>16 EXIT_PLOOP_UNSUP</b></p>
 
<p style="margin-left:22%;">Ploop is not supported by
destination node.</p>
2,253
edits