You are on page 1of 12

EBS R12.

2 installation on OEL 7

Hardware Requirements:

I will be using Linux (OEL 7.x) to do this installation. All the guidelines will be related
to Linux platforms.

 500 GB Hard Disk


 16 GB of Memory/RAM.
 32 GB Swap area required.
 30gb /tmp space required.

Software Requirement:

 Download latest Oracle Virtual Box software (If VM will be used).


 Download OEL 7.x from Oracle E-Delivery site.
 Download EBS R12.2 from Oracle E-Delivery site.

High level steps:

 Installing Oracle Virtual Box and setting the required network adapters and
storage.
 Installing Oracle Linux and configuring required RPM's and configuring pre-
required setups for Oracle Linux.
 Creating stage area for Oracle Apps R12.2
 Installing Oracle Apps R12.2 and verification.

OS Prerequisites

Operating System Supported Versions

The following table lists the supported operating system versions.

Operating System Name Supported Version

5 - Update 5 or higher (64-


Oracle Linux
bit)1,3

Oracle Linux 6 - Update 1 or higher (64-bit)1


Oracle Linux 7 - Update 0 or higher (64-bit)

Oracle Linux 8 - Update 2 or higher (64-bit)2

5 - Update 5 or higher (64-


Red Hat Enterprise Linux
bit)1,3

Red Hat Enterprise Linux 6 - Update 1 or higher (64-bit)1

Red Hat Enterprise Linux 7 - Update 0 or higher (64-bit)

Red Hat Enterprise Linux 8 - Update 2 or higher (64-bit)2

SUSE Linux Enterprise Server 10 - SP2 or higher (64-bit)3

SUSE Linux Enterprise Server 11 - SP2 or higher (64-bit)

SUSE Linux Enterprise Server 12 - SP2 or higher (64-bit)

Kernel Requirements

The following table lists the required minimum kernel versions (to determine
version, enter: $ uname -r):

Operating System Kernel

2.6.32-131.0.15.el6, 2.6.32-
Oracle Linux 6
100.34.1.el6uek1

Oracle Linux 7 3.10.0-123.el7, 3.8.13-35.3.1.el7uek2

Oracle Linux 8 4.18.0-193.el8, 5.4.17-2011.1.2.el8uek3

2.6.32-131.0.15.el6, 2.6.32-
Red Hat Enterprise Linux 6
100.34.1.el6uek1

Red Hat Enterprise Linux 7 3.10.0-123.el7, 3.8.13-35.3.1.el7uek2

Red Hat Enterprise Linux 8 4.18.0-193.el8, 5.4.17-2011.1.2.el8uek3

SUSE Linux Enterprise Server 11 3.0.13-0.27-default

SUSE Linux Enterprise Server 12 4.4.21-69-default


Package Requirements

Operating
Packages requirements
System

Oracle Linux GA (7.0) or higher of Oracle Linux 7 is required


7* GA (7.0) or higher of Red Hat Enterprise Linux (RHEL) 7 is
Red Hat required
Enterprise
Linux 7* Note: Oracle has released an E-Business Suite
Preinstallation RPM (available on Oracle Unbreakable Linux
Network or from the Oracle Linux yum server) that
includes all required rpms for both the application and
database tiers of an R12 installation on Oracle Linux - see
the 'Oracle E-Business Suite Preinstallation RPM' section
below for more details.

If not using the preinstallation rpm, the following 32-bit


