Editing Man/vzmigrate.8
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 yes</b>|<b>no</b>] | <p style="margin-top: 1em">[<b>-r</b>|<b>--remove-area yes</b>|<b>no</b>] | ||
− | [<b>--ssh=</b><i>ssh_options</i | + | [<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>-- | + | [<b>--online</b>] [<b>-v</b>] <i>destination_address |
− | + | CTID</i></p> </td></tr> | |
− | |||
− | |||
− | |||
− | <i>destination_address CTID</i | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</table> | </table> | ||
Line 44: | Line 31: | ||
container, simple CT private area transfer is performed | container, simple CT private area transfer is performed | ||
(<b>rsync</b>(1) is used for file transfer). For running | (<b>rsync</b>(1) is used for file transfer). For running | ||
− | containers, | + | containers, migration may be offline (default) or |
− | + | online.</p> | |
<p style="margin-left:11%; margin-top: 1em">This program | <p style="margin-left:11%; margin-top: 1em">This program | ||
Line 66: | Line 53: | ||
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>--rsync=</b><i>options</i></p> | <p style="margin-left:11%;"><b>--rsync=</b><i>options</i></p> | ||
Line 90: | Line 70: | ||
attempt.</p> | attempt.</p> | ||
− | < | + | <p style="margin-left:11%;"><b>--online</b></p> |
− | |||
− | |||
− | < | ||
− | < | ||
− | + | <p style="margin-left:22%;">Perform online (zero-downtime) | |
− | + | migration: during the migration the container hangs for a | |
− | + | while and after the migration it continues working as though | |
− | + | nothing has happened.</p> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <p style="margin-left:22%;"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<table width="100%" border="0" rules="none" frame="void" | <table width="100%" border="0" rules="none" frame="void" | ||
Line 159: | Line 88: | ||
<p>Verbose mode. Causes <b>vzmigrate</b> to print debugging | <p>Verbose mode. Causes <b>vzmigrate</b> to print debugging | ||
− | messages about its progress | + | messages about its progress. Multiple <b>-v</b> options |
− | + | increase the verbosity. The maximum is 3.</p></td></tr> | |
− | increase the verbosity.</p></td></tr> | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
− | |||
== EXAMPLES == | == EXAMPLES == | ||
<p style="margin-left:11%; margin-top: 1em">Migration of CT | <p style="margin-left:11%; margin-top: 1em">Migration of CT | ||
− | 101 to < | + | #101 to <i>192.168.1.130</i> with downtime: <br> |
− | + | vzmigrate 192.168.1.130 101</p> | |
− | |||
<p style="margin-left:11%; margin-top: 1em">Online | <p style="margin-left:11%; margin-top: 1em">Online | ||
− | migration of CT 102 to < | + | migration of CT #102 to <i>192.168.1.130</i>: <br> |
− | + | vzmigrate --online 192.168.1.130 102</p> | |
− | |||
− | == | + | == DIAGNOSTICS == |
<p style="margin-left:11%; margin-top: 1em"><b>0 | <p style="margin-left:11%; margin-top: 1em"><b>0 | ||
Line 236: | Line 158: | ||
<p style="margin-left:22%;">Operation with CT quota | <p style="margin-left:22%;">Operation with CT quota | ||
failed.</p> | failed.</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> |
− | |||
== COPYRIGHT == | == COPYRIGHT == | ||
<p style="margin-left:11%; margin-top: 1em">Copyright (C) | <p style="margin-left:11%; margin-top: 1em">Copyright (C) | ||
− | 2001- | + | 2001-2010, Parallels, Inc. Licensed under GNU GPL.</p> |