clone virtual machine
oakcli clone vm vm1_ol5u7 -vmtemplate OL5U7 -repo odarepo1 -node 0 -
driverdomain
3.
Run the
oakcli show vm
command to confirm that the virtual machine is
configured in driver domain mode.
When the virtual machine is in driver mode, the output for the DriverDomain
attribute is TRUE.
oakcli show vm vm1_ol5u7
4.
Use the
oakcli start vm
command to start the virtual machine.
For example, start the virtual machine named
vm1_ol5u7
on Node 0.
oakcli start vm vm1_ol5u7 -node 0
Converting a Virtual Machine to a Driver Domain Virtual Machine
Convert a guest virtual machine to a driver domain virtual machine to improve
performance.
You can clone an existing virtual machine that uses
Dom0
to create a clone virtual
machine that uses the driver domain
ODA_BASE
instead of Dom0.
In this example, virtual machine
vm–dom0_ol5u7
is on Dom0 and is not a driver domain
virtual machine. The example creates a clone virtual machine named
vm–dd1_ol5u7
that uses the driver domain
ODA_BASE
.
1.
Use the
oakcli stop
command to shut down the virtual machine.
For example, stop the virtual machine named
vm–dom0_ol5u7
. Shutting down the
virtual machine ensures that there is consistent data from the virtual machine (vm)
and virtual disks (vdisks)
oakcli stop vm vm2_ol5u7 -force
2.
Detach the virtual disk (vdisk) from
vm–dom0_ol5u7
3.
Use the
oakcli clone vm
command to clone a new virtual machine from the
original.
Create a new virtual machine named
vm–dd1_ol5u7
from the original virtual
machine named
vm–dom0_ol5u7
. Use the
-snap
option to create a snapshot of the
source virtual machine. Because the original virtual machine is not a driver domain
machine, use the
-force
and
-driverdomain
options to create a clone virtual
machine that does use the driver domain.
oakcli clone vm vm–dd1_ol5u7 -vm vm–dom0_ol5u7 -snap -force -driverdomain
4.
Attach the virtual disk (vdisk) that you detached from the source virtual machine in
Step 2 to the new driver domain virtual machine.
Attaching the vdisk ensures that the vm.cfg has the disk information with the driver
domain feature.
5.
Verify that
oakDom1
is the vdisk in the new
vm.cfg
.
Chapter 12
How to Create Driver Domain Virtual Machines
12-33
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...