Irrelevant thoughts of an oracle DBA

21 November 2007

Oracle VM: a first installation attempt

Filed under: Oracle VM — Freek D'Hooge @ 0:41

Today I had finally some time to play with oracle VM.
Since an installation attempt of a collegue already showed that you could not run oracle vm in a vmware (yes, you can take virtualisation a step to far), I had already reserved some hardware in our test environment (read: I had stolen some old pc’s),  but until now I did not had the time to actually install it.

Because two pair of eyes see more then one pair, and because installing a completly new piece of software is always fun, a collegue of mine (Geert De Paep) joined me on this install fest.

Although some steps took a long time to complete, probably due to the state of the art hardware that we where using, the installation of the vm server went rather smoothly. Because we did not bother to read the installation guide we got our first surprise: Oracle VM is using ocfs2 as file system for the images!
Later on, Geert came with an explanation for this: much like with vmware esx, you can build a server farm in which the nodes use a shared storage to access the virtual images, hence the need of a clustered file system.
Installing the management part on a second pc gave us some more problems, but after cleaning up the system (there was still an 11g oracle installed on this system) we could complete the installation without further problems (it is nice to see that oracle vm is actually using XE to store its data).

After this, the system was ready to use and after some trial and error ( and eventually start reading the documentation) we found the default username / password and managed to login to the management console.
Next step was to upload some iso images containing oracle enterprise linux. Because we did not have a ftp server available, we directly copied the iso files to the /OVS/iso_pool/install_images directory on the oracle vm server. According to the documention (which we now had in front of us), we needed to use “internal ISO” as source during the import steps. Unfortunately we could not select an iso group or label during the next step and thus not complete the import. At this moment we where pretty much stuck and we found no solution in the remaining time we had.

Great was my surprise when I tried the import again from home, and without changing anything I could now see the iso group in the drop down box (install_images) and the iso labels (the filename of the iso files). After some further testing it seems that you have to logout and login again before you can see changes (removing, adding) on the iso files, when these changes are done outside of the ovm managment console.

Well, time to go to bed now. Creating an ovm guest will have to wait until tomorrow.



  1. Excellent recommendation on importing the iso files. When I put them in a sub-directory and logged out and logged in again I had created an iso import. Thanks for posting this tip. I will try to do the same as I play with the product.


    Comment by Pat Shuff — 30 November 2007 @ 16:22 | Reply

  2. […] VM part 2 Filed under: Oracle VM — dhoogfr @ 1:07 Recently I wrote about installing Oracle VM. At that moment I just had managed to import the iso images so I could use them to setup a guest […]

    Pingback by Oracle VM part 2 « Irrelevant thoughts of an oracle DBA — 4 December 2007 @ 1:07 | Reply

  3. Although I used install_images and imported the iso file and logged off and back on, I am still unable to see the ISO group or Iso label

    Comment by Chris Bullock — 4 December 2007 @ 17:04 | Reply

  4. Chris,

    That is strange.
    In fact, it does not have to be install_images, it can be any directory name.
    This directory name should be shown as the iso group name during the iso import steps.

    Following is on my oracle vm server (not management server):

    [root@dargo iso_pool]# pwd

    [root@dargo iso_pool]# ls -l
    total 12
    drwxr-xr-x 3 root root 4096 Dec 3 17:53 elinux_45_32bit
    drwxr-xr-x 2 root root 4096 Nov 22 16:47 elinux_50_32bit
    drwxr-xr-x 2 root root 4096 Nov 21 01:19 install_images

    Now when I log on to the management website and click on “resources” / “ISO Files” / “import” / “Internal ISO” / “Next”, I get screen with some drop down boxes.
    In the first box I can select the server pool name, and then in the second I get the names of the directories existing below /OVS/iso_pool (elinux_45_32bit, …). Once I have selected one of the directories, I can select the names of the iso files from the third box.
    Once such an iso file has been imported it disappears from the selection list, if all iso files in a certain directory have been imported the directory name itself also disappears from the “iso group” box.

    Comment by dhoogfr — 4 December 2007 @ 17:19 | Reply

  5. Sorry, I jumped the gun. I had the server pool go inactive on me for some reason. Not sure why, but once I got it to active, I was able to do exactly what you had mentioned as far as logging off and back on and I was good to go.
    I am trying to use a Windows 2003 Ent Server ISO and I am now having issues with the creation of the actual VM. Not sure if it has anything to do with Intel-VT or AMD-V at this point

    Comment by Chris Bullock — 4 December 2007 @ 18:44 | Reply

  6. Chris,

    If I am not mistaken, windows is not supported as a paravirtualized guest (no possibility to modify the kernel).
    This would mean that you need a processor that supports hardware virtualisation (intel-vt or amd-v).
    Unfortunately the test hardware I have does not have such processors, so windows as guest system is a no go for me :(

    Comment by dhoogfr — 4 December 2007 @ 20:18 | Reply

  7. You are correct in that paravirtualized does not support Windows at this time. I am hearing Jan. 8th of 2008, but that is just what I have read. The issue that I have run into is this. I have Oracle VM Manager on a server and Oracle VM Server on another server. I have loaded my Win2003 iso into /OVS/iso_pool/install_images and imported it using VM manager. I approved it and everything looks good. I then went to creat the VM and it comes back with the error: “failed:>
    Not sure what it is trying to pull from the cdrom if anything at this point.

    Comment by Chris Bullock — 5 December 2007 @ 15:43 | Reply

  8. hi, the VM Manager gives to me the following Error

    Error The largest virtual disk that can be allocated is 0 MB

    i don’t know why, all partitions on VM Server has enought disk space.

    Can you help me please

    Director / IT Manager

    (Informatics and Computing Center)


    Comment by Renx — 24 February 2008 @ 0:56 | Reply

  9. René,

    Sorry for the late response
    I’m affraid I can’t really help you with this one. I think that the virtual disks are created in the OVS filesystem, which is an OCFS filesystem (although nfs should be possible as well). Have you checked if this filesystem is available?

    Comment by dhoogfr — 9 March 2008 @ 10:30 | Reply

  10. Thanks for this description it was very helpful.
    Janos Ujvari
    May, 13. 2008.
    Subotica, Vojvodina

    Comment by janos ujvari — 13 May 2008 @ 9:54 | Reply

  11. Thanks for the iso tip, you saved may day. :)

    Comment by Ramon — 27 May 2008 @ 21:38 | Reply

  12. hello,

    i want to create virtyal machine on oracle VM.i have to import iso fiel in /OVS/iso_pool path…..then reboot the machine.afterwards,i have to go login page on oracle VM SHOW THE ERROR LOGIN FAILD…


    Comment by prasad — 25 January 2009 @ 10:12 | Reply

  13. Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your webpage?
    My website is in the exact same area of interest as yourts and my users would certainly benefit from
    some of the information you provide here.

    Please leet me know if this alright wirh you. Thank you!

    Comment by ( — 12 August 2014 @ 19:03 | Reply

  14. I’m very pleased to discover this web site. I wanted to thank you for ones
    time for this particularly wonderful read!! I definitely savored every bit of it and I have
    you saved as a favorite to look at new stuff in your

    Comment by annuaire inverse — 1 October 2014 @ 16:04 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: