Documente Academic
Documente Profesional
Documente Cultură
HDD
Network
Used configuration
Processor Intel Core i5 2.5 Ghz
RAM
8 GB
500 GB internal HDD + 500 GB external
HDD
HDD
Network
Network adapter
Software Requirement
Virtualizatio
Oracle Virtual Box / VM Ware Player
n
Operating
System
EBS Software
Other
Software
Login to Oracle software delivery cloud Delivery portal using your credentials and search for Oracle
VM Template, select your platform. I opted for 64 bit as to extract maximum performance out of my
hardware.
a OVM Templates
From the list select Oracle VM Templates for Oracle E-Business Suite Release 12.1.3 Vision Media Pack
for x86 (64 bit) and download all the 11 files under it (V25323-01 to V25330-01 for database server
and V25331-01 - V25333-01 for application server).
b Oracle Linux Release5 Update6
Also down Oracle Oracle Linux Release 5 Update 6 Media Pack for x86_64 (64 bit) ISO disk from
oracle software cloud. We need this to first boot the virtual machine and configure the operating
system provided by oracle in template. We could have done with later releases but I dont want to
take a chance as OVM templates are built on Oracle Linux Release 5 Update 6.
c CygWin
Download and install Cygwin from internet (http://cygwin.com/install.html)
Extracting Template files
Unzip OVM Templates - Unzip all the 11 files we download. We can use any window tool like
winzip / winrar to perform this activity or we can down load CygWin to create unix like environment
under Windows and use unzip command to unzip the files. I have used CygWin to perform the
extraction.
Upon completion we will get two set of files (one for db template and one for apps template) like this
Concatenate and decompress OVM Template files Once done the unzip we need to
concatenate the files which are in .tgz format along with decompressing it. Oracle splitted entire DB
and APPS image into smaller chunks and compressed it. I browsed to the directory where files were
place or you can provide the path as well.
This will create 2 directoriesOVM_EL5U3_X86_64_EBIZ12.1.1_DB_VIS_PVM (2 Image files, 1 config file and 1 readme file)
OVM_EL5U3_X86_64_EBIZ12.1.1_APPS_VIS_PVM (2 Image files, 1 config file and 1 readme file)
Convert the disk to Virtual Machine readable format To use the .img files that we got after
concatenating and decompressing we need to convert them into some readable format that can be
read by Virtual machines. The native file format of Virtual Box is .vdi but I opted to convert the files
into .vmdk (VM Ware native format) since Virtual Box supports .vmdk files and if I wish I can use it
in VM Ware as well.
Before proceeding with guide please follow the below link to understand how to download and install
Oracle Virtual Box
Installing Virtual Box and Creating Virtual Machines
Virtual Box provides a utility called VBoxManage that will be used to convert the file format. We
can find the utility inside the installation folder where Virtual Box is installed. To make use of it
either we can browse inside the directory or we can add the path into environment variables. To do
this goto -> System Properties
Add the directory path of Virtual Box installation where VBOXManage.exe is located
Now covert the .img files to .vmdk files. While converting I have changed the names of the files so
that I can easily identify it.
Apps Server Files
=================
VBoxManage.exe convertfromraw g:\OracleVM\Apps-VM\ebs1211apps.img
d:\OracleVM\Apps-VM\EBIZ12.1.3_APPS_VIS\ebs1213apps.vmdk
VBoxManage.exe convertfromraw g:\OracleVM\Apps-VM\System.img d:\OracleVM\AppsVM\EBIZ12.1.3_APPS_VIS\ebs1213appsroot.vmdk
DB Server Files
===============
VBoxManage.exe convertfromraw g:\OracleVM\DB-VM\ebs1211db.img d:\OracleVM\DBVM\EBIZ12.1.3_DB_VIS\ebs1213db.vmdk
VBoxManage.exe convertfromraw g:\OracleVM\DB-VM\System.img d:\OracleVM\DBVM\EBIZ12.1.3_DB_VIS\ebs1213dbroot.vmdk
*** Above steps are performed on Windows system, you can find equivalent command for other
Operating System if your HOST Operating System is different.
Please follow the below link to understand how to Create Virtual Machine in Virtual Box
Creating Virtual Machine in Oracle Virtual Box {{{{PROVIDE LINK for Blog - }}}}
Configuration for Virtual Machines
Database Server
Application Server
Processor/CPU
1 Processor/CPU
1
RAM
3 GB
RAM
1.5 GB
Operating
Operating
System
Oracle Linux 64bit
System
Oracle Linux 64bit
Boot Order
CD-ROM, Hard Disk
Boot Order
CD-ROM, Hard Disk
Oracle Linux R5U6 ISO, IDE
Oracle Linux R5U6 ISO,
Controller to attached two
IDE Controller to attached
Storage
.vmdk files
Storage
two .vmdk files
1-Host-Only Adapter, 1-NAT
1-Host-Only Adapter, 1Network
Adapter
Network
NAT Adapter
Data Base Server & Application Server Virtual Machine Final Configuration
Once we done with creating pre-requisites and virtual machine creation now we will move to next
section.
Next -: Section 3 Configuring Database Tier Template
Posted 22nd January by Tauseef E. Ahmad
Labels: Apps Installation VM Template Oracle Applications EBS Installation
Installing EBS R12.1.3 using Oracle VM Template without VM Server & Manager (Part 2 of 4)
Section
3
Configuring
Database
Tier
Template
Booting Linux in Rescue Mode Start the Virtual Machine created for Database Server. Make
sure the Linux bootable disk are inserted into CD-ROM / ISO Image and its supposed to boot from
CD-ROM.
Enter Linux Rescue at the prompt and enter to boot linux in rescue mode.
Configure both the network interfaces (eth0 and eth1). Right now we can just make it to use the IP
address from DHCP, that will do the job. If you are confident enough your manual configuration will
work and accessible from HOST along with Guest able to access the internet.
Now we are done with configuring the first network adapter (i.e Host-Only adapter used to connect
the Guest Machine from HOST). Same we did we have to configure the second network adapter (i.e
NAT adapter it will be used to connect to the internet to download and update kernel files). Same
can be achieved by browsing the files from installation media.
Now click on Continue and make a note of the mount point where system has been mounted. We
need to access that to make the system work.
Click OK to return to shell prompt. As instructed in the above screen shot please go to root
environment by running command: chroot /mnt/sysimage
To proceed further we have two ways to accessing the virtual machine:
Before we proceed further and if you are planning to use the guest OS from HOST via SSH then
please first check the IP of guest and OS and make sure its getting pinged from HOST OS
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 08:00:27:88:88:C4
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
C:\>ping 192.168.1.4
Pinging 192.168.1.4 with 32 bytes of data:
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.4:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
The kernels that are loaded while we booted the system in rescue mode supports Xen Kernel, where
as our target kernel will going to support that. To make it work we need to modify modprobe.conf
and install new kernel.
Before modifying the modprobe.conf its better to make a copy of it, so if something goes wrong we
can recover that.
[root@localhost ~]# cp /etc/modprobe.conf /etc/modprobe.conf.xen
[root@localhost ~]# cat /etc/modprobe.conf
alias eth0 xennet
alias scsi_hostadapter xenblk
The data base disk images that we have added are mounted on mount point /u01. Please edit
/etc/fstab so that fsck will not check to check and repair file system. Since the size of disk is large it
better to skip the fsck test for /u01. Make sure /u01 looks like as image below
[root@localhost ~]# vi /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-VM swap swap defaults 0 0
LABEL=ebs1211db /u01 ext3 defaults 1 0
[root@localhost ~]#
Installing a new Kernel The kernel that were loaded while booting (Xen) is not going to work
with OVM template, to make it work we need to replace it with standard kernel of same version. We
could have used the ISO CD-ROM that we used to boot in rescue mode to install standard kernel or
we can get it from the internet. I preferred to go over internet (Oracle Public Yum Server) to get the
Kernel. That would defilnalty need an internet connection and the NAT adapter will do the job for us.
[root@localhost ~]# cd /etc/yum.repos.d
[root@localhost]# wget http://public-yum.oracle.com/public-yum-el5.repo
--2013-01-18 05:15:08-- http://public-yum.oracle.com/public-yum-el5.repo
Resolving public-yum.oracle.com... 141.146.44.34
Connecting to public-yum.oracle.com|141.146.44.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4220 (4.1K) [text/plain]
Saving to: `public-yum-el5.repo'
100%[======================================>] 4,220 --.-K/s in 0s
2013-01-18 05:15:11 (71.9 MB/s) - `public-yum-el5.repo' saved [4220/4220]
[root@localhost]#
Update the yum repo file and make sure to set enabled=1 only for [ol5_u6_base]
[root@localhost]# vi public-yum-el5.repo
Now install Kernel OL5U6 (2.6.18-238) from Oracle public yum server.
[root@localhost]# yum install kernel-2.6.18-238.el5
Press Y to download and install the kernel.
Also install screen if its not available. For me its not there so I installed it. This will be use full to
create saved ssh sessions.
[root@localhost]# yum install screen
Now rescue tasks are done. We need to restart the system now.
Reboot the Virtual Machine
- Remove the disk from CD-ROM or change the boot order from Virtual Machine boot setting.
- Start Virtual Machine and login with root user. The default root user password is ovsroot as given in
the read me file.
- The SSH services would be starting automatically this time so no need to start SSH services manually.
After enabling the script we will execute it. Since we configured our network adapters use DHCP,
while configuration we it requires to be changed to a static IP address. The script will automatically
ask you about the details to configure the database server. Make sure to assign an IP address that is
accessible in your network and by HOST. Also while the network adapters are configured system will
restart the network adapters, So if you are connecting via SSH tools (like Putty) then you will get
disconnected from Guest OS. That is the reason we installed Screen so that we can recover the
session and continue configuration. Its advisable to use Guest console for configuration. I have used
Putty, So have saved a session using screen.
[root@localhost ~]# screen S ebsdb
It will ask for static IP address that we want to assign to our Oracle EBS database server. Provide
NetMask and Gateway and DNS server as specified in the screenshot above. Once you specified the
DNS and press enter the screen stops at this point (because I am using Putty). The network adapter
are getting restarted and assigned with new IP address. After few seconds start a new session with
new IP address that you assigned and proceed. Just invoke the saved SSH session.
Now we can see the same session. Please proceed further by providing requested details
Enter valid domain name for database server anything (host.domain.com). After that it will show
network summary and ask APPS password to continue (APPS password is apps for this instance).
There after the script will and configure your vision instance database server.
Now database server configuration is completed. If you check the OracleVM-Template file
(/etc/sysconfig/oraclevm-template) you will see the RUN_TEMPLATE_CONF =NO.
DO NOT SHUTDOWN DB SERVER WHILE WE CONFIGURE APPS SERVER.
Lets proceed to next section where we will be configuring Application Tier Server.
Next-: Section 4 Configuring Application Tier Template
Previous-: Section 1 & 2
Posted 22nd January by Tauseef E. Ahmad
Labels: Apps Installation VM Template Oracle Applications EBS Installation
Installing EBS R12.1.3 using Oracle VM Template without VM Server & Manager (Part 3 of 4)
Section 4 Configuring Application Tier Template
We need to perform the exact same steps as we did for Database template configuration with few
additional steps. Below screen shot just summarizes what all need to be done before we checkout the
additional steps involved. If you want details of each one then please follow the details below
otherwise skip the duplicate steps and check only additional steps
Booting Linux in Rescue Mode Start the Virtual Machine created for Application Server. Make
sure the Linux bootable disk are inserted into CDROM / ISO Image and its supposed to boot from
CD-ROM.
Enter Linux Rescue at the prompt and enter to boot linux in rescue mode.
Configure both the network interfaces (eth0 and eth1). Right now we can just make it to use the IP
address from DHCP, that will do the job. If you are confident enough your manual configuration will
work and accessible from HOST along with Guest able to access the internet.
Now we are done with configuring the first network adapter (i.e Host-Only adapter used to connect
the Guest Machine from HOST). Same we did we have to configure the second network adapter (i.e
NAT adapter it will be used to connect to the internet to download and update kernel files). Same
can be achieved by browsing the files from installation media.
Now click on Continue and make a note of the mount point where system has been mounted. We
need to access that to make the system work.
Click OK to return to shell prompt. As instructed in the above screen shot please go to root
environment by running command: chroot /mnt/sysimage
To proceed further we have two ways to accessing the virtual machine:
Use command:
# service sshd start
Installing a new Kernel The kernel that were loaded while booting (Xen) is not going to work
with OVM template, to make it work we need to replace it with standard kernel of same version. We
could have used the ISO CD-ROM that we used to boot in rescue mode to install standard kernel or
we can get it from the internet. I preferred to go over internet (Oracle Public Yum Server) to get the
Kernel. That would definitely need an internet connection and the NAT adapter will do the job for us.
Before we install new kernel we need to perform Additional steps. We would like to use our DB
server as server to get the updates, otherwise we can connect to internet from application server
system and update the kernel. Please perform below steps
[root@localhost]# echo "nameserver 8.8.8.8" > /etc/resolv.conf
[root@localhost]# cat /etc/resolv.conf
nameserver 8.8.8.8
[root@localhost]# nslookup public-yum.oracle.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
public-yum.oracle.com canonical name = bigip-public-yum.oracle.com.
Name: bigip-public-yum.oracle.com
Address: 141.146.44.34
Now install Kernel OL5U6 (2.6.18-238) from Oracle public yum server.
[root@localhost]# yum install kernel-2.6.18-238.el5
Press Y to download and install the kernel.
Also install screen if its not available. For me its not there so I installed it. This will be use full to
create saved ssh sessions.
Upon completion create initrd for the new kernel.
[root@localhost]# mkinitrd -v -f /boot/initrd-2.6.18-238.el5.img 2.6.18238.el5
Now rescue taks are done. We need to restart the system now.
Reboot the Virtual Machine
Start Virtual Machine and login with root user. The default
root user password is ovsroot as given in the read me file.
Same as DB server configuration after entering DNS details system will reconfigure network adapter
and your current session is gone. After few seconds start a new session with the new IP address we
assigned and pull the stored seesion that we created using screen.
[root@localhost ~]# screen d -R ebsapp
You session will be recovered, Now we need to enter APPS password to continue (ie. apps). But
before proceeding further we need to perform some of the additional steps.
Update the host file in application tier server: Start a new session and perform below steps
[root@localhost ~]# vi /etc/hosts
Ping the DB host from application and make sure its responding
Once done please go back to old session and enter the APPS password (apps) to continue.
Now script will start all the services related to Application Tier.
Now we are done with the installation. Lets see how to use it in our next and last
section
Next-: Section 5 Using Oracle Applications
Previous-: Section 3 Configuring Database Tier Template
Posted 22nd January by Tauseef E. Ahmad
Labels: Apps Installation VM Template Oracle Applications EBS Installation
Installing EBS R12.1.3 using Oracle VM Template without VM Server & Manager (Part 4 of 4)
Section 5 Using Oracle Applications 12.1.3
Now every ting is done and we are ready feel the first glimpse of Oracle EBS 12.1.3 on our own
machine.
First update the HOST on system from where we want to access the application. For me, I am using
the same laptop where I installed Oracle EBS12.1.3. So I will update the hosts file on HOST system.
[oracle@ebsdb]# . /u01/stopapps.sh
< !--[if !supportLists]-->- <!--[endif]-->The first time we start the database / application tier server, the
oracle user account has configured to ask for password change. Its a good idea to change the default
password.
If you dont want to change the default password then enter NO at every prompt and run the below
command at both the servers.
< !--[if !supportLists]-->- <!--[endif]-->When you try to start the Application service for the first time
you will see errors like below
The issue comes because there are two .env files under /u01/E-BIZ/inst/apps/
Either rename the file OR A better way is to add following entry to your . bash_profile
DB Server: VIS_ebsapp.env
[oracle@ebsdb]# echo ". /u01/E-BIZ/db/tech_st/11.2.0.2/VIS_ebsdb-s.env" >>
~/.bash_profile