Creating a Virtual Machine
Create a virtual machine by cloning an imported template, cloning an assembly that
contains configured virtual machines, or cloning an existing virtual machine.
A virtual machine is a software emulation of a computer system that is granted virtual
resources, and can be started, stopped, and restarted independently.
When you clone a template, the template is imported as an archive, unpacked, and
stored as a virtual machine configuration file with disk images. The disk images are
cloned to create a new instance in the form of a virtual machine.
Instead of creating a complete clone of a template or assembly, you can create a snap
clone, which contains only the metadata defined for the virtual machine.
Related Topics
•
How to Create Clones and Snap Clones of a Template
Review these topics for an overview of clones and snap clones, and for
procedures to use to create clones.
Configuring a Virtual Machine
Use the
oakcli configure vm
command to configure a virtual machine on Oracle
Database Appliance Virtualized Platform.
Include a
-prefnode
clause, to identify the node where you want the virtual machine
to run by default and a
-failover
clause to indicate if you want the virtual machine to
use the other node when the preferred node is not available (either at startup or while
already active).
If you reconfigure a virtual machine that is currently running, then your changes do not
take effect until you stop and restart the virtual machine.
Table 12-1 Parameters Available for Configuring a Virtual Machine
Parameter
Description
-vcpu 2
Sets two (2) as the number of CPUs to be assigned to the virtual
machine when started
-cpuprio 150
Sets the CPU access priority to 150
-cpucap 20
Sets the maximum percentage of a CPU's capacity that will be
assigned to the virtual machine to 20%
-memory 1G
Sets the amount of memory assigned when the virtual machine
starts to 1 GB
-cpupool linpool
Specifies
linpool
as the CPU pool to be assigned to the virtual
machine
-keyboard en-us
Defines the keyboard type used to access the virtual machine as
en-us
-mouse USB_MOUSE
Defines the mouse type used to access the virtual machine as a
USB mouse
These values will override values assigned to these same parameters in the virtual
machine template from which this virtual machine was derived. The virtual machine
Chapter 12
How to Manage Virtual Machines on Oracle Database Appliance Virtualized Platform
12-26
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...