Migrates a virtual machine.
Syntax
Where
is:
instance
{
id=
|
value
name=
}value
Description
This command migrates a virtual machine to an Oracle VM Server or server pool.
You can migrate a running virtual machine to an Oracle VM Server within the same server pool. To migrate the virtual machine to the Unassigned Virtual Machines folder (undeploy it), do not supply a destination.
It is not possible to migrate a stopped virtual machine using this command. To do this, you should use the remove Vm and add Vm commands instead.
To migrate a virtual machine, including the local storage, use the migrateWithLocalStorage Vm command.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
[
| The name or ID of the Oracle VM Server or server pool on which to migrate the virtual machine. |
{
|
The instance of the object using either the
|
Examples
Example A.179 Migrating a virtual machine to an Oracle VM Server
OVM> migrate Vm name=MyVM destServer=MyServer
Example A.180 Migrating a virtual machine to a server pool
OVM> migrate Vm name=MyVM destServerPool=MyServerPool
Example A.181 Migrating a virtual machine to the Unassigned Virtual Machines folder
OVM> migrate Vm name=MyVM