1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Oracle Business Accelerator for E-Business Suite (R12.x) Installation on Oracle Enterprise Linux 5.x

Discussion in 'System Administration & Application DBA' started by user1, Dec 30, 2011.

  1. user1

    user1 Active Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    55
    Introduction

    This article provides a Step By Step Instructions to Install Oracle Business Accelerator for Oracle E-Business Suite on on Oracle Enterprise Linux 5.x or Redhat Enterprise Linux 5.x (64-Bit)

    Process

    Follow the steps listed in sequence in this Note for a successful installation Solution

    1. Install OBA certified Operating system. Certified Operating Systems and Kernels are



    Operating Systems - Oracle Linux 5 2.6.18-53.1.4.EL5 OEL5 - Update 1 or higher (64-bit), Red Hat Enterprise Linux AS/ES 5 2.6.18-53.1.4.EL5 RHEL5 - Update 1 or higher (64-bit)

    To determine kernel name and version, use the command:

    Code (Text):

    [root@obatrng u01]# uname -r
    2.6.18-128.4.1.0.1.el5

    [root@obatrng u01]# uname -a
    Linux obatrng 2.6.18-128.4.1.0.1.el5 #1 SMP Tue Aug 4 15:23:10 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

    [root@obatrng u01]# cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
     

    2. Verify hostname and network settings

    Verify host name settings:

    a. Verify that the /etc/hosts file is formatted as follows: <Do not remove 127.0.0.1 entry>

    127.0.0.1 localhost.localdomain localhost
    [ip_address] [node_name].[domain_name] [node_name]

    b. Verify that the /etc/sysconfig/network file is formatted as follows:

    HOSTNAME=[node_name].[domain_name]

    c. If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.

    d. If you changed any files in the previous steps, restart the system.

    3. Check disk space requirements

    With the help of System administrator prepare mount points for application Techstack and database. Grant "read,write" permissions to new mount points

    Example:
    /u01/apps - application Tier
    /u01/db - database Tier

    A fresh install of OBA requires 150GB of free disk space and 6GB of Memory (RAM)

    Code (Text):
    [root@obatrng apps]# df -h .

    Filesystem Size Used Avail Use% Mounted on
    /dev/xvdb 50G 1G 49G 1% /u01/apps

    [root@obatrng db]# df -h .
    Filesystem Size Used Avail Use% Mounted on
    /dev/xvdc 100G 1G 99G 1% /u01/db

    4. Grant Permissions on apps and db mount points

    Note: In a multiuser OBA installation, for a successful configuration tool run, db techstack OS owner/user should have read,write permissions on apps mount point $XXSE/subdirectories.
    Code (Text):

    [root@obatrng db]# ls -l /u01
    drwxrwxrwx 14 applmgr oaa 4096 May 23 21:56 apps
    drwxr-xr-x 10 oracle dba 4096 May 23 21:56 db

    5. Check Memory requirements

    Minimum required memory is 6GB

    cat /proc/meminfo | grep MemTotal
    6291456kb

    6. Disable Secure Linux

    Code (Text):
    [root@obatrng db]# cat /etc/selinux/config
    SELINUX=disabled
    7. Install Development Tools

    Install the development tools from operating system install media

    X Window System
    GNOME Desktop Environment
    Editors
    Graphical Internet
    Server Configuration Tools
    Development Tools
    Administration Tools
    System Tools
    vncserver
    8. Install required operating system patches and packages

    Query the Operating System Patches/Packages

    Code (Text):
    [root@obatrng db]# rpm -qa | egrep 'bintuils|compat-glibc|gcc|glibc|kernel-headers|libgcc|libXp|libaio|libgomp|sysstat|compat-libstdc++|elfutils|unixODBC|xorg-x11|openmotif'
    The following table lists the required packages and the minimum required versions for Linux (32-bit).

    Update 1 (5.1) or higher of Oracle Linux 5 is required
    Update 1 (5.1) or higher of Red Hat Enterprise Linux (RHEL) 5 is required

    The following packages (or versions of packages) are not part of the OS distribution media and must be downloaded separately (from http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/ for both

    Oracle Linux 5 and RHEL 5) and installed manually:

    openmotif21-2.1.30-11.EL5.i3861
    xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
    For Update 1 or 2:
    binutils-2.17.50.0.6-6.0.1.x86_642
    For Update 3:
    binutils-2.17.50.0.6-9.0.1.x86_642

    The following packages must be installed from the Oracle Linux 5 or RHEL 5 distribution media:

    gcc-4.1.2-14.el5.x86_64
    gcc-c++-4.1.2-14.el5.x86_64
    glibc-2.5-18.i686 (32-bit)
    glibc-2.5-18.x86_64
    glibc-common-2.5-18.x86_64
    glibc-devel-2.5-18.i386 (32-bit)
    glibc-devel-2.5-18.x86_64
    libgcc-4.1.2-14.el5.i386
    libgcc-4.1.2-14.el5.x86_64
    libstdc++-devel-4.1.2-14.el5.i386
    libstdc++-devel-4.1.2-14.el5.x86_64
    libstdc++-4.1.2-14.el5.i386
    libstdc++-4.1.2-14.el5.x86_64
    make-3.81-1.1.x86_64
    gdbm-1.8.0-26.2.1.i386
    gdbm-1.8.0-26.2.1.x86_64
    libXp-1.0.0-8.1.el5.i386
    libXp-1.0.0-8.1.el5.x86_64
    libaio-0.3.106-3.2.i386
    libaio-0.3.106-3.2.x86_64
    libgomp-4.1.2-14.el5.x86_64
    sysstat-7.0.0-3.el5.x86_64
    util-linux-2.13-0.45.el5.x86_64
    compat-libstdc++-296-2.96-138.i386
    compat-libstdc++-33-3.2.3-61.i386

    Additionally, the following RPMs are required for an 11gR1 Database (which is bundled with the 12.1.1 release) on the database tier:

    compat-libstdc++-33-3.2.3-61.x86_64
    elfutils-libelf-devel-0.125-3.el5.x86_64
    elfutils-libelf-devel-static-0.125-3.el5.x86_64
    libaio-devel-0.3.106-3.2.x86_64
    unixODBC-2.2.11-7.1.i386
    unixODBC-devel-2.2.11-7.1.i386
    unixODBC-2.2.11-7.1.x86_64
    unixODBC-devel-2.2.11-7.1.x86_64
    kernel-headers-2.6.18-8.el5.x86_64


    *After installing these patches, run ldconfig -v.
    **The openmotif package version numbering must be 2.1.30. For example, openmotif-2.2.3-10.RHEL4.5 is not supported.
    9. Check Software Requirements

    The following maintenance tools must be installed and their locations specified both in the PATH of the account that runs Rapid Install and in the PATH of the accounts that will own the database tier and application tier file systems.

    ar
    gcc
    g++
    ld
    ld
    ksh
    make
    X Display Server

    To Check system tools in the PATH use

    Code (Text):
    $oracle> which ar
    $oracle> whereis gcc
    $oracle> echo $PATH
    10. Set Kernel Parameters

    Modify the System Configuration and Kernel settings

    Note: If the current value for any parameter is higher than the value listed in the following table, then do not change the value of that parameter.

    /etc/sysctl.conf file has kernel parameters

    Code (Text):
     # cat /etc/sysctl.conf

    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 256 32000 100 142
    fs.file-max = 6553600
    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=4194304
     
    10. Apply the New Settings

    Code (Text):
     # /sbin/sysctl -p
    Modify the Number of Open File Descriptors

    Add the following lines to the /etc/security/limits.conf file:

    * hard nofile 65535
    * soft nofile 4096
    * hard nproc 16384
    * soft nproc 2047

    Domain Name System (DNS) Resolver Parameters

    Two Domain Name System (DNS) resolver parameters (timeout and attempts) are set by default to low values when the operating system is installed. These low values may cause attempted network connections to an Oracle database to fail. If this happens, add or update the following entries to these minimum settings in the /etc/resolv.conf file on each server node:
    11. Add the following lines to the /etc/resolv.conf file:

    options attempts:5
    options timeout:15​

    12. Create required users and groups

    For a multiuser installation, create group dba and two users, oracle and applmgr. The oracle users will be the owner of the database tier directories and services, while the applmgr user will be the owner of the applications tier.

    Use the following commands to create users and group:

    Code (Text):
    $ su - root
    # groupadd dba
    # useradd -g dba -d /home/oracle oracle
    # useradd -g dba -d /home/applmgr applmgr
    Link to Motif library for Oracle Application Server 10.1.2 (on Oracle Linux 5 and RHEL 5 only)

    Perform the following command (as root on your system) to update a required link to a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:

    Code (Text):
    # unlink /usr/lib/libXtst.so.6
    # ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
    13. Post Install Steps

    After setting up link to libXtst.so.6, find the current display setting value from $CONTEXT_FILE as applmgr user.
    Ensure DISPLAY is set properly and running on the server other than port 0

    Find s_display value from application tier CONTEXT_FILE

    Example:

    $ applmgr] grep s_display $CONTEXT_FILE
    <DISPLAY oa_var="s_display" osd="unix">prod54:10.0</DISPLAY>
    export DISPLAY=<s_display value> as oracle operating system user

    Run xdpyinfo command as oracle operating system user and ensure command executes successfully.

    If any errors are encountered while running xdpyinfo , restart the vnc pointed by s_display value as the owner of the vnc and run xhost + command.

    Execute xdpyinfo as oracle operating system user again and ensure xdpyinfo command executes successfully.

    Done!​