![Oracle Database Appliance X6-2-HA Скачать руководство пользователя страница 196](http://html1.mh-extra.com/html/oracle/database-appliance-x6-2-ha/database-appliance-x6-2-ha_deployment-and-users-manual_1646047196.webp)
6.
Run the
oakcli show vm
to confirm that the newly created virtual machine is
configured in driver domain mode.
When the virtual machine,
vm–dd1_ol5u7
, is in driver domain mode, the output for
the DriverDomain attribute is TRUE .
oakcli show vm vm–dd1_ol5u7
7.
Use the
oakcli start vm
command to start the virtual machine.
For example, start the virtual machine named
vm–dd1_ol5u7
on Node 0.
oakcli start vm vm–dd1_ol5u7 -node 0
Converting a Root Disk to a Driver Domain Disk
Set up your guest virtual machine (guest VM) root disk as a driver domain and create
a new disk as the boot driver.
This example clones an existing guest virtual machine as a driver domain guest VM
and then uses the
OL6U7_x86_64_PVHVM
template to create a guest VM and create a
new disk for the boot driver.
Using the driver domain improves the guest VM disk IO performance; however, the
driver domain is not applicable for a guest VM virtual disk that is a boot disk. Because
the boot disk is generally the root disk, you must create a new disk to be the boot
driver.
You can create a guest virtual machine by cloning an existing guest, or use one of the
templates, such as
OL6U7_x86_64_PVHVM
or
OVM_OL5U7_X86_64_PVM_10GB.tgz
, that are
available in the
/OVS
directory in Dom0.
Using driver domains requires at least Oracle Database Appliance version 12.1.2.7.0.
In this example, the following is the layout of disks in the original
OL6U7
virtual
machine:
- boot/root disk '/dev/xvda' (echo -e "p" | fdisk /dev/xvda):
Device Boot Start End Blocks Id System
/dev/xvda1 * 2 503 514048 83 Linux
/dev/xvda2 504 11264 11019264 83 Linux
/dev/xvda3 11265 15360 4194304 82 Linux swap / Solaris
- u01 disk '/dev/xvdb' (echo -e "p" | fdisk /dev/xvdb):
Device Boot Start End Blocks Id System
/dev/xvdb1 1 13054 10 83 Linux
The
/etc/fstab
is as follows:
# cat /etc/fstab
UUID=b072e1e9-05a9-4544-a4dd-b15ba49cea2f / ext4 defaults 1 1
UUID=301e09e2-78e4-47d6-b501-d4f1098b419d /boot ext4 defaults 1 2
UUID=39e5a125-a1d8-48f4-9e81-f9e89b4dd51b swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=770078eb-c083-4d52-81bf-e026ab3f3fa7 /u01 ext4 defaults 1 2
Chapter 12
How to Create Driver Domain Virtual Machines
12-34
Содержание Database Appliance X6-2-HA
Страница 15: ...Index xv...