![Oracle Database Appliance X6-2-HA Deployment And User'S Manual Download Page 197](http://html1.mh-extra.com/html/oracle/database-appliance-x6-2-ha/database-appliance-x6-2-ha_deployment-and-users-manual_1646047197.webp)
The
df -h
is as follows:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 11G 814M 8.9G 9%
/tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/xvda1 479M 51M 399M 12% /boot
/dev/xvdb1 92G 55G 33G 63% /u01
1.
Clone a guest VM as a driver domain guest VM.
You can use one of the following commands to clone a virtual machine:
•
oakcli clone vm vm_name -vmtemplate template_name -repo repo_name
[-node 0|1] [-driverdomain]
•
oakcli clone vm vm_name -vmtemplate src_vmtempl_name -snap [-
driverdomain]
•
oakcli clone vm vm_name -vm src_vm_name -snap [-force] [-
driverdomain]
Note:
You must stop the virtual machine before taking a snapshot.
For example, create a driver domain guest VM named
OL6U7
from the
OL6U7_x86_64_PVHVM
source VM template. Use the
-snap
option to designate that
you want to create a snapshot of the source virtual machine and the
–
driverdomain
option to indicate that the new virtual machine will use the driver
domain.
oakcli clone vm OL6U7 -vm OL6U7_x86_64_PVHVM -snap -driverdomain
2.
Create a new boot virtual disk.
dd if=/dev/zero of=/u01/app/sharedrepo/repo name/.ACFS/snaps/vm_name/
VirtualMachines/vm_name/virtual diskfile name.img oflag=direct count=0
bs=1M seek=new size in MB
For example, create a 500 MB boot virtual disk named
newboot
for the
OL6U7
virtual machine that is in the
odarepo1
repository:
# dd if=/dev/zero of=/u01/app/sharedrepo/odarepo1/.ACFS/snaps/OL6U7/
VirtualMachines/OL6U7/newboot.img oflag=direct count=0 bs=1M seek=500
3.
Edit the
vm.cfg
file to attach the new boot disk to your guest VM.
a.
Navigate to the
vm.cfg
file.
/u01/app/sharedrepo/vm repo/.ACFS/snaps/vm name/VirtualMachines/vm
name/vm.cfg
Chapter 12
How to Create Driver Domain Virtual Machines
12-35
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...