4.1.9. prlctl migrate

Migrates a virtual machine from one server to another.

Syntax. 

prlctl migrate [<source_server>/]<VM_name> <destination_server>[/<VM_name>]
               [--dst=<path>] [--keep-src|--remove-src] [--changesid] [--no-compression]
               [--no-tunnel] [--ssh <options>]

Table 4.9. Options

NameDescription

<VM_name>

The source virtual machine 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

Do not remove the original VM from the source server. Cannot be used together with --remove-src.

--remove-src

Remove the original VM from the source server. Enabled by default. Cannot be used together with --keep-src.

--changesid

Changes the resulting virtual machine SID.

--no-compression

Disable data compression during migration.

--no-tunnel

Disables connection tunneling for migration. Connection tunneling provides secure data transmission. The option works only for VM live migration.

--ssh

Additional options to pass to ssh to connect to the destination server. All standard ssh options are supported.

Note

Note: Do not specify the destination server hostname or IP address as an ssh option.