Tuesday, August 18, 2009

12.0.4 Installation on OEL5/RHEL5

REFER TO THE FOLLOWING METALINK DOCUMENTS BEFORE STARTING INSTALLATION:(ON REDHAT ENTERPRISE LINUX 5/OEL5)
402310.1
564174.1
419646.1
432988.1

Pre-install steps for R12:
---------------------------
****APPLY THE FOLLOWING RPMS IN THE ORDER*****
rpm -ivh binutils-2.17.50.0.6-6.0.1.el5.i386.rpm
rpm -ivh binutils-2.17.50.0.6-9.0.1.el5.i386.rpm
rpm -ivh compat-binutils215-2.15.92.0.2-24.i386.rpm
rpm -ivh compat-libcwait-2.1-1.i386.rpm
rpm -ivh compat-libstdc++-3.2-1.i386.rpm
rpm -ivh compat-libstdc++-egcs-1.1.2-1.i386.rpm
rpm -ivh openmotif21-debuginfo-2.1.30-11.EL5.i386.rpm
rpm -ivh libXp-1.0.0-11.fc9.i386.rpm
rpm -ivh openmotif21-2.1.30-11.EL5.i386.rpm
rpm -ivh compat-oracle-el5-1.0-5.i386.rpm
rpm -ivh xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
rpm -ivh fonts-chinese-3.02-12.el5.noarch.rpm
rpm -ivh sysstat-7.0.2-1.el5.i386.rpm


SET KERNEL PARAMETERS:
------------------------
Add the following lines in the file /etc/sysctl.conf
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
# /sbin/sysctl -p

CREATE USERS AND GROUPS:
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba –d /oraDB oracle
# useradd -g oinstall -G dba –d /oraAPP applmgr
Change Passwords for users
# passwd oracle
# passwd applmgr

Note: While creating user (oracle/applmgr) we should not assign a directory to the user if it is a mount-point. If we do so, the default profile will not be set correctly to the users.

useradd -g dba oracle
useradd -g dba applmgr
# vi /etc/resolv.conf
options attempts:5
options timeout:15

# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
ip_address node_name.domain_name node_name

# vi /etc/sysconfig/network
HOSTNAME=node_name.domain_name

# vi /etc/security/limits.conf
hard nofile 65535
soft nofile 4096
hard nproc 16384
soft nproc 2047

Add the following lines to the /etc/profile:
if [ $USER = "oracle" ]; then
ulimit -u 16384
ulimit -n 65536
fi


Oracle HTTP Server Patch (on OEL 5 and RHEL 5 only)
-----------------------------------------------------
Download and apply the patch 6078836 from OracleMetaLink to fix an issue with the Oracle HTTP Server bundled with the E-Business Suite technology stack.

Link to Motif library for Oracle Application Server 10.1.2 (on OEL 5 and RHEL 5 only)
---------------------------------------------------------------------------------------
Perform the following command (as root on your system) to update a required link to a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:

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

Run the rapidwiz under stage as root user


Here is an example. Your stage location may vary.
UNIX:
$ cd /Stage12/startCD/Disk1/rapidwiz
$ ./RapidWizVersion
$ cd /Stage12/startCD/Disk1/rapidwiz
$ ./RapidWiz

POST INSTALLATION STEPS
-----------------------
NOTE:
Set the environment in the apps owner profile and DB owner's profile ie applmgr and oracle in our case.
vi .bash_profile
and enter the path to the consolidate env file
APPSCONTEXT_NAME.env like
. /path to env file/APPSCONTEXT_NAME.env
Save and exit

Run the bash_profile by typing
$. .bash_profile

Same has to be done in oracle user bash_profile by sourcing the env in the $RDBMS_ORACLE_HOME.

Contributed by Kalyan and Vinay, my team-mates.

1 comment:

  1. Hello Kiran,

    Thank your for the post.

    Can I use the same steps for 64 bit OEL5

    Thanks

    Rahul

    ReplyDelete