packages (or versions of packages) for both Oracle Linux 7 and
RHEL 7 should be installed on the application tier:
compat-libstdc++-296-2.96-144.0.2.el7.i686
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
The above packages are available on the 'addons' repository
of the Oracle Linux yum server.
Additionally, the following rpms need to be installed from the
Oracle Linux 7 or RHEL 7 distribution media on the application
tier:
libXrender-0.9.8-2.1.el7.i686
motif-2.3.4-14.el7_5.i6861
motif-devel-2.3.4-14.el7_5.i686
If not using the preinstallation rpm, the following packages
must be installed from the Oracle Linux 7 or RHEL 7
distribution media on both the application and database tiers:
binutils-2.23.52.0.1-16.el7.x86_642
compat-libcap1-1.10-7.el7.x86_64
compat-libstdc++-33-3.2.3-71.el7.i686
compat-libstdc++-33-3.2.3-71.el7.x86_64
gcc-4.8.2-16.el7.x86_64
gcc-c++-4.8.2-16.el7.x86_64
gdbm-1.10-8.el7.i686
gdbm-1.10-8.el7.x86_64
glibc-2.17-55.el7.i686
glibc-2.17-55.el7.x86_64
glibc-common-2.17-55.el7.x86_64
glibc-devel-2.17-55.el7.i686
glibc-devel-2.17-55.el7.x86_64
libaio-0.3.109-12.el7.i686
libaio-0.3.109-12.el7.x86_64
libaio-devel-0.3.109-12.el7.x86_64
libgcc-4.8.2-16.el7.i686
libgcc-4.8.2-16.el7.x86_64
libgomp-4.8.2-16.el7.x86_64
libstdc++-devel-4.8.2-16.el7.i686
libstdc++-devel-4.8.2-16.el7.x86_64
libstdc++-4.8.2-16.el7.i686
libstdc++-4.8.2-16.el7.x86_64
libXi-1.7.2-2.1.el7.i686
libXp-1.0.2-2.1.el7.i686
libXp-1.0.2-2.1.el7.x86_64
libXtst-1.2.2-2.1.el7.i686
make-3.82-21.el7.x86_64
perl-File-CheckTree-4.42-3.el7.noarch
redhat-lsb-4.1-24.0.1.el7.x86_64
sysstat-10.1.5-4.el7.x86_64
util-linux-2.23.2-16.el7.x86_64
Additionally, the following RPMs are required for the database
tier:
elfutils-libelf-devel-0.158-3.el7.x86_64
libaio-devel-0.3.109-12.el7.i686
xorg-x11-utils-7.5-13.1.el7.x86_64
Alternatively on the database tier, users can install the
following preinstallation rpm (available on Oracle Unbreakable
Linux Network or from the Oracle Linux yum server) on Oracle
Linux:
oracle-rdbms-server-11gR2-preinstall.x86_64 (for startCD
versions prior to 51 which included 11gR2)
oracle-rdbms-server-12cR1-preinstall.x86_64 (for startCD
versions 51 or higher)
The E-Business Suite Preinstallation RPM includes all the
above required rpms and dependencies for running the
application and database tiers on Oracle Linux - see the
'Oracle E-Business Suite Preinstallation RPM' section below for
more details.
Note:
1: The motif packages listed replace the previous requirement
for the openmotif21 package. See the 'Other
Requirements' section below for further instructions
regarding the Motif libraries required for use with Oracle
Forms and Reports.
2: Customers may need to upgrade to version binutils-2.27-
28.base.el7_5.1 or higher due to the issue documented below.

Swap Space

It is recommended that the swap space on the system be 16 GB or more. To


determine the size of the configured swap space, enter the following command:
# grep SwapTotal /proc/meminfo

Kernel Settings

Edit the /etc/sysctl.conf file to configure your kernel settings to the minimum
values shown below. After editing the file, use the "sysctl -p" command or restart
the system to invoke the new settings.

The following table lists the kernel settings that should be set for the OS:

Parameter Value

kernel.semmsl 2561
kernel.semmns 320001

kernel.semopm 1001

kernel.semmni 1421

kernel.shmall 20971524

kernel.shmmax Half the size of the physical memory (in bytes),


and at least 42949672952

kernel.shmmni 4096

kernel.msgmax 8192

kernel.msgmnb 65535

kernel.msgmni 2878

fs.file-max 6815744

fs.aio-max-nr 1048576

net.ipv4.ip_local_port_rang 9000 655003


e

net.ipv4.tcp_tw_recycle 05

net.core.rmem_default 262144

net.core.rmem_max 4194304

net.core.wmem_default 262144

net.core.wmem_max 1048576

Domain Name System (DNS) Resolver Parameters

Two Domain Name System (DNS) resolver parameters (timeout and attempts)
are set by default to low values when the operating system is installed. These
low values may cause network connections to an Oracle database to fail. If this
happens, add or update the following entries to these minimum settings in
the /etc/resolv.conf file on each server node:

options attempts:5
options timeout:15

For Oracle Linux 6, 7, and 8 and Red Hat Enterprise Linux 6, 7 and 8:

Verify that the /etc/hosts file is formatted as follows:


127.0.0.1 localhost.localdomain localhost
[ip_address] [node_name].[domain_name] [node_name]

Modify ulimit settings in limits.conf

Open the /etc/security/limits.conf file and change the existing ulimit settings for
"hard" and "soft" parameters as follows. Restart the system after making
changes.

* hard nofile 65536


* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
* hard stack 16384
* soft stack 10240

