Previous page

Next page

Locate page in Contents

Print this page

prlctl migrate

Migrates a virtual machine from one host to another.

Syntax

prlctl migrate [ source_server / ] <vm_ID|vm_name> <destination_server> [ / vm_name ]

[ --dst <path> ] [ --keep-src ] [ --switch-template ] [ --changesid ]

[ --ssh <options> ]

Options

Name

Description

<vm_ID|vm_name>

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

Converts 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.

--ssh

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

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