Use the oakcli configure vm
command to configure a virtual machine on Oracle Database Appliance Virtualized Platform and to increase or decrease resource allocation to user domains.
You must restart the domain for the resource allocation change to take effect.
Syntax
oakcli configure vm name [-vcpu cpucount -maxvcpu maxcpu -cpuprio priority -cpucap cap -memory memsize -maxmemory max_memsize -os sys -keyboard lang -mouse mouse_type -domain dom -network netlist -autostart astart -disk disks -bootoption bootstrap -cpupool pool -prefnode 0|1 -failover true|false][-h]
Parameters
Parameter | Description |
---|---|
|
The name assigned to the virtual machine. |
|
Number of nodes assigned to the virtual machine. The range is 1 to 72. This number depends on your Oracle Database Appliance configuration:
|
|
Maximum number of CPUs that the virtual machine can consume. The range is 1 to 72. This number depends on your Oracle Database Appliance configuration:
|
|
Priority for CPU usage, where larger values have higher priority. The range is 1 to 65535. |
|
Percentage of a CPU the virtual machine can receive. The range is 10 to 100. |
|
Amount of memory given to the virtual machine: (1 to 248)G to (1to 760G) or (1 to 253952)M to (1 to 778240)M, based on RAM. The default is M. |
|
Maximum amount of memory allowed for the virtual machine: (1 to 248)G to (1 to 760)G or (1-253952)M to (1-778240)M, based on RAM. The default is M. |
|
Operating system used by the virtual machine (WIN_2003, WIN_2008, WIN_7, WIN_VISTA, OTHER_WIN, OL_4, OL_5, OL_6, RHL_4, RHL_5, RHL_6, LINUX_RECOVERY, OTHER_LINUX, SOLARIS_10, SOLARIS_11, OTHER_SOLARIS, or NONE) |
|
Keyboard used by virtual machine (en-us, ar, da, de, de-ch, en-gb, es, et, fi, fo, fr, fr-be, fr-ca, hr, hu, is, it, ja, lt, lv, mk, nl, n--be, no, pl, pt, pt-br, ru, sl, sv, th, or tr) |
|
Mouse type used by the virtual machine (OS_DEFAULT, PS2_MOUSE, USB_MOUSE, or USB_TABLET) |
|
Domain type from the following options:
|
|
MAC address and list of networks used by the virtual machine |
|
Startup option for virtual machine (always, restore, or never) |
|
List of disks (slot, disktype, and content) used by virtual machine |
|
Boot option used to bootstrap the virtual machine (PXE, DISK, or CDROM) |
|
Named CPU pool assigned to the virtual machine |
|
Preferred node on which the virtual machine will attempt to start (Node 0 or Node 1). This parameter is only valid for virtual machines created in shared repositories. |
|
Allow (use the keyword "true") or disallow (use the keyword "false") the virtual machine to start or restart on a node other than the node defined by the |
|
(Optional) Display help for using the command. |
Usage Notes
All of the parameters, except for name
, are optional.
You must include at least one optional parameter for the command to work.
When you create a virtual machine, select the Processor Cap as a percentage, between 10 and 100%. The default is 100%. This value is then converted to a CPU utilization limit in the vm.cfg
file for the virtual machine. The value set in the vm.cfg
file limits the amount of CPU a guest is allowed to consume. If the Processor Cap is set at 100% in Oracle VM, then the value set in vm.cfg
is 0, which means there is no limit to CPU utilization.
See Also:
Oracle VM release 3.1 documentation contains more information about the options in the preceding table. Access the library at the following URL:
http://docs.oracle.com/cd/E27300_01
For example, refer to 2.8. Virtual Machines for information about the the -domain dom
options:
http://docs.oracle.com/cd/E27300_01/E27309/html/vmusg-ovm-vms.html
Example
This command example changes the number of virtual CPUs to 3, and changes the virtual memory size to 4 GB in a virtual machine named odarep01
:
oakcli configure vm odarep01 -vcpu 3 -memory 4196