Download the file V971299-01.zip
In the Oracle Software Delivery Cloud,
the Oracle VM 3 Template for Oracle Linux 7 is offered.
Extract the zip file
unzip -d . V971299-01.zip
tar xvf OVM_OL7U4_x86_64_PVHVM.ova
using the qemu-img utility convert this file
to install qemu , use the command
yum install qemu-img.x86_64
qemu-img info System.vmdk image: System.vmdk
file format: vmdk
virtual size: 15G (16106127360 bytes)
disk size: 1.4G
This file is in vmdk format , so use this command to convert the file
qemu-img convert System.vmdk -O raw System.img
Now run this command to checked the converted file
qemu-img info System.img
image: System.img
file format: raw
virtual size: 15G (16106127360 bytes)
disk size: 1.3G
Transfer this file Oracle VM server machine
Create a vm.cfg file with the following contents , main importantly
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
(Reference )
cat vm.cfg
===========
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
disk = ['file:/OVS/xxxx/System.img,xvda,w']
memory = '6144'
name = 'xxxx'
vcpus = 2
on_crash = 'restart'
on_reboot = 'restart'
vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
vif = ['type=netfront']
timer_mode = 0
After this start the vm using
xm create vm.cfg
Tags: Publish
February 20, 2018 at 12:29PM
Open in Evernote
1 comment:
Thanks for sharing Good Information
Oracle SOA Online Training
Post a Comment