Thursday, July 21, 2011

Oracle EBS 11i/R12 with DB 10g on RedHat 5.x issues.

Hi All.


Here the steps that you need to perform for installing/migrate Oracle EBS 11i/R12 and DB 10g on RedHat 5.x:


1. After the RH5 installation please check that all need rpm's were installed:
compat-libstdc++-egcs-1.1.2-1
compat-libstdc++-33-3.2.3-6
compat-libstdc++-296-2.96-138
compat-libcwait-2.1-1
compat-oracle-el5-1.0-5
openmotif21-2.1.30-11.EL5 
binutils-2.15


The following packages must be installed from the OEL 5 or RHEL 5 distribution media: 

libXp-1.0.0-8.1.el5 
compat-libgcc-296-2.96-138 
compat-libstdc++-33-3.2.3-61 
compat-db-4.2.52-5.1


2. Update OS parameters:



vi /etc/sysctl.conf
==============================
# Kernel Parameters for Oracle 10.2.0
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144


run command :
su - root
sysctl -p


vi /etc/security/limits.conf :
==============================


# To increase the shell limits for Oracle 10g
orimax soft nproc 2047
orimax hard nproc 16384
orimax soft nofile 1024
orimax hard nofile 65536


vi /etc/pam.d/system-auth :
==============================


session required pam_limits.so
session required pam_unix.so


vi /etc/profile :
==============================
if [ $USER = "<oracle user>" ]; then
        if [ $SHELL = "/bin/bash" ]; then
              ulimit -u 16384
              ulimit -n 63536
fi
        else
              ulimit -u 16384 -n 63536
        fi
fi



3. perl adcfgclone.pl dbTier:
==============================
export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'
need add to bash_profile
run: perl adcfgclone.pl dbTier


For clonning from RH4 to RH5
==============================
see the Note:747424.1 (afmkinit.sh exiting with status 127)
edit $ORACLE_HOME/appsutil/bin/adgetlnxver.sh :change LD_ASSUME_KERNEL with XD_ASSUME_KERNEL
re-run: perl adcfgclone.pl dbTier


4. perl adcfgclone.pl appsTier:
==============================
export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'
need add to bash_profile


ln -s /usr/bin/ld215 /usr/bin/ld
Install Patch 6078836
ln -s /usr/lib/libdb.so.2 /usr/lib/libdb.so.3
perl adcfgclone.pl appsTier


For clonning from RH4
==============================
install  patch 6365595 
or
edit $AD_TOP/adgetlnxver.sh :change LD_ASSUME_KERNEL with XD_ASSUME_KERNEL
re-run: perl adcfgclone.pl appsTier


5. DISCOVERER issue:
==============================

OPMN not started after discoverer installation on RH5


cd $ORACLE_HOME/opmn/conf
cp opmn.xml opmn.xml.ORG
cat opmn.xml.ORG | grep -v LD_ASSUME_KERNEL > opmn.xml
diff opmn.xml.ORG opmn.xml
$ORACLE_HOME/opmn/bin/opmnctl stopall
$ORACLE_HOME/opmn/bin/opmnctl start


Good Luck ..

No comments:

Post a Comment