Externally Configuring a Virtual Machine
You can initially configure your virtual machines externally without connecting to the
virtual machine console by using Oracle VM Guest Additions by passing key-value
pairs to the virtual machine.
Use the
oakcli modify vm -s
command to pass parameters to the virtual machine:
# oakcli modify vm vmname -s 'key1:value1;key2:value2...'
The following example has two value pairs:
oakcli modify vm vmo16u3 -s 'com.oracle.linux.network.device.
0:eth0;com.oracle.linux.network.ipaddr.0:192.1.2.18'
Note:
•
For more information about Oracle VM Guest Additions, see "Using the
Oracle VM Guest Additions" in the Oracle VM Utilities Guide for x86 at
http://docs.oracle.com/cd/E35328_01/E35333/html/vmutl-guestadd.html
•
Refer to the whitepaper Oracle Database Appliance: Automated Virtual
Machine Provisioning for more information.
Related Topics
•
Opening a Virtual Machine Console for a Virtual Machine
Use the
oakcli show vmconsole
command to open a virtual machine console window
for an active virtual machine
If the console does not display correctly, then close the console, set the
DISPLAY
environment variable to an appropriate value for your monitor, and then rerun the
oakcli show vmconsole
command.
You can also configure your virtual machine (using
oakcli modify vm
command with
the
-s
parameter) to allow access from the OAKCLI command line instead of a
graphical user interface (GUI) virtual machine console.
Use the
oakcli show vmconsole vm name
to open a console for a virtual
machine.Open a For example, use the following command to open a console for the
virtual machine named
vm1_odarepo1
:
oakcli show vmconsole vm1_odarepo1
Chapter 12
How to Manage Virtual Machines on Oracle Database Appliance Virtualized Platform
12-28
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...