|
Tuning Linux for 10g Application Server
1. Before install the oracle 10g AS you have to install the redhat-linux AS 3 on the computer and then you have to configure the OS as for the requirement. Even we require 1GB of ram to install the Application Server.
2. About the Redhat-linux OS :-
Redhat Linux Advanced Server 3.0 version 2.4.21-4-EL
RAM 1GB or more.
/tmp directory 250 MB.
3. To configure the OS as for the Oracle 10g AS : -

--> cat /proc/cpuinfo
-->grep MemTotal /Proc/meminfo
-->free
-->df -m
--> grep SwapTotal /proc/meminfo
--> /usr/X11R6/bin/xdpyinfo
4. Redhat- Linux AS 3 patches:-
--> kernel 2.4.21-4-EL
--> kernel-smp-2.4.21-4-EL
--> kernel-enterprise-2.4.21-4-EL
The minimum support version of the “glibc” package is “ glibc-2.3.2-9.5.3 ”
5. Software package need to be install:-
--> gcc-3.2.3-20
--> setarch-1.3-1
--> pdksh â 5.2.14
--> openmotif21-2.1.30-8
--> gnome-libs-1.4.1.2.90-34.1
--> compat-glibc-7.x-2.2.4.32.5
--> compat-gcc-7.3-2.96.122
--> compat-libstdc++-7.3-2.96.122
--> compat-libstdc++-devel-7.3-2.96.122
--> compat-gcc-c++-7.3-2.96.122
--> sysstat-4.0.7
6. Comfigure of OS:-
--> cd /usr/bin
--> mv /usr/bin/gcc /usr/bin/gcc.backup
--> mv /usr/bin/g++ /usr/bin/g++.backup
--> ln -s /usr/bin/gcc296 /usr/bin/gcc
-->ln -s /usr/bin/g++296 /usr/bin/g++
7. After that you have to download the patch “3006854 “ form the site “oracle metalink “
8. Apply the patch 3006854.
9. To ensure that the system meets all the requirements : -
--> login as “root”
--> to determine which distribution and version of linux is installed, enter the folowing command: -
cat /etc/issue or cat /etc/redhat-release
--> to know the version of linux ----------- command is : - uname -r.
10. To know whether the above package is install or not use the command
--> rpm -q package-name
11. Setting the kernel parameters: -
a. /proc/sys/kernel/sem
semmsl 256
semmns 32000
semopm 100
semmni 142
b. /proc/sys/kerel/shmall
shmall 2097152
c. /proc/sys/kernel/shmmax
shmmax 2147483648
d. /proc/sys/kernel/shmmni
shmmni 142
e. /proc/sys/kernel/msgmax
msgmax 8192
f. /proc/sys/kernel/msgmnb
msgmnb 65535
g. /proc/sys/kernel/msgmni
msgmni 2878
h. /proc/sys/fs/file-max
file-max 131072
i. /proc/sys/net/ipv4/ip_local_port_range
ip_local_port_range 20000 65000

12.User and Group setup:-
a. create a group named “dba”
b. Create a user “oracle” as a member of “dba” group.
Example : - groupadd dba
useradd -g dba -d /uo1/oracle oracle.
Passwd oracle.
13.Create a directory /modules, /modules/stage /modules/state/oracleas10g “and “ repca
14.The Installable image to be available:-
--> Oracle Application server 10g (9.0.4) in “/modules/stage/oracleas10g”
--> OracleAS10g Metadata Repository
--> Creation Assistant & Utilities in “/modules/stage/repca”
15.Verify:-
user “ oracle” and Group “dba”
16.Then use the 10AS and start the Installation.
|