pctl migrate
Migrates a virtual machine from one host to another.
Syntax
pctl migrate <[source_server/]ID> <destination_server[/ID]>
[--dst path]
[[--keep-src] [--switch-template] [--changesid]
Options
Name
|
Description
|
ID
|
The source virtual machine ID or name.
|
source_server
|
The source server information. Use the following format to specify this info:
[user[:password]@]server_IP_address_or_hostname[:port]
|
destination_server
|
The destination server information. If omitted, the migration will be performed locally. Use the following format to specify this info:
[user[:password]@]server_IP_address_or_hostname[:port]
|
--dst path
|
Name and path of the directory on the destination server where the virtual machine files should be stored.
|
--keep-src
|
If this option is included, the original virtual machine will be left intact on the source server. If this option is omitted, the original virtual machine will be removed from the source server.
|
--switch-template
|
Switches the virtual machine to a template and a template to a virtual machine. For example, if the source virtual machine was a template, it becomes a full featured virtual machine after the migration, and vice versa.
|
--changesid
|
Changes the resulting virtual machine SID.
|
Links
General Syntax
,
Legend
|