Welcome! Wikis are websites that everyone can build together. It's easy!

Location: Oracle VM

Discussion: Convert VMware image to Oracle VM image

Keyword tags: linux Oracle VM oraclevm virtualization vm
Watch

Anonymous  (Get credit for your thread)


FlorinPop
FlorinPop
Convert VMware image to Oracle VM image
Nov 16 2007, 3:05 PM EST
Is it possible to convert an existing VMware image (OEL5 or Win XP) into an Oracle VM image? If affirmative which are the steps? 0  out of 3 found this valuable. Do you?    
wcoekaer

wcoekaer
RE: Convert VMware image to Oracle VM image
Nov 16 2007, 3:50 PM EST
Yes, on the server CD we have qemu-img which you can use. we will put up a wiki for this soon
basically you can copy over the vmware disk and the config file and then create a new vm.cfg file and then convert the disk image using qemu-img
5  out of 7 found this valuable. Do you?    
FlorinPop
FlorinPop
RE: Convert VMware image to Oracle VM image
Nov 16 2007, 5:12 PM EST
Thanks for the prompt answer. I will give it a try next week.

Now I am thinking at another scenario: is it possible to migrate an entire system(OEL5/XP), including OS, programs, files ... to an Oracle VM without losing any data or reinstalling any software?
0  out of 2 found this valuable. Do you?    
bjrsousa

bjrsousa
RE: Convert VMware image to Oracle VM image
Nov 17 2007, 9:53 AM EST
Hello,

Perhaps the best way, to acomplish it , is to do a full migration from vmware VM to the Oracle (XEN) VM.
A point of start could be http://wiki.xensource.com/xenwiki/VMDKImage

Have fun ;)
0  out of 2 found this valuable. Do you?    
FlorinPop
FlorinPop
RE: Convert VMware image to Oracle VM image
Nov 17 2007, 11:35 AM EST
Thanks Bruno, but I think your answer applies to my initial question. In the second one I was thinking if it is possible and how can I make a VM image from a real installation(OEL5, Oracle DB 10.2.0.3, APEX, and so on) that I have directly on hardware, so that I will be able to install OVM on the same machine and then to run the previous server installation as a VM in Oracle VM. Is this scenario science fiction? :) 0  out of 2 found this valuable. Do you?    
bjrsousa

bjrsousa
RE: Convert VMware image to Oracle VM image
Nov 18 2007, 9:53 AM EST
Hi Florin,
It's possible indeed , but it's a rather tricky task.
Anyway, you may take a look in http://docs.xensource.com/XenServer/4.0.1/guest/ch04s03.html and http://docs.xensource.com/XenServer/4.0.1/guest/ch02s04.html

Have fun ;)
0  out of 1 found this valuable. Do you?    
wcoekaer

wcoekaer
RE: Convert VMware image to Oracle VM image
Nov 18 2007, 1:06 PM EST
so we need to put up a script for you but basically :
copy the vmdk file and the text file of the vm description to your vmserver
put it in /OVS/running_pool/<somenameyouwant>
then do
qemu-img myvmwaredisk.vmdk -O raw system.img
then look at a vm.cfg and edit it so that you put the file:/OVS/running_pool/<somenameyouwant>/system.img in there as disk
and change vcpus and memory to what you wanted it to be

can you try ?
3  out of 4 found this valuable. Do you?    
sergio_oracle

sergio_oracle
RE: Convert VMware image to Oracle VM image
May 15 2008, 9:51 PM EDT
Note, you need to use the convert command in the qemu-img syntax

# qemu-img convert rhel.vmdk -O raw system.img
2  out of 2 found this valuable. Do you?    

Related Content

(what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)
Top Contributors