Advertisement

Wednesday, January 31, 2018

OEM 13cR2 Machine Setup

Environment
  • Kernel -  3.10.0-514.el7.x86_64
  • Release -
    NAME="Red Hat Enterprise Linux Server"
    VERSION="7.3 (Maipo)"

 Software Pre-reqs

Required Packages (minimum required Versions)
  
  1. make-3.82-21
  2. binutils-2.23
  3. gcc-4.8.2-16
  4. libaio-0.3.109-12
  5. glibc-common-2.17-55
  6. libstdc++-4.8.2-16
  7. sysstat-10.1.5-4
  8. glibc-devel 2.17-55 (i686) (This is a 32-bit package)
  9. glibc-devel 2.17-55 (x86_64) (This is a 64-bit package)
  10. libXtst-1.2.2-2 (x86_64)
  11. glibc-2.17
Sysctl Configuration


vi /etc/sysctl.d/99-oem-sysctl.conf


fs.aio-max-nr = 1048576

fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
net.ipv4.ip_local_port_range = 9000 65500


 Apply Changes
# /sbin/sysctl --system

Set Limits for OEM Owner

vi /etc/security/limits.conf (Append)

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

***Make sure File permissions for /usr/bin/make and /usr/bin/ld.bfd is 0755 

User Addition 

groupadd -g 1001 dba
useradd -u 1001 -g dba -s /bin/bash -d /home/oracle oracle



Edit Bash Profile for Faster Access

export OMS_HOME=/opt/oracle/em13cr2/middleware
export AGENT_INST=/opt/oracle/agent/agent13cr2/agent_inst
export AGENT_HOME=/opt/oracle/agent/agent13cr2/agent_13.2.0.0.0/




Create Directories and set permissions for install
[root@omshost ~]# mkdir -p "/opt/oracle/em13cr2/middleware"
[root@omshost ~]# mkdir -p "/opt/oracle/agent/agent13cr2"
[root@omshost ~]# mkdir -p "/opt/oracle/em13cr2/gc_inst"
[root@omshost ~]# mkdir -p "/opt/oracle/swlib"
[root@omshost ~]# mkdir -p "/opt/oracle/em13cr2/bip/config"
[root@omshost ~]# mkdir -p "/opt/oracle/em13cr2/bip/cluster"
[root@omshost ~]# chown -R oracle:dba /opt/ ; chmod 777 /opt



Create Inventory Directory
[oracle@ omshost  ~]# mkdir -p /opt/oracle/oraInventory

[root@omshost  ~]# vi /etc/oraInst.loc
    inventory_loc=/opt/oracle/oraInventory
        inst_group=dba   
[root@omshost  ~]# chown oracle:dba /etc/oraInst.loc



Download and Stage Installation Files required to Download

[root@omshost linux]# du -sch em13200p1_linux64*
2.0G    em13200p1_linux64-2.zip
709M    em13200p1_linux64-3.zip
2.0G    em13200p1_linux64-4.zip
105M    em13200p1_linux64-5.zip
2.1G    em13200p1_linux64-6.zip
738M    em13200p1_linux64-7.zip
530M    em13200p1_linux64.bin
8.0G    total
 





No comments:
Write comments