Monday, March 21, 2016

Oracle AppsUnlimited - Building your Own Machine on IaaS with EBS

Oracle Public Cloud gives multiple options to create a base image. There are options available from the market place which I will cover later. Here I will cover building your own machine image on IaaS with your own EBS Installation. If you are a customer running 12.1.3 this should interest you. This procedure can be used to build multiple development single node EBS images of your choice.

I will make the document generic to 12.2 and 12.1.3, so lets get started. Here are the high level steps

  • Build a local Oracle Linux image supported on Cloud , follow doc here and stop after rebooting the linux image.
  • Install EBS 12.2 or 12.1.3 with all the latest PSU,CPU, AD and TXK 
  • Run Pre-Clone on the Database Tier followed by Application Tier
  • Shutdown the Services
  • Follow doc here and complete the rest of the preparatory task for OPC
  • Upload the image
  • Spin-off a machine with the uploaded Image
  • Configure the Target system following Cloning documentation.
  • Finish post installation task if any
With the uploaded image , you can spin-off as many as EBS instances needed.

Reference Note for Cloning : Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone (Doc ID 1383621.1)

Though this procedure has a lot of work on customer end , I would recommend to try out Market Place Images.


Sunday, March 20, 2016

Oracle AppsUnlimited - Building your Own Machine on IaaS

To enable Oracle EBS on cloud and to install a fresh EBS Instance of your own choice then you will have to create a image. This image can be build using Oracle Linux (x86, 64-bit) releases 6.4 and 6.6 with kernel 2.6.36 or later.

High Level Steps

  • Source the ISO from E-Delivery
  • Using Oracle Virtual Box create the VM
  • Install Oracle Linux in the VM
  • Add/Enable Sudo to OPC user and specify the keys
  • Change Network Settings
  • Convert VM Image into Cloud Machine Image
  • Upload/Associate the Machine Image to Oracle Cloud
  • Create a VM on Oracle Cloud

Detailed Steps

Source the ISO from E-Delivery and Using Oracle Virtual Box create the VM













Reboot the Linux Image


  • Add OPC user , create authorized_keys from  http://192.0.0.192/latest/meta-data/public-keys/{index}/openssh-key
  • Enable SUDO for OPC User
  • Disable SELinux
  • Stop the iptables service
  • Ensure that there are no hard-coded MAC addresses
  • Update /etc/sysconfig/network-scripts/ifcfg-eth0 with the below lines
    • DEVICE=eth0
    • BOOTPROTO=dhcp
    • ONBOOT=yes
  • Update /etc/sysconfig/network with the below lines
    • NETWORKING=yes
    • HOSTNAME=localhost.localdomain
    • IPV6_AUTOCONF=no
    • NOZEROCONF=yes
  • Shutdown the VM
  • Create the Cloud Image using the below VBox command
    • VBoxManage internalcommands converttoraw OEL6.vdi OEL6.img
    • cp --sparse=always OEL6.img OEL6sp.img
    • tar -czSf OEL6_Cloud_Image.tar.gz OEL6sp.img
  • Access Compute Account and upload OEL6_Cloud_Image.tar.gz



Create an Instance






Access the Instance using the Public IP and the Key. 

With the above procedure you can create your own image and upload it to IaaS.
In addition to the above linux setup , you can install any packages or application on to it and upload it. I will cover that as a separate post.

Happy Clouding !!!

Popular Posts