A.141 remove Vm

Removes a virtual machine from an Oracle VM Server, server pool, or anti affinity group.

Syntax

remove Vm instance from { AntiAffinityGroup | Server | ServerPool } instance

Where instance is:

{ id=value | name=value }

Description

This command removes a virtual machine from an Oracle VM Server, server pool, or anti affinity group. The virtual machine cannot be running, and must be stopped before using this command.

In the Oracle VM Manager Web Interface:

  • When you remove a virtual machine from an Oracle VM Server, it is moved to the server pool and is available by displaying the Virtual Machines perspective at the server pool level in the Servers and VMs tab.

  • When you remove a virtual machine from a server pool, it is moved to the Unassigned Virtual Machines folder in the Servers and VMs tab.

Options

The following table shows the available options for this command.

Option

Description

{ AntiAffinityGroup | Server | ServerPool }

The object from which to remove the virtual machine.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyVM.

Examples

Example A.187 Removing a virtual machine from a server pool

OVM> remove Vm name=MyVM from ServerPool name=MyServerPool

Example A.188 Removing a virtual machine from an Oracle VM Server

OVM> remove Vm name=MyVM from Server name=MyServer

Example A.189 Removing a virtual machine from an anti affinity group

OVM> remove Vm name=MyVM from AntiAffinityGroup name=MyAAGroup

See Also