13.
Stop and restart the guest VM
oakcli stop vm vm_name
oakcli start vm vm_name
oakcli stop vm OL6U7
oakcli start vm OL6U7
14.
Check the layout of the new disks.
The layout should be similar to the following:
# df -h
Filesystem Size Used Avail Use% Mounted on/dev/xvdb2 11G 814M 8.9G 9% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/xvda1 471M 51M 391M 12% /boot
/dev/xvdc1 92G 55G 33G 63% /u01
The swap device is now under the driver domain:
/dev/xvdb
# swapon -s
Filename Type Size Used Priority
/dev/xvdb3 partition 4194300 0 -1
15.
(Optional) Synchronize the oakcli virtual machine inventory with the
vm.cfg
file.
When you edit the
vm.cfg
file, the
oakcli show vm vm name
output displays
incorrect information about the disk. You can create a temporary duplicate
(snapshot) of the virtual machine to fix the output.
oakcli stop vm vm_name
oakcli clone vm tmp_vm_name -vm vm_name -snap -driverdomain
oakcli delete vm vm_name
oakcli clone vm vm_name -vm tmp_vm_name -snap -driverdomain
oakcli delete vm tmp_vm_name
Note:
Stop the virtual machine before taking a snapshot.
For example, create a temporary clone called
tmp_OL6U7
of the virtual machine
OL6U7
using the
-snap
and
-driverdomain
options. Delete the virtual machine
OL6U7, and then use the temporary clone to create a new clone. Delete the
temporary virtual machine.
oakcli stop vm OL6U7
oakcli clone vm tmp_OL6U7 -vm OL6U7 -snap -driverdomain
oakcli delete vm OL6U7
oakcli clone vm OL6U7 -vm tmp_OL6U7 -snap -driverdomain
oakcli delete vm tmp_OL6U7
Chapter 12
How to Create Driver Domain Virtual Machines
12-41
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...