Use the oakcli configure vmtemplate
command to configure a virtual machine template on Oracle Database Appliance Virtualized Platform. These values become the default values for any virtual machine cloned from this template. You can change any or all of them later with the oakcli configure vm
command.
Example
Set values for the virtual machine template named myol5u7_10gb
:
oakcli configure vmtemplate myol5u7_10gb -vcpu 2 -maxvcpu 4 -cpucap 40 -memory 1536M -maxmemory 2G -os OTHER_LINUX
-vcpu 2
sets the number of CPUs to be assigned when the virtual machine starts up to 2.
-maxvcpu 4
sets the maximum number of CPUs that can be assigned to the virtual machine to 4.
-cpucap 40
sets the maximum percentage of a CPU's capacity that can be assigned to the virtual machine to 40%.
-memory 1536M
sets the amount of memory to be assigned when the virtual machine starts up to 1536 MB.
-maxmemory 2G
sets the maximum amount of memory that can be assigned to the virtual machine to 2GB.
-os OTHER_LINUX
sets OTHER_LINUX as the operating system used by the virtual machine.