Oracle X6-2-HA Deployment And User's Manual page 197

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

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
Clone a guest VM as a driver domain guest VM.
1.
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
Create a new boot virtual disk.
2.
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
Edit the vm.cfg file to attach the new boot disk to your guest VM.
3.
Navigate to the vm.cfg file.
a.
/u01/app/sharedrepo/vm repo/.ACFS/snaps/vm name/VirtualMachines/vm
name/vm.cfg
How to Create Driver Domain Virtual Machines
Chapter 12
12-35

Advertisement

Table of Contents
loading

Table of Contents