Migrates a running virtual machine.
migrate Vm
{ instance
destServer=
| value
destServerPool=
}value
Where
is:
instance
{ id=
| id
name=
}name
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, or a stopped virtual machine to another server pool. To migrate the virtual machine to the Unassigned Virtual Machines folder (undeploy it), do not supply a destination.
To check whether there are any conditions that may cause the virtual machine migration to fail, use the getIncompatibleReasons command before migrating the virtual machine.
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
|
Example A.97 Migrating a virtual machine to an Oracle VM Server
OVM> migrate Vm name=MyVM destServer=MyServer
Example A.98 Migrating a virtual machine to another server pool
OVM> migrate Vm name=MyVM destServerPool=MyServerPool
Example A.99 Migrating a virtual machine to the Unassigned Virtual Machines folder
OVM> migrate Vm name=MyVM