Wednesday, July 25th, 2012

Running Oracle VM Templates on Oracle Linux guide (Part 2 of 6)

Welcome to part 2 of my blogging series about running the Oracle VM Templates on Oracle Linux. In the previous post I told what to download before getting started. This time we will install Virtualbox and convert the OVM templates to Virtualbox Harddrives.

Index of my blog series.

  1. Prerequisites before starting the guide.
  2. Installing Virtualbox and Converting the OVM Templates.
  3. Installing Oracle Linux for OVM. (Based on this blog from Hakan Biroglu)
  4. Installing and configurating the HCM database.
  5. Installing and configuring PeopleTools. (application server, web server and process scheduler)
  6. Installing and configuring PeopleTools on your windows client.

We start by installing the Oracle VM VirtualBox. Start the installer and you will see the custom setup screen.










Choose the location where you want to install Virtualbox, and keep everything else at default. Press next and continue to install the VM Virtualbox.

After installing I created the following folder structure, the main folder is images, in this folder we have 4 sub-folders.

  • HCMDB (will contain the Database virtual machine).
  • HCMPT (will contain the Tools virtual machine).
  • OL 5.8 (Will contain Oracle Linux 5.8).
  • Tools Client Only (Will contain PeopleTools Client Only for Windows).

In this structure, put the downloaded files as seen on the picture below. After putting the files in the right folders, we will unzip them and make the virtual harddrives.










After downloading, extract all the zip files in each folder. Each one is a tgz fragment and will need to be concatenated into a single, large .tgz file. Concatenate the files with the following command:

copy /b OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz.1of3+











Do this for both of the files. This will result in two tgz files. Unzip the two tgz files. (I used 7-Zip). This will get you two tar files. Unzip these files too, and now we see some .img files. We will convert these files to .vdi files. That way we can mount the .img files directly as .vdi hard disks.











We will need to use the VBoxManage command to convert these files to .vdi files. So our next step is to add the VirtualBox installation directory (C:\Program Files\Oracle\VirtualBox) to your PATH environment variable (right-click on “My Computer”, select Properties, then Advanced Properties, then Advanced, then Environment Variables)

















This way we can use the vboxmanage command in our command line.

















Press ok and open a command line. CD to the folder where we unzipped the files and use the vboxmanage convertfromraw xxx.img xxx.vdi (replace xxx with the .img file name). Do this for all the .img files.


Now we have all .vdi hard drives in our folders and we can continue with installing Oracle Linux 5.8 in the next blog! PS. If you are running low on disk space in the meantime (it can grow quite large) you can remove all the files except the .vdi files from your hard drive.

If you have missed the first part, visit my Previous Post !



 Viewed 1345 times by 441 visitors

Category: Technical
You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response

August 1, 2012


You are providing such a beautiful information which is useful for more readers as part of many services.I am the person following your blog thoroughly for more updates…Nice

Thanks & Regards,

[Reply to this comment]