Migrates a virtual machine to another Oracle VM Server within the same server pool, and moves its local storage to another storage repository.
Syntax
Where
is:
instance
{
id=
|
value
name=
}value
Description
This command migrates a virtual machine to another Oracle VM Server within the same server pool, and moves its local storage to another storage repository.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
| The name or ID of the Oracle VM Server on which to migrate the virtual machine. The Oracle VM Server must be in the same server pool as the source Oracle VM Server. |
| The name or ID of the storage repository on which to migrate the virtual machine local storage. Only repositories hosted on an OCFS2 file system may be used if you are moving the virtual machine storage of a running virtual machine. This command moves the virtual machine configuration and virtual disks to the target repository. However, the virtual machine configuration is moved only if it resides in a local repository, not in a shared repository. |
{
|
The instance of the object using either the
|
Examples
Example A.182 Migrating a virtual machine to an Oracle VM Server, including local storage
OVM> migrateWithLocalStorage Vm name=MyVM destServer=MyServer repository=MyRepository