RHEL System Configuration Changes for Oracle 10G

Below is a list of RHEL system configuration changes that Oracle 10G requires before it is installed.

First, check the following kernel parameters using the commands below:

/sbin/sysctl -a | grep kernel.shmall
/sbin/sysctl -a | grep kernel.shmmax
/sbin/sysctl -a | grep kernel.shmmni
/sbin/sysctl -a | grep kernel.sem
/sbin/sysctl -a | grep fs.file-max
/sbin/sysctl -a | grep net.ipv4.ip_local_port_range
/sbin/sysctl -a | grep net.core.rmem_default
/sbin/sysctl -a | grep net.core.rmem_max
/sbin/sysctl -a | grep net.core.wmem_default
/sbin/sysctl -a | grep net.core.wmem_max

If any parameters are lower than the examples below, you will have to increase them by editing “/etc/sysctl.conf” file, adding the appropriate lines as expressed below. If the current value is higher, leave it as is.

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 = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144

Next, edit your “/etc/security/limits.conf” file, adding the following lines:

oracle          soft    nproc           2047
oracle          hard    nproc           16384
oracle          soft    nofile          1024
oracle          hard    nofile          65536

If your current “/etc/pam.d/login” file does not already contain the following line, add it:

session    required     pam_limits.so

Finally, add the following lines to your “/etc/profile” file:

#Tweaks for Oracle
if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
fi

These are just the basic steps I take. See the “Oracle Database Installation Guide” for more complete instructions.

Discuss This Article


One Response to “RHEL System Configuration Changes for Oracle 10G”

  1. bish on March 26th, 2008 1:59 am #

    I wrote an RPM do to this. It’s half a moving target, and half tedium. Roll it out in PXE-KS and rejoice.


Got something to say?






Post Tags (user submitted): t (101) - sysctl (8) - f (8) - RHEL ulimit (7) - RHEL5 Oracle 10g (6) - oracle 10g on RHEL5 (5) - rhel5 ulimit (5) - RHEL4 ulimit (5) - install oracle 10g on RHEL5 (5) - rmem_default sysctl (5) - shmmax oracle 10g (4) - oracle 10g RHEL 5 (4) - oracle 10g rhel4 (4) - oracle sysctl (4) - ulimit RHEL (4) - what is rmem_max (4) - sysctl solaris 10 (3) - configuration of 10g with Net (3) - rmem_default solaris (3) - rhel4 kernel config (3) - install oracle 10g on RHEL 5 (3) - rhel 5 ulimit (3) - 10g wmem_max (3) - RHEL kernel config (3) - shmmax rhel 5 (3) - rhel 5 shmmax (3) - system configuration for oracle 10g (3) - installing oracle 10g on rhel 5 (3) - shmmax RHEL (3) - solaris 10 nproc (3) - oracle 10g sessions parameter (3) - rhel 5 change kernel parameters (3) - Kernel parameters rmem_default on RHEL (3) - ulimit RHEl 4 (3) - ulimit rhel4 (3) - oracle10g on rhel5 (3) - oracle red hat sysctl (3) - MX (2) - shmmax oracle (2) - http://www google com/ig (2) - oracle 10g installation steps in RHEL 5 (2) - rhel5 partitions for oracle 10g (2) - rmem_max rhel (2) - install oracle 10g RHEL 5 (2) - ulimit on rhel (2) - install oracle 10g Database on RHEL 5 (2) - bash file limits rhel 4 ulimit (2) - oracle 10g rmem_default (2) - oracle10g db on linux rhel5 1 (2) - oracle 10g on RHEL5 1 (2) - rhel5 limits conf (2) - add ulimit in for oracle user on solaris (2) - net ipv4 ip_local_port_range oracle (2) - oracle ulimit rhel (2) - system configuration changes (2) - oracle 10g configuration on solaris 10 (2) - rmem_default (2) - ulimit solaris oracle (2) - oracle profile oracle 10g (2) - solaris ulimit oracle (2) - file-max RHEL4 (2) - sysctl rhel (2) - oracle 10g configuration (2) - how to increase swap rhel5 (2) - net core rmem_default rhel (2) - configuring the ulimit for system (2) - system config oracle (2) - oracle10g rhel5 (2) - rhel 5 oracle 10g (2) - rmem_default redhat 4 (2) - rhel ulimit set (2) - rmem_default oracle kernel (2) - wmem_max oracle (2) - setting kernel parameters rhel4 (2) - oracle config kernel (2) - rmem_default rmem_max oracle (2) - http://www google com/bookmarks/?hl=en (2) - oracle 10g shmall (2) - ulimit solaris 10 (2) - system parameters for oracle 10g redhat (2) - changing linux kernel parameter rmem for oracle install (2) - nproc solaris (2) - /etc/profile ORACLE (2) - oracle 10g rhel5 (2) - how to change rmem_default (2) - oracle database 10g RHEL5 1 (2) - ulimit rhel5 (2) - oracle 10g increase session (2) - ulimit for oracle in linux (2) - install oracle 10g kernel parameters rmem_max (2) - rhel & disk & config (2) - net.core.rmem_default (2) - installing oracle 10g database on RHEL5 (2) - rhel 4.0 set kernel config (2) - rhel5.2 oracle (2) - RHEL4 kernel config SHMMAX (2) - how to make oracle kernel changes (2) - how to configure kernel parameters rhel5 (2) - creating database in oracle 10g on rhel (2) - Oracle 10 EL5 (2) - oracle installation in Linux RHEL4 VIDEO (2) - solaris oracle 10 system configuration (2) - oracle shmmax (2) - partition of hard disk for oracle 10g on redhat (2) - configuring RHEL4 for oracle 10g database (2) - rhel change kernel parameters (2) - rmem_default oracle (2) - oracle 10g disk layout (2) - configure oracle on RHEL (2) - rhel4 sysctl (2) - rhel5 oracle mac x11 (2) - see system configuration on RHEL (2) - how to install oracle 10g in RHEL 5 (2) - sysctl.conf rhel4 (2) - sysctl.conf rmem (2) - oracle 10g rhel5.2 (2) - how to edit swap in rhel 4 for oracle 10g (2) - RHEL nofile ulimit (2) - kernel configuration RHEL (2) - RHEL rmem_default (2) - /etc/security/limits solaris 10 nofile (2) - kernel.shmall kernel.shmmax sysctl.conf rhel (2) - oracle nfs 10g mount options rhel4 (2) - how to use sysctl in rhel4 (2) - ulimit Oracle Linux (2) - oracle 10g installation on RHEL 4.0 (2) - rmem changes (2) - kernel parameter settings in rhel4 for oralce 10g (2) - install oracle 10g on rhel4 (2) - oracle 10g install solaris 10 (1) - oracle 10g solaris kernel (1) - Oracle 10g shmmax (1) - Oracle 10g /etc/system (1) - mss (1) - SHMMAX oracle 10g solaris 9 (1) - +oracle +shmmax (1) - Oracle 10g Solaris shmmax (1) - oracle redhat sysctl (1) - redhat 5 oracle 10g (1) - shmmax 10g (1) - how to install oracle 10g on RHEL 4.0 (1) - oracle 10g sysctl (1) - shmmax oracle 10G Solaris 10 (1) - SE (1) - oracle 10g net config (1) - oracle 10g kernel wmem_max (1) - /etc/system rhel4 (1) - net core wmem_max is lower than recommended (1) - solaris 10 /sbin/sysctl: not found (1) - sysctl -w kernel shmall (1) -