11.
Edit
/etc/fstab
with the new boot device.
UUID=b072e1e9-05a9-4544-a4dd-b15ba49cea2f / ext4 defaults 1 1
#UUID=301e09e2-78e4-47d6-b501-d4f1098b419d /boot ext4 defaults 1 2
<<--- Original boot device
UUID=3d7a177b-0fa0-4212-9c0c-c5554bb1817a /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
12.
Edit the
vm.cfg
file and make the new boot virtual disk the first disk on the list.
Note:
The driver domain device use the following root path
/u01/app/
sharedrepo
. The boot disk root path is
/OVS/Repositories
.
The entries in the disk section of the
vm.cfg
file will look something like the
following:
u'file:/OVS/Repositories/rcrepo/.ACFS/snaps/OL6U7/VirtualMachines/
OL6U7/15f96d92a66c4b808035116ab6348d0d.img,xvda,w',
<<-- original boot/root disk
u'file:/u01/app/sharedrepo/rcrepo/.ACFS/snaps/oakvdk_ol6u7_u01/
VirtualDisks/oakvdk_ol6u7_u01,xvdb,w,oakDom1',
<<-- original u01 disku'file:/OVS/Repositories/rcrepo/.ACFS/snaps/OL6U7/
VirtualMachines/OL6U7/newboot.img,xvdc,w'
<<-- new boot disk
Move the new boot virtual disk,
newboot
, to the first disk on the list.
u'file:/OVS/Repositories/rcrepo/.ACFS/snaps/OL6U7/VirtualMachines/OL6U7/
newboot.img,xvda,w'
<<-- new boot disk
u'file:/u01/app/sharedrepo/rcrepo/.ACFS/snaps/OL6U7/VirtualMachines/
OL6U7/15f96d92a66c4b808035116ab6348d0d.img,xvdb,w,oakDom1
<<-- original boot/root disku'file:/u01/app/sharedrepo/rcrepo/.ACFS/
snaps/oakvdk_ol6u7_u01/VirtualDisks/oakvdk_ol6u7_u01,xvdc,w,oakDom1'
<<-original u01 disk
The new boot device (
xvdc
) becomes the first device (not driver domain) and
xvda
is the second domain driver device.
Chapter 12
How to Create Driver Domain Virtual Machines
12-39
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...