Editing Man/vzmigrate.8

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 17: Line 17:
  
 
<p style="margin-top: 1em">[<b>-r</b>|<b>--remove-area&nbsp;yes</b>|<b>no</b>]
 
<p style="margin-top: 1em">[<b>-r</b>|<b>--remove-area&nbsp;yes</b>|<b>no</b>]
[<b>--ssh=</b><i>ssh_options</i>] [<b>--ssh-mux</b>]
+
[<b>--ssh=</b><i>ssh_options</i>]
 
[<b>--rsync=</b><i>rsync_options</i>] [<b>--keep-dst</b>]
 
[<b>--rsync=</b><i>rsync_options</i>] [<b>--keep-dst</b>]
 
[<b>--live</b>] [<b>-c</b>|<b>--compact</b>]
 
[<b>--live</b>] [<b>-c</b>|<b>--compact</b>]
[<b>-s</b>|<b>--snapshot</b>]
+
[<b>-s</b>|<b>--snapshot</b>] [<b>-t</b>|<b>--times</b>]
[<b>--check-only</b>|<b>--dry-run</b>]
+
[<b>-v</b>] <i>destination_address CTID</i></p></td></tr>
[<b>-f</b>|<b>--nodeps</b>[<b>=</b><i>check</i>[<b>,</b><i>check&nbsp;</i>...]]]
 
[<b>-t</b>|<b>--times</b>] [<b>-v</b>]
 
<i>destination_address CTID</i></p></td></tr>
 
<tr valign="top" align="left">
 
<td width="11%"></td>
 
<td width="14%">
 
 
 
<p><b>vzmigrate</b></p></td>
 
<td width="1%"></td>
 
<td width="74%">
 
 
 
<p><b>-h</b>|<b>--help</b>|<b>--usage</b></p></td></tr>
 
 
</table>
 
</table>
  
Line 66: Line 54:
 
will be passed to ssh while establishing connection to
 
will be passed to ssh while establishing connection to
 
destination HN.</p>
 
destination HN.</p>
 
<p style="margin-left:11%;"><b>--ssh-mux</b></p>
 
 
<p style="margin-left:22%;">Enable ssh channel
 
multiplexing, establishing and reusing a single ssh
 
connection to remote server. This speeds up live
 
migration.</p>
 
  
 
<p style="margin-left:11%;"><b>--rsync=</b><i>options</i></p>
 
<p style="margin-left:11%;"><b>--rsync=</b><i>options</i></p>
Line 100: Line 81:
 
<td width="78%">
 
<td width="78%">
  
<p>Perform live migration: instead of restarting a
+
<p>--live Perform live migration: instead of restarting a
 
container, checkpoint and restore are used, so there is no
 
container, checkpoint and restore are used, so there is no
 
container downtime or service interruption. Additional steps
 
container downtime or service interruption. Additional steps
Line 120: Line 101:
 
(i.e. run <b>vzctl snapshot</b>) before migration. Works for
 
(i.e. run <b>vzctl snapshot</b>) before migration. Works for
 
ploop only, ignored otherwise.</p>
 
ploop only, ignored otherwise.</p>
 
<p style="margin-left:11%;"><b>--check-only</b>,
 
<b>--dry-run</b></p>
 
 
<p style="margin-left:22%;">Do not perform actual
 
migration, stop after preliminary checks. This is used to
 
check if a CT can possibly be migrated. Combine with
 
<b>--live</b> to enable more checks for live migration
 
case.</p>
 
 
<p style="margin-left:11%;"><b>-f</b>|<b>--nodeps</b>[<b>=</b><i>check</i>[<b>,</b><i>check&nbsp;</i>...]]</p>
 
 
<p style="margin-left:22%;">Continue migration, ignoring
 
some or all preliminary check failures. Particular checks
 
can be ignored by providing an argument to <b>--nodeps</b>
 
option. The following options can be used (comma-separated):
 
<br>
 
&bull; <b>cpu</b> &minus; ignore cpu capabilities check;
 
<br>
 
&bull; <b>ipv6</b> &minus; ignore ipv6 module check.</p>
 
  
 
<p style="margin-left:11%;"><b>-t</b>, <b>--times</b></p>
 
<p style="margin-left:11%;"><b>-t</b>, <b>--times</b></p>
Line 163: Line 124:
 
increase the verbosity.</p></td></tr>
 
increase the verbosity.</p></td></tr>
 
</table>
 
</table>
 
<p style="margin-left:11%;"><b>-h</b>|<b>--help</b>|<b>--usage</b></p>
 
 
<p style="margin-left:22%;">Print usage info and exit.</p>
 
  
 
== EXAMPLES ==
 
== EXAMPLES ==
Line 252: Line 209:
 
<p style="margin-left:22%;">Ploop is not supported by
 
<p style="margin-left:22%;">Ploop is not supported by
 
destination node.</p>
 
destination node.</p>
 
<p style="margin-left:11%;"><b>17
 
EXIT_UNSUP_CPT_VER</b></p>
 
 
<p style="margin-left:22%;">CPT version incompatibility
 
with the destination node.</p>
 
 
<p style="margin-left:11%;"><b>18 EXIT_UNSUP_CPU</b></p>
 
 
<p style="margin-left:22%;">Destination node CPU
 
incompatibility.</p>
 
 
<p style="margin-left:11%;"><b>19
 
EXIT_CANT_READ_REMOTE_CONFIG</b></p>
 
 
<p style="margin-left:22%;">Unable to read remote
 
vz.conf.</p>
 
 
<p style="margin-left:11%;"><b>20 EXIT_LOCKED</b></p>
 
 
<p style="margin-left:22%;">Can&rsquo;t lock container
 
(already locked).</p>
 
  
 
== SEE ALSO ==
 
== SEE ALSO ==
  
<p style="margin-left:11%; margin-top: 1em"><b>rsync</b>(1),
+
<p style="margin-left:11%; margin-top: 1em"><b>rsync</b>(1).</p>
[[Man/vzcptcheck.8|<b>vzcptcheck</b>(8)]].</p>
 
  
 
== COPYRIGHT ==
 
== COPYRIGHT ==
  
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2001-2013, Parallels, Inc. Licensed under GNU GPL.</p>
+
2001-2012, Parallels, Inc. Licensed under GNU GPL.</p>

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)