Create required link to Motif library (Oracle Linux 7 and 8, RHEL 7 and 8, and
SLES 12 only)
Perform the following command (as root on your system) to create a required
link to the Motif library for Oracle Forms and Reports:
# cd /usr/lib
# ln -s libXm.so.4.0.4 libXm.so.2

Oracle Apps R12.2 pre-req install steps.

Check for per-requisite rpms and libraries. I will use automatic method (yum) as
below for checking and installing required rpms for Oracle Apps R12.2. It will also
create user oracle and applmgr.

Make the following changes to yum.repos.d :

Install the rpm using public-yum:

1. As an authorized user (such as root), retrieve the file that configures repository
locations:
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo

With Oracle Linux 6 installation there would be defualt file present. Backup that file
and download new as per above command.

For Oracle Linux 5, users should replace ‘public-yum-ol6.repo’ with ‘public-yum-


el5.repo’ above.

2. Using a text editor, change the field ‘enabled=0’ to ‘enabled=1’ for the repositories
corresponding to the machine’s operating system while also enabling the ‘addons’
channel. Here’s an example of a repo file’s entries:
[ol6_latest]

name=Oracle Linux $releasever Latest ($basearch)

baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/

gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6

gpgcheck=1

enabled=1

[ol6_addons]

name=Oracle Linux $releasever Add ons ($basearch)

baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/

gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6

gpgcheck=1

enabled=1
[ol6_UEK_latest]

name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever


($basearch)

baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/

gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6

gpgcheck=1

enabled=1

3. Install the R12 pre-reqs using below command

# yum install oracle-ebs-server-R12-preinstall.x86_64

Make sure internet connection is working fine. Once the pre-reqs are installed. We
can verify the users.

# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
# id applmgr
uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall)

Add appplmgr to dba group as well.

# usermod -aG dba applmgr


# id applmgr
uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Change the password for oracle and applmgr user.

4. Check the swap Memory. It should be minimum 16 GB.

#grep SwapTotal /proc/meminfo

SwapTotal:      20479996 kB

5.  Make sure below values are setup in configuration files.


/etc/security/limits.conf:
---------------
 * hard nofile 65536
 * soft nofile 4096
 * hard nproc 16384
 * soft nproc 2047
 * hard stack 16384
 * soft stack 10240

6. Link to Motif library in Oracle Application Server 10.1.2

unlink /usr/lib/libXtst.so.6
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

#ls -ltr /usr/lib/libXtst.so.6

lrwxrwxrwx. 1 root root 16 Feb 21 11:57 /usr/lib/libXtst.so.6 -> libXtst.so.6.1.0

#unlink /usr/lib/libXtst.so.6

#ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

#ls -ltr /usr/lib/libXtst.so.6


lrwxrwxrwx. 1 root root 29 Mar 27 07:57 /usr/lib/libXtst.so.6 ->
/usr/X11R6/lib/libXtst.so.6.1

7. Set your inventory location under /etc/oraInst.loc as  


inventory_loc=/u01/oracle/oraInventory 
inst_group=dba 

#cat /etc/oraInst.loc
inventory_loc=/u01/oracle/oraInventory 
inst_group=dba 

#mkdir -p /u01/oracle/oraInventory
#chmod 755 -R /u01/oracle/oraInventory
#ls -ld /u01/oracle/oraInventory
drwxr-xr-x. 2 root root 4096 Mar 27 08:03 /u01/oracle/oraInventory
Change Permissions to oracle
chown  -R oracle:dba /u01/oracle/oraInventory
chmod -R 777 /u01/oracle/oraInventory

Make we have all the zip downloaded and placed at /stage.

Now we will unzip the startCD zip files.

After unzipping the above 3 zip files we will see a folder created with startCD name.

# ls -ld startCD

- Check the version of start CD.

Note: During installation rapidwiz might error with the unzip version if it higher than
5.5x.
The startCD provide us with correct version of the unzip. We will use same.

mv /usr/bin/unzip /usr/bin/unzip_orig
ln -s /stage/startCD/Disk1/rapidwiz/unzip/Linux_x64/unzip /usr/bin/unzip

Check version 
unzip -version

We will build stage now which will automatically take care of all unzipping all other
zip file and checking its integrity.

Go to below directory and run buildstage.sh

# pwd
/stage/startCD/Disk1/rapidwiz/bin
# ls -ltr buildStage.sh

-rwxr-xr-x. 1 root root 17325 Jan 20  2016 buildStage.sh


Press Enter

Select Option 1

Select option 2 as we are using Linux.

You might also like