Requirements for Installing Oracle 10gR2 RDBMS on RHEL 4 x86 platform (文档 ID 343431.1)

In this Document

  Purpose
  Scope
  Details
  References

APPLIES TO:

Oracle Server - Enterprise Edition - Version 10.2.0.1 and later
Oracle Enterprise Linux 4.0
Linux x86
Red Hat Advanced Server


PURPOSE

This note explains the requirements that need to be met for a successful installation of the 10.2.0.X base release on Red Hat Enterprise Linux AS/ES 4.0 Linux x86.
 
It is NOT the purpose of this NOTE to repeat every "how-to" step that is presented in the 10gR2 Installation Guide manual. For example this NOTE does not include how to create the Linux OS account named "oracle", nor does it cover how to set environment variables. Both are adequate covered in Chapter 2 "Oracle Database Preinstallation Requirements" of the 10gR2 Installation Guide manual.

The 10.2.0.X media is no longer available for download from OTN, but customers can request the media by following the process in Note 1071023.1.

SCOPE

This procedure is meant for those planning/trying to install Oracle Server 10.2.0.X.0 on Redhat 4.0 on the x86 platform. Since it is the expressed goal to keep Oracle Enterprise Linux functionally IDENTICAL to RHEL, this NOTE is also completely applicable to OEL 4 (update 4 or higher).

 

DETAILS

1. Hardware: 
   ==========
   * Minimum Hardware Requirements
     - 1024 MB of physical RAM 

     - The following table describes the relationship between installed RAM
       and the configured swap space requirement.

       RAM                                                     Swap Space
       =====                                                   =============
       Between 1024 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 in the /tmp directory.

     - Between 1.5 GB to 3.5 GB of disk space depending upon installation

     - 1.2 GB of disk space for a preconfigured database that uses file
       system storage (optional, but recommended)

2. Software: 
   =========
   * Red Hat Enterprise Linux AS/EL 4
     - Kernel 2.6.9-5.EL  or higher

   * Required OS Components (per Release Notes, and Quick Install Guide)
      - This list is based upon a "default-RPMs" installation of RHEL AS/ES 4 general availability (aka update base, aka update 0). Additional RPMs may be needed if a "less-than-default-RPMs" installation of RHEL AS/ES 4 is performed.  For more information, please refer to Note 376183.1, "Defining a "default RPMs" installation of the RHEL OS" 

The RPM packages can be located in the mentioned CD media/RedHat/RPMs:

binutils-2.15.92.0.2-18 
compat-libstdc++-33.2.3-47.3 
elfutils-libelf-0.97-5 
elfutils-libelf-devel-0.97-5 
gcc-3.4.5-2 
gcc-c++-3.4.5-2 
glibc-2.3.4-2.19 
    - There is one unusual point to share here. Several unpublished Oracle Bugs have identified that the version of the "glibc" RPM that is provided (by default) with RHEL/OEL 4 update 6 (aka glibc-2.3.4-2.39) has a bug, and should be disallowed if found on the system. Therefore, you will find that the OUI (aka runInstaller) will throw an error if glibc-2.3.4-2.39 is found. Please use any newer version of the "glibc" RPM instead.
     @ unpublished Bug 7322896, Bug 7718320 and Bug 7328490
