Advanced

Oracle 10g installation on RHEL AS 3,Red Hat FC 2 and 1

Posted by dba477 on · 3 comments
LXer; By Boris Derzhavets
Mail this story
Print this story

Exporting environment variable LD_ASSUME_KERNEL=2.4.1 will affect performance of Oracle 10g instance on Red Hat Linux starting with version 9, i.e. version with Native Posix Threads Implementation.

Each one of articles below:-

http://www.oracle-base.com/articles/10g/OracleDB10gInstallat...
http://www.oracle-base.com/articles/10g/OracleDB10gInstallat...
http://www.oracle-base.com/articles/10g/OracleDB10gInstallat...

Contains instructions:-

Login as the oracle user and add the following lines at the end of the .bash_profile file:

# Oracle Settings TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1; export ORACLE_HOME ORACLE_SID=TSH1; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM PATH=/usr/sbin:$PATH; export PATH PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
if [ $USER = "oracle" ]; then
  if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
  else
    ulimit -u 16384 -n 65536
  fi

Hope this helps. Regards Tim...

Compare previous oracle .bash_profiles with Werner Puschitz directives

view: http://www.puschitz.com/InstallingOracle10g.shtml

Setting Oracle Environments

Since the Oracle Universal Installer (OUI) "runInstaller" is run from the oracle account, some environment variables must be configured for this account before OUI is started.

Execute the following commands for the Bash shell which is the default shell on Red Hat Linux (to verify your shell run: echo $SHELL):

su - oracle export ORACLE_BASE=/u01/app/oracle export ORACLE_SID=test

NOTE: If ORACLE_BASE is used, then Oracle recommends that you don't set the ORACLE_HOME environment variable but that you choose the default path suggested by the OUI. You can set and use ORACLE_HOME after you finished running OUI.

To have these environment variables set automatically each time you login as oracle, you can add these environment variables to the ~oracle/.bash_profile file which is the user startup file for the Bash shell on Red Hat Linux.

su - oracle cat >> ~oracle/.bash_profile << EOF export ORACLE_BASE=/u01/app/oracle export ORACLE_SID=test EOF

Updates after Running Oracle Universal Installer

After Oracle10g has been installed, make sure that ORACLE_HOME and PATH are set for the oracle account:

oracle$ export ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1 oracle$ export PATH=$PATH:$ORACLE_HOME/bin

To have these environment variables set each time you login as oracle, add the configuration of the above Oracle environment variables to the ~oracle/.bash_profile file if you use bash (echo $SHELL).


Werner Puschitz doesn't include

LD_ASSUME_KERNEL=2.4.1 
export LD_ASSUME_KERNEL=2.4.1

into Oracle's .bash_profile

RHEL AS 3,Red Hat FC 2,1 have Native Posix Threads Implemented and Oracle 10g supports NPTL
Hence, using old threads model as is advised at oracle-base.com will affect performance of your Oracle 10g instance.

  Nav
» Read more about: Story Type: Reviews; Groups: Fedora, Red Hat

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (3)

One more link regarding 10g install on RHEL Servers

Issue has been fixed at oracle-base.com

dba477 Story submitter ·
As of now exporting of LD_ASSUME_KERNEL=2.4.1 is commented out in all articles regarding Oracle10g install at oracle-base.com.

Oracle 10g R2 Automated Storage Management on CentOS 4.1

dba477 Story submitter ·
The target of publication is to highlight the optimal sequence of steps required to bring Oracle10g (10.2.0.1) ASM-database up on CentOS4.1 , placing ASM instance and serviced databases in different Oracle Homes. Oracleasm library install is done immediately after creating "oracle" linux account and "dba" group to be ready for ASM Instance creating during the first Installer run supposed to build it. ASM instance for volumes and volume's group management is created the first by Installer along with the volume's group for database supposed to be built during the second run of Installer and to be placed into recently created volume's group View for details:- http://bderzhavets.blogspot.com

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post