as3.0
Following requirements need to be met for a successful installation of
Oracle 9iR2 (9.2.0.1) on Red Hat Enterprise Linux AS/ES 3.0 (RHEL3)
on platform Linux x86 .
1. Software:
========
* Linux kernel version would be 2.4.21-4.EL
* Glibc Version Number glibc 2.3.2-95.3
[root@Linux_test bin]# rpm -q glibc
glibc-2.3.2-95.6
* OS Patches
- compat-db-4.0.14.5
- compat-gcc-7.3-2.96.122
- compat-gcc-c++-7.3-2.96.122
- compat-libstdc++-7.3-2.96.122
- compat-libstdc++-devel-7.3-2.96.122
- openmotif21-2.1.30-8.i386.rpm
- setarch-1.3-1
[root@Linux_test bin]# rpm -q compat-db-
compat-db-4.0.14-5
[root@Linux_test bin]# rpm -q compat-gcc-
compat-gcc-7.3-2.96.122
[root@Linux_test bin]# rpm -q compat-gcc-c++-
compat-gcc-c++-7.3-2.96.122
[root@Linux_test bin]# rpm -q compat-libstdc++-
compat-libstdc++-7.3-2.96.122
[root@Linux_test bin]# rpm -q compat-libstdc++-
compat-libstdc++-7.3-2.96.122
[root@Linux_test bin]# rpm -q openmotif21-
openmotif21-2.1.30-8
[root@Linux_test bin]# rpm -q setarch-
setarch-1.3-1
2. Environment:
============
* Put gcc296 and g++296 first in $PATH variable by creating the
following symbolic links.
These are required for the relinking of some Oracle binaries
(as root)
% mv /usr/bin/gcc /usr/bin/gcc323
% mv /usr/bin/g++ /usr/bin/g++323
% ln -s /usr/bin/gcc296 /usr/bin/gcc
% ln -s /usr/bin/g++296 /usr/bin/g++
ls –al /usr/bin/gcc
ls –al /usr/bin/g++ [root@Linux_test bin]# ls -al /usr/bin/gcc
lrwxrwxrwx 1 root root 15 11月 12 19:02 /usr/bin/gcc -> /usr/bin/gcc296
[root@Linux_test bin]# ls -al /usr/bin/g++
lrwxrwxrwx 1 root root 15 11月 12 19:02 /usr/bin/g++ -> /usr/bin/g++296
* hostname command should return the fully qualified hostname as
shown below:
% hostname
hostname.domainname
* If any Java packages are installed on the system, unset the Java
environment variables, for example JAVA_HOME.
* The oracle account used to install Oracle 9.2.0.1, should not have the Oracle install related variables set by default.
For example setting ORACLE_HOME, PATH, LD_LIBRARY_PATH to include Oracle binaries in .profile, .login file and /etc/profile.d should be completely avoided.
3. Other environment settings:
===========================
* For hugemem kernel install rpm setarch-1.0-2.i386.rpm or higher.
- % setarch i386
* For uni processor, smp and boot kernel this step is not required
* Define and export the environment variable LD_ASSUME_KERNEL before starting the install process:
- % export LD_ASSUME_KERNEL=2.4.19
Additional Installation Steps
=============================
* Open a new terminal window
* Apply bug patch 3006854 - to resolve libcwait symbol issue before
invoking Oracle installer.
(
- unzip p3006854_9204_LINUX.zip
- Login as the root user,
- Set your current directory to the directory where the patch is located.
- sh rhel3_pre_install.sh
)
* After completing above steps start ./runInstaller from 9iR2 CD 1 from shell where you have defined above variable. You may get the following errors:
- relink error for ins_oemagent.mk - Click on Continue and complete
the install
- apply the patch for Bug 3119415 after the install is completed
- ctx relinking error in ins_ctx.mk: Click ignore. This is fixed by applying 9.2.0.4 patchset.
* The installation will continue without displaying further errors.
ADDITIONAL STEPS FOR 9.2 RAC
============================
Following manual steps need to be done after CM install.
Before starting the Cluster Manager :
1) on local node,
- cd $OH/oracm/admin
- cp cmcfg.ora.sbs cmcfg.ora
- edit the file to include the correct names as per required cluster
configuration.
Eg: line containing
PrivateNodeNames=%PRIVATE_NODE_NAMES%
should be edited as
PrivateNodeNames=node1, node2
One additional entry needs to be made in the cmcfg.ora. :
HostName=node1.
2) copy this file to all the other nodes of the cluster, and change
the HostName entry to the corresponding nodename.
3) On all nodes except local node :
- mkdir $OH/oracm/log
ADDITIONAL NOTE
================
* For customers using asynch_io , apply bug patch 3208258
(Fixed In Ver: 9.2.0.4)
* For additional info, please also refer to the document on otn
http://otn.oracle.com/tech/linux/index.html ,
"Installing Oracle9i Release 2 on RedHat Enterprise Linux 3.0"
* Modify your kernel settings in /etc/sysctl.conf (RedHat) as follows:
# Disables packet forwarding
net.ipv4.ip_forward = 0
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
# Enables the magic-sysrq key
kernel.sysrq = 1
kernel.hostname = yourhost.yourdomain.com
#
kernel.domainname = yourdomain
#
kernel.sem = 250 32000 100 150
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.shmseg = 4096
kernel.shmall = 3279547
fs.file-max = 327679
kernel.msgmni = 2878
kernel.msgmnb = 65536
net.ipv4.ip_local_port_range = 1024 65536
REBOOT the box after saving /etc/sysctl.conf changes.