Requirements for Installing Oracle 10gR2 RDBMS on SLES 9 on AMD/EM64T [ID 365607.1]
修改时间 16-DEC-2010     类型 BULLETIN     状态 PUBLISHED  
In this Document
Purpose
Scope and Application
Requirements for Installing Oracle 10gR2 RDBMS on SLES 9 on AMD/EM64T
References
 

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.5 - Release: 10.2 to 10.2
Oracle Server - Standard Edition - Version: 10.2.0.1 to 10.2.0.5   [Release: 10.2 to 10.2]
SUSE \ UnitedLinux x86-64
 

Purpose

This note explains the requirements that need to be met for a successful installation of the new release 10.2.0.X (a 1 DVD set which includes the base release and all fixes from prior patchsets including 10.2.0.X) on SuSE Linux Enterprise Server (SP2 or above), Linux x86_64.

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.

You can download the 10.2.0.X from following URL. But you require a valid OTN account for download.
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html
 

Scope and Application

This procedure is meant for those planning/trying to install Oracle Server 10.2.0.X.0 on SLES 9 on the x86_64 (AMD/EM64T) platform.

Requirements for Installing Oracle 10gR2 RDBMS on SLES 9 on AMD/EM64T

1. Hardware:
========== 
* Minimum Hardware Requirements
   - 1 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 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 (and less than 2Tb of disk space) in the /tmp directory.

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


2. Software:
=========
(For your convenience, NOTE:342555.1, "Pre-Install checks for 10gR2 RDBMS (10.2.x) - Linux AMD64/EM64T Platforms" is available to assist you in checking for the following installation pre-requisites) 

   * SuSE Linux Enterprise Server 9 SP3 
       o 2.6.5-7.201 (or newer)

   * This list is based upon x86_64 SLES 9 "SP3". When a newer "service pack" level is used, the RPM release numbers (such as 2.6.5-7.201) may be slightly higher (such as 2.6.5-7.244). This is fine so long as you are still using x86_64 SLES 9 RPMs. 

   * Required OS Components (per Release Notes, and Quick Install Guide) 
       o binutils-2.15.90.0.1.1-32.5 (x86_64)
       o libaio-0.3.102.1.2 (x86_64)
       o gcc-3.3.3-43.24 (x86_64) 
       o libstdc++-3.3.3-43.24 (x86_64)
       o libstdc++-devel-3.3.3-43.24 (x86_64)
       o gcc-c++-3.3.3-43.24 (x86_64)
       o glibc-2.3.3-98.28 (x86_64)
       o gnome-libs-1.4.1.7-671.1 (x86_64). orbit-0.5.17-330.1.x86_64.rpm will be needed as a pre-requisite.
       o make-3.80-184.1 (x86_64)
       o pdksh-5.2.14-780.1 (x86_64)
       o sysstat-5.0.1-35.1 (x86_64). plotutils-2.4.1-575.1.x86_64.rpm and gnuplot-3.7.3-256.1.x86_64.rpm will be needed as pre-requisites.
       o xscreensaver-4.16-2.6 (x86_64)


   * Additional Required OS Components (per the runInstaller OUI)
       o kernel 2.6.5-7.201 (x86_64) or newer


   * Additional Required OS Components (per this NOTE)
       o Please do not rush, skip, or minimize this critical step. This list is based upon a "default-RPMs" installation of SLES 9. Additional RPMs (beyond anything known to Oracle) may be needed if a "less-than-default-RPMs" installation of SLES 9 is performed. For additional details, see Note <<386391.1>>, "Defining a "default RPMs" installation of the SLES OS" 
       o db1-1.85-85.1 (x86_64)
       o orbit-0.5.17-330.1.x86_64.rpm (pre-requisite for gnome-libs, as noted above)
       o plotutils-2.4.1-575.1.x86_64.rpm (pre-requisite for sysstat, as noted above)
       o gnuplot-3.7.3-256.1.x86_64.rpm (pre-requisite for sysstat, as noted above)
       o glibc-32bit-9.200506071326 (x86_64)
       o glibc-devel-32bit-9.200506062332 (x86_64) 
       o libaio-devel-0.3.102.1.2 (x86_64)
       o XFree86-libs-4.3.99.902.43.48 (x86_64)
       o glibc-devel-2.3.3-98.47 (x86_64)

The x86_64 packages are on the SuSE Linux Enterprise Server x86-64 distribution. The "*-32bit-*" packages are also on the SuSE Linux Enterprise Server x86-64 distribution.

Command syntax to differentiate between installed i386 RPMs and installed x86_64 RPMs is presented in the "Additional Notes" section below.


3. Environment:
============
   * Modify your kernel settings in /etc/sysctl.conf 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.  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 
     vm.disable_cap_mlock = 1

     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

   * Hostname command should rlly qualified hostname as shown below: 
      % hostname --fqdn 
      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. Set Shell Limits for the oracle User, using appropriate section of the 10gR2 Quick Install Guide for x86_64.

    - Add the following settings to /etc/security/limits.conf 
          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/xdm file, if it does not already exist:
          session     required     pam_limits.so

    - Add or edit the following line in the /etc/pam.d/su file, if it does not already exist:
          session     required     pam_limits.so 

    - Add the following lines to /etc/profile.local:
          if [ $USER = "oracle" ]; then
              if [ $SHELL = "/bin/ksh" ]; then
                 ulimit -p 16384
                 ulimit -n 65536 
              else 
                 ulimit -u 16384 -n 65536
              fi
          fi

6. Create, change ownership, and change pern of the $ORACLE_BASE directory, using the appropriate section of the 10gR2 Quick Install Guide for x86_64.

7. Configuring the oracle User's Environment, using the appropriate section of the 10gR2 Quick Install Guide for x86_64. Note that setting $ORACLE_BASE (not $ORACLE_HOME) in the environment will ease a couple of entries in the Oracle Universal Installer.

8. Now you are ready to invoke your Oracle Universal Installer. Be sure that you are LOGGED ON as the oracle account. Log directly into the install session. Do not use any variety of “su”.



ADDITIONAL NOTES
----------------
1. Linux x86-64, support on AMD64/EM64T and Intel Processor Chips that adhere to the x86-64 architecture with supported Linux releases. 
            -- Oracle 32-bit running on AMD64/EM64T with 32-bit OS is supported, but is not covered by this NOTE. 
            -- Oracle 32-bit running on AMD64/EM64T with 64-bit OS is not supported.

2. Asynchronous I/O on ext2 and ext3 file systems is supported if your scsi/fc driver supports that functionality.

3. No extra patch is required for the DIRECTIO support for x86_64.

4. Following rpm command can be used to distinguish between a 32-bit or 64-bit package.
    #rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" | grep db1-1
    db1-1.85-85.1 (x86_64)

 

References

NOTE:301830.1 - Upon startup of Linux database get ORA-27102: out of memory Linux-X86_64 Error: 28: No space left on device
NOTE:386391.1 - Defining a "default RPMs" installation of the SLES OS
NOTE:560590.1 - How and When to use the net.ipv4.tcp_rmem and net.ipv4.tcp_wmem Linux kernel Parameters
NOTE:567506.1 - Maximum SHMMAX values for Linux x86 and x86-64