Wednesday, August 8, 2012

Requirements for Installing Oracle 11gR1 32bit RDBMS on RHEL 5 & OEL 5



1. Minimum Hardware Requirements
     - 1.0 GB (1024 MB) of physical RAM
     - The following table describes the relationship between installed RAM and
        the configured swap space requirement.
     RAM                                                      Swap Space
     =====                                                    =============
     Between 512 MB and 2048 MB              1.5 times the size of RAM
     Between 2049 MB and 8192 MB            Equal to the size of RAM
     More than 8192 MB                                 0.75 times the size of RAM

    - 400 MB of disk space (and less than 2Tb of disk space) in the /tmp directory.
    - between 1.5 GB and 3.5 GB of disk space for the Oracle software, depending on the installation type.
    - 1.6 GB of disk space for a preconfigured database that uses file system storage (optional)


2. Install the required OS Packages

Red Hat Enterprise Linux 5 OR Oracle Enterprise Linux 5 with Kernel 2.6.18-8.el5 or higher.
As is specified in section 1.2.2 of the Oracle Database Installation Guide for 11gR1 on Linux (part number B32002-01), Oracle recommends that you install the Linux operating system with the default software packages (RPMs); do not customize the RPMs during installation. For additional information on "default-RPMs", please see Note 376183.1, "Defining a "default RPMs" installation of the RHEL OS"
The exact version number details of this list are based upon 32-bit (x86) RHEL Server 5.0. When a higher "update" level is used, the RPM release numbers (such as 2.2.11-7.1) may be slightly higher (such as 2.2.11-8 or 2.6.12). Since "update 0" and greater of RHEL 5 are certified, this is fine so long as you are still using 32-bit Linux (x86) RHEL Server 5 RPMs.

  compat-libstdc++-33-3.2.3-61    
 elfutils-libelf-devel-0.125 (requires elfutils-libelf-devel-static-0.125)
 glibc-devel-2.5-12          (requires glibc-headers-2.5-12)
 gcc-4.1.1-52                (requires libgomp-4.1.1-52)
 gcc-c++-4.1.1-52
 libaio-devel-0.3.106
 libstdc++-devel-4.1.1-52.e15
 sysstat-7.0.0
 unixODBC-2.2.11-7.1.i386.rpm
 unixODBC-devel-2.2.11-7.1.i386.rpm
 kernel-headers-2.6

 Dependent RPM's :
 elfutils-libelf-devel-static-0.125-3.el5
 glibc-headers-2.5-12
 libgomp-4.1.1-52.el5.2


 Other required RPMS's (as per Install Guide, release Notes)
(these get installed during a "Default RPM" installation of the
RHEL 5 OS. Additional RPMs may be needed if a "less-than-default-RPMs" installation of
RHEL 5 is performed. For additional information on "default-RPMs", please see the Metalink NOTE cited above.)
 binutils-2.17.50.0.6-2.el5
 elfutils-libelf-0.125-3.el5
 glibc-2.5-12
 glibc-common-2.5-12
 libaio-0.3.106
 libgcc-4.1.1-52
 libstdc++-4.1.1
 make-3.81-1.1
       * Please note the following :
          - RPM's
               elfutils-libelf-devel-0.125-3.el5.i386.rpm
               elfutils-libelf-devel-static-0.125-3.el5.i386.rpm
            are depend upon the other. So they must be installed together in one      "rpm-ivh" command
            as follows:
% rpm -ivh elfutils-libelf-devel-0.125-3.el5.i386.rpm elfutils-libelf-devel-static-0.125-3.el5.i386.rpm
          - RPM "gcc-4.1.1-52" depends on
               glibc-devel-2.5-12 (which in turn requires glibc-headers-2.5-12)
               libgomp-4.1.1-52.el5.2
            Install all these 4 RPM's in one command as follows:
% rpm -ivh glibc-devel-2.5-12.i386.rpm glibc-headers-2.5-12.i386.rpm gcc-4.1.1-52.el5.i386.rpm libgomp-4.1.1-52.el5.i386.rpm

3. Set the Kernel Parameters

    - Edit /etc/sysctl.conf file and add the following entries
      If the current value for any parameter is higher than the value listed, then do not change the value of that parameter. Range values (such as net.ipv4.ip_local_port_range) must match exactly.
kernel.shmall = physical RAM size / pagesize For most systems, this will be the value 2097152. See Note 301830.1 for more information.
kernel.shmmax = 1/2 of physical RAM, but not greater than 4GB. This would be the value 2147483648 for a system with 4Gb of physical RAM.
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 512 x processes (for example 6815744 for 13312 processes)
net.ipv4.ip_local_port_range = 9000 65500
    a.) The runInstaller (OUI) checks may expect this to be the old guidance of "1024 65000". The new guidance from Oracle development is "9000 65500". Please allow the runInstaller (OUI) to proceed with the new guidance from Oracle development.
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

    - For the above kernel settings to take effect execute following command
# sysctl -p
4. Verify and make sure that host name has been set by using the hostname command as follows:

    # hostname

      The output of this command should be similar to the following:
      myhost.mycomputer.com

    # hostname -i

      The output of this command should be IP address of this host

5. Configure owner and group(s) for Oracle Software code tree
# useradd oracle
# passwd oracle
# groupadd dba
# groupadd oinstall
# usermod -g oinstall -G dba oracle
6. Configure Oracle software owner limits

    - Add the following lines to the /etc/security/limits.conf file:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
    - Add or edit the following line in the /etc/pam.d/login file
session required /lib/security/pam_limits.so
session required pam_limits.so
    - Add the following lines to /etc/profile
if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
        ulimit -u 16384
        ulimit -n 65536
    else
        ulimit -u 16384 -n 65536
    fi
fi

7. Create, change ownership, and change permission of the $ORACLE_BASE/../ directory, using the appropriate section of the 11gR1 Install Guide for x86 Linux. Please be careful not to overlook the fact that the default oraInventory location for first-time installs has changed to $ORACLE_BASE/../oraInventory in 11gR1. As is explained in section 2.9.2 of the Oracle Database Installation Guide for 11gR1 on Linux (part number B32002-01), this means that the account used to install the Oracle software must have write permissions from $ORACLE_BASE/../ (aka /mount_point/app/) and downwards. For additional information, please refer to Note 452780.1, "11gR1 OUI Error: 'OUI-10035 OR OUI-10033' "
8. If you are installing Oracle RDBMS 11gR1 software onto either the RHEL 5 or the OEL 5 operating system, please set the Linux feature "SELinux" to "Permissive" mode. This issue is described more fully in Metalink Note 454196.1, "./sqlplus: error on libnnz11.so: cannot restore segment prot after
reloc".


9. Start the Oracle Software installation
    - Login as Oracle Software owner
    - If the ORACLE_SID, ORACLE_HOME or TNS_ADMIN environment variable is set
       then remove/unset them from the environment
    - Unset following environment variables (if set)
            - LD_LIBRARY_PATH
            - Java References (like JAVA_HOME..etc)
            - Oracle Home references in $PATH
    - set 'umask 0022' and ulimit stack size to 32768
            % umask 0022
            % ulimit -s 32768

    - start the installer from the “database” directory of your 11g installation media
            % cd database
            % ./runInstaller




ADDITIONAL NOTES
Supported Linux releases of Linux x86 (32-bit) can run on on AMD64/EM64T and Intel Processor Chips that adhere to the x86_64 architecture
   Oracle 32-bit running on AMD64/EM64T with 32-bit OS is supported, and is covered by this NOTE.
   Oracle 32-bit running on AMD64/EM64T with 64-bit OS is not supported.




No comments:

Post a Comment