Running Oracle VM Templates on Oracle Linux guide (Part 2 of 6)
Index of my blog series.
- Prerequisites before starting the guide.
- Installing Virtualbox and Converting the OVM Templates.
- Installing Oracle Linux for OVM. (Based on this blog from Hakan Biroglu)
- Installing and configurating the HCM database.
- Installing and configuring PeopleTools. (application server, web server and process scheduler)
- 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+ OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz.2of3+ OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz.3of3 OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz
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
Hi
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,
Chandhu
[Reply to this comment]