Infolinks

Tuesday 3 July 2012

Installation of Oracle Applications R12.1.1 on Linux and vmware

Installation of Oracle Applications R12.1.1 on Linux and vmware

The below article is step by step procedure to Install oracle E-Business suite R12.1.1 on Oracle Enterprise Linux 5.6 (32-bit) using vmware server 2 on windows 7 64 bit.

This is a single node Installation. (All services will be hosting on same machine 0 db, conc, web, forms etc)

I have Installed it on a virtual machine with 4gb ram, 120 GB of local disk space and 1 core cpu.

- Requires 80 GB of free space for fresh installation (excluding stage area)
- Requires 100+ GB of free space for vision installation (excl. stage)

I will split this configuration in 5 steps:

1) create and configure virtual machine
2) Install linux operating system
3) create stage Area
4) Perform all operating system per-requisites
5) Install oracle E-business suite R12.1.1


create and configure virtual machine:


>> Login to vmware Server console

>> click on add virtual machine
























>> Here i have selected iso image for OS Installation, you can select local cd drive if u want.









>> Now the virtual machine is created and ready for Linux Installation


Install Linux operating system:


Here steps to Install Oracle Enterprise Linux 5.6 (32-bit). The below demonstration is for host orerp3 (another virtual machine created for R12 Installation). All steps are similar for all linux hosts.

>> Follow step by step screens:











































































Perform all operating system per-requisites:


>> create OS group, user and directories:


[root@oraerp1 ~]# groupadd dbaerp
[root@oraerp1 ~]# useradd -G dbaerp applerp
[root@oraerp1 ~]# useradd -G dbaerp oraerp
[root@oraerp1 ~]# passwd applerp
Changing password for user applerp.
New UNIX password: 
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password: 
passwd: all authentication tokens updated successfully.
[root@oraerp1 ~]# passwd oraerp
Changing password for user oraerp.
New UNIX password: 
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password: 
passwd: all authentication tokens updated successfully.
[root@oraerp1 ~]# mkdir /u01/applR12
[root@oraerp1 ~]# mkdir /u01/oraR12
[root@oraerp1 ~]# chmod -R 775 /u01/applR12/
[root@oraerp1 ~]# chmod -R 775 /u01/oraR12
[root@oraerp1 ~]# chown -R applerp:dbaerp /u01/applR12/
[root@oraerp1 ~]# chown -R oraerp:dbaerp /u01/oraR12/
[root@oraerp1 ~]# 


>> configure kernel parameters (Edit /etc/sysctl.conf file):


#All below kernel parameters are related to oracle E-biz
#################
kernel.shmall = 268435456
kernel.shmmax = 429496729
kernel.shmmni = 4096
kernel.sem = 256 32000 100 142
fs.file-max = 327679
net.ipv4.ip_local_port_range = 10000 65000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 4194304
:wq




[root@oraerp1]# vi /etc/security/limits.conf 
*       hard    nofile 65536
*       soft    nofile 4096
*       hard    nproc  16384
*       soft    nproc  2047
:wq




[root@oraerp1 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.shmmax = 429496729
kernel.shmmni = 4096
kernel.sem = 256 32000 100 142
fs.file-max = 327679
net.ipv4.ip_local_port_range = 10000 65000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 4194304
[root@oraerp1 ~]# 


>> Install OS required OS packages (rpm's)

If selected all packages same as the above shown linux Installation package selection, then just need to Install the below rpm's:




[root@oraerp1 Server]# ls -l unixODBC*
-rw-r--r-- 1 root root 850413 Nov 17  2010 unixODBC-2.2.11-7.1.i386.rpm
-rw-r--r-- 1 root root 761234 Nov 17  2010 unixODBC-devel-2.2.11-7.1.i386.rpm
-rw-r--r-- 1 root root 573232 Nov 17  2010 unixODBC-kde-2.2.11-7.1.i386.rpm
[root@oraerp1 Server]# rpm -ivh unixODBC-2.2.11-7.1.i386.rpm 
warning: unixODBC-2.2.11-7.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:unixODBC               ########################################### [100%]

[root@oraerp1 Server]# rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
warning: unixODBC-devel-2.2.11-7.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:unixODBC-devel         ########################################### [100%]

[root@oraerp1 Server]# ls -l openmotif*
-rw-r--r-- 1 root root 1374499 Nov 17  2010 openmotif22-2.2.3-18.i386.rpm
-rw-r--r-- 1 root root 1610158 Nov  3  2010 openmotif-2.3.1-5.el5_5.1.i386.rpm
-rw-r--r-- 1 root root 3102338 Nov  3  2010 openmotif-devel-2.3.1-5.el5_5.1.i386.rpm
[root@oraerp1 Server]# rpm -ivh openmotif22-2.2.3-18.i386.rpm
warning: openmotif22-2.2.3-18.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
        libXp.so.6 is needed by openmotif22-2.2.3-18.i386

[root@oraerp1 Server]# ls -l libXp*
-rw-r--r-- 1 root root 22852 Nov 17  2010 libXp-1.0.0-8.1.el5.i386.rpm
-rw-r--r-- 1 root root 15103 Nov 17  2010 libXp-devel-1.0.0-8.1.el5.i386.rpm
-rw-r--r-- 1 root root 46410 Nov 17  2010 libXpm-3.5.5-3.i386.rpm
-rw-r--r-- 1 root root 31307 Nov 17  2010 libXpm-devel-3.5.5-3.i386.rpm

[root@oraerp1 Server]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:libXp                  ########################################### [100%]
[root@oraerp1 Server]# rpm -ivh libXp-devel-1.0.0-8.1.el5.i386.rpm
warning: libXp-devel-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:libXp-devel            ########################################### [100%]

[root@oraerp1 Server]# rpm -ivh openmotif22-2.2.3-18.i386.rpm
warning: openmotif22-2.2.3-18.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:openmotif22            ########################################### [100%]

[root@oraerp1 Server]# rpm -ivh libaio-devel-0.3.106-5.i386.rpm
warning: libaio-devel-0.3.106-5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:libaio-devel           ########################################### [100%]

[root@oraerp1 Server]# ls -l sysstat-7.0.2-3.el5_5.1.i386.rpm 
-rw-r--r-- 1 root root 174229 Nov 17  2010 sysstat-7.0.2-3.el5_5.1.i386.rpm
[root@oraerp1 Server]# rpm -ivh sysstat-7.0.2-3.el5_5.1.i386.rpm
warning: sysstat-7.0.2-3.el5_5.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:sysstat                ########################################### [100%]
[root@oraerp1 Server]# 




>> download and Install patch "6078836" from MOS:


[root@oraerp1 6078836]# pwd
/u01/sw_home/6078836
[root@oraerp1 6078836]# ls
libdb.so.2  README.txt
[root@oraerp1 6078836]# ls -l /usr/lib/libdb.so.2
ls: /usr/lib/libdb.so.2: No such file or directory
[root@oraerp1 6078836]# cp libdb.so.2 /usr/lib/
[root@oraerp1 6078836]# ls -l /usr/lib/libdb.so.2
-rw-r--r-- 1 root root 5825 Nov 27 11:38 /usr/lib/libdb.so.2
[root@oraerp1 6078836]# 


- This is because there is missing library file which is required for R12 Install


>> Run xhost + command to enable GUI windows:


[root@oraerp1 ~]# xhost +
access control disabled, clients can connect from any host
[root@oraerp1 ~]# 



>> Create stage Area:

There are two ways we can create stage for R12
1. Stage using script adautostage.pl from start here CD
2. Manual stage - create directories and copy media as listed below


[root@oraerp1 Dumps]# cd R12.1.1_X86/
[root@oraerp1 R12.1.1_X86]# ls
oraAppDB  oraApps  oraAS  oraDB  startCD
[root@oraerp1 R12.1.1_X86]# 







startCD  - copy Start Here Disk
oraApps  - copy APPL_TOP Disk1, Disk2
oraAS    - copy TOOLS Disk
oraDB    - copy RDBMS Disk
oraAppDB - copy Databases Disk1 to Disk9 


- I have created the stage area in an external drive

>> Install oracle E-business suite R12.1.1:

>> Run rapidwiz from the satge area

[root@oraerp1 Disk1]# cd rapidwiz/
[root@oraerp1 rapidwiz]# ls
adautostg.pl   driver  images  oui           RapidWiz.ini         template
bin            etc     jlib    rapidwiz      RapidWizVersion      unzip
ClientWiz.cmd  File    jre     RapidWiz.cmd  RapidWizVersion.cmd
[root@oraerp1 rapidwiz]# pwd
/media/DATA_STORE/Dumps/R12.1.1_X86/startCD/Disk1/rapidwiz
[root@oraerp1 rapidwiz]# ./rapidwiz


>> Follow the Installation screens


















































This article will be helpful for the beginners who want to learn how to Install oracle E-business suite R12.1.1 on Linux platform on their personal computers/laptops and also for those who want to deploy in an Enterprise server environment.

Your comments are highly appreciated if you have any queries/suggestion in regards with this article.

thanks.

Happy reading :)

No comments:

Post a Comment