glibc-common-2.3.4-2.19 
glibc-devel-2.3.4-2.19 
glibc-headers-2.3.4-2.19 
libaio-devel-0.3.105-2 
libaio-0.3.105-2 
libgcc-3.4.5 
libstdc++-3.4.5-2 
libstdc++-devel-3.4.5-2 
make-3.80-5 
sysstat-5.0.5 
unixODBC-2.2.11 
unixODBC-devel-2.2.11 
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gnome-libs-1.4.1.2.90-44.1
pdksh-5.2.14-30
xorg-x11-deprecated-libs-6.8.1-23.EL
openmotif21-2.1.30-11.RHEL4.2 (Required to install Oracle Demos)


   * Additionally, the  following installation pre-requisites must be met if the specific Oracle product listed is being installed:

     Oracle Messaging Gateway
     - MQSeriesServer, MQSeriesClient & MQSeriesRuntime
     - TIBCO Rendezvous 7.2
     
     Oracle Spatial
     - xorg-x11& xorg-x11-devel package 

     Oracle JDBC/OCI Drivers
     - Sun JDK 1.4.2_08 with JNDI extension (installed by Oracle)

     Install oracleasm-support package version 2.0.0.1 or higher to use ASMLib.

   * Oracle Global Customer Support has noticed a recent trend with install problems that originates from installing too many RPMs. For example: 
      o installing your own JDK version (prior to beginning the Oracle Software “runInstaller”) is not needed on Linux, and is not recommended on Linux. A pre-existing JDK often interferes with the correct JDK that the Linux Oracle Software “runInstaller” will place and use. 
      o installing more than the required version of the gcc / g++ RPMs often leads to accidentally using (aka enabling or activating) the incorrect one. If you have multiple RDBMS versions installed on the same Linux machine, then you will likely have to manage multiple versions of gcc /g++ . For more information, please see Note 444084.1, "Multiple gcc / g++ Versions in Linux" 

3. Environment: 
   ============
 * Modify your kernel settings in /etc/sysctl.conf (RedHat) as follows.  If the current value for any parameter is higher than the value listed in this table, do not change the value of that parameter. 

    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 65536 for 128 processes) 
    net.ipv4.ip_local_port_range = 9000 65500 
        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=2097152 
    net.core.wmem_default=262144 
    net.core.wmem_max=1048576

 

NOTE: net.ipv4.tcp_wmem or net.ipv4.tcp_rmem are not needed, and not recommended. For additional information, please see  NOTE 560590.1, “How and When to use the net.ipv4.tcp_rmem and net.ipv4.tcp_wmem Linux kernel Parameters”

     To activate these new settings into the running kernel space, run the “sysctl –p” command

  * The gcc and g++ RPM items above will ensure that the correct gcc / g++ versions are installed. It is also required that you ensure that these correct gcc / g++ versions are active, and in-use. Ensure that the commands "gcc --version" and "g++ --version" each return "3.4.x".

   * 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 10.2.0.X, 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.

4. Add the following lines into /etc/security/limits.conf

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


Edit the /etc/pam.d/login  file to add the following line.  If /etc/pam.d/login does not yet exist, then create a file with this line as the only content:

session     required      pam_limits.so 


Depending on the oracle user's default shell, make the following changes to the default shell startup file: 

For the Bourne, Bash, or Korn shell, add the following lines in the /etc/profile file (or the /etc/profile.local file on SUSE systems): 

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


Without this etc/profile modification, the ulimit values for the oracle account will not be correct. 

5.  Now you are ready to invoke your Oracle Universal Installer
     a.)  it is best practice not to use any form of "su" to start the runInstaller, in order to avoid potential problems

REFERENCES

NOTE:444084.1 - Multiple gcc / g++ Versions in Linux
NOTE:560590.1 - How and When to use the net.ipv4.tcp_rmem and net.ipv4.tcp_wmem Linux kernel Parameters
NOTE:334531.1 - Pre-Install checks for 10gR2 RDBMS (10.2.x) - Linux x86 Platforms
NOTE:376183.1 - Defining a "default RPMs" installation of the RHEL OS
BUG:7507772 - RAC DATABASE USING INFINIBAND RDS PROTOCOL SHOWS NETWORK ERRORS AND ORA-27504
NOTE:169706.1 - Oracle Database (RDBMS) on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)
NOTE:301830.1 - Upon startup of Linux database get ORA-27102: out of memory Linux-X86_64 Error: 28: No space left on device
 
 

相关内容

   
 
 

产品

   
 
  • Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Enterprise Edition > Dataserver Installation and Relinking issue
 

关键字

   
 
10GR2; INSTALLER; ORACLE UNIVERSAL INSTALLER; UNBREAKABLE LINUX NETWORK; X86

你可能感兴趣的:(Requirements for Installing Oracle 10gR2 RDBMS on RHEL 4 x86 platform (文档 ID 343431.1))