This is article demonstrates the Installation of OEM 13c on OEL 7.2
--NOTE: The installer requires about 10 GB of hard disk space in the temporary directory
Surmise:
Oracle database 12.1.0.2 must be Installed and configured before proceeding with the Installation
OEM13c repository is only supported on 12.1.0.2 Database
1.Create user and group
# groupadd omsdb
# groupadd omsoper
# groupadd omsdba
# useradd -g omsdb -G omsdba,omsoper oem13c
$ passwd oem13c
2.Create Directories and change permissions
# mkdir -p /u01/app/oem13c/product/12.1.0/db_1
# mkdir -p /u01/app/oem13c
# chown oem13c:omsdb -R /u01
# chmod 775 /u01/app/oem13c
--OMS Home location
# mkdir -p /u01/app/oem13c/Middleware13c
# chmod -R 775 /u01/app/oem13c/Middleware13c/
# chown -R oem13c:omsdb /u01/app/oem13c/Middleware13c/
--AGENT dirctory location
# mkdir -p /u01/app/oem13c/Agent13c
# chmod -R 775 /u01/app/oem13c/Agent13c/
# chown oem13c:omsdb /u01/app/oem13c/Agent13c/
--OMS software library
# mkdir -p /u01/app/oem13c/oms_sw
# chmod -R 775 /u01/app/oem13c/oms_sw
# chown -R oem13c:omsdb /u01/app/oem13c/oms_sw
--Add the bash_profile
vi .bash_profile
export ORACLE_HOME=/u01/app/oem13c/product/12.1.0/db_1
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/sqldeveloper/sqldeveloper/bin:$ORACLE_HOME/jdk/bin
export PATH
#TMP=/u01/tmp
TMPDIR=$TMP
export ORACLE_HOSTNAME=fradlcorap04.oem13c.com
export ORACLE_UNQNAME=oem13c
ORACLE_SID=oem13c
ORACLE_BASE=/u01/app/oem13c
export ORACLE_BASE ORACLE_SID TMPDIR TMP
LD_LIBRARY_PATH=$ORACLE_HOME/bin:$ORACLE_HOME/lib:$ORACLE_HOME/jdbc/lib
export LD_LIBRARY_PATH
NLS_DATE_FORMAT='DD-MON-YY HH24:MI:SS'
export NLS_DATE_FORMAT
set -o vi
EDITOR=vim
export EDITOR
ORAENV_ASK=NO
alias cdob='cd $ORACLE_BASE'
alias cdoh='cd $ORACLE_HOME'
alias tns='cd $ORACLE_HOME/network/admin'
alias envo='env | grep ORACLE'
envo
3.Verify the RPM packages
The following list of packages must be Installed on Linux-7 64-bit
yum install -y glibc-common glibc-devel glibc-profile glibc-headers glibc-utils glibc
yum install -y make-3.82-21*
yum install -y binutils-2.23*
yum install -y gcc-4.8.2-16*
yum install -y libaio-0.3.109-12*
yum install -y glibc-common-2.17-55*
yum install -y libstdc++-4.8.2-16*
yum install -y sysstat-10.1.5-4*
yum install -y glibc-devel 2.17-55* (i686) (This is a 32-bit package)
yum install -y glibc-devel 2.17-55*(x86_64) (This is a 64-bit package)
yum install -y libXtst-1.2.2-2* (x86_64)
Check the “glibc” rpms:
# rpm -qa | grep glibc
# rpm -qa | grep glibc-common
# rpm -qa | grep glibc-devel
# rpm -qa | grep glibc-profile
# rpm -qa | grep glibc-headers
# rpm -qa | grep glibc-utils
# rpm -qa | grep glibc
Or use this to do the above;
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n' binutils \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
ksh \
libaio \
libaio-devel \
libgcc \
libstdc++ \
libstdc++-devel \
libXext \
libXtst \
libX11 \
libXau \
libXi \
make \
sysstat \
unixODBC \
unixODBC-devel \
zlib-devel
4.Configure kernel parameters:
Add the following entry to file
# echo 11000 65500 > /proc/sys/net/ipv4/ip_local_port_range
# more /proc/sys/net/ipv4/ip_local_port_range
# vim /etc/sysctl.conf
net.ipv4.ip_local_port_range = 11000 65000
Make the changes permement by running the below
# sysctl -p
# /sbin/sysctl -a
Add the HOSTNAME to /etc/hosts file
vi /etc/hosts
<IP-address> <fully-qualified-machine-name> <machine-name>
192.168.183.000 example.oem13c.com example
Validate the installer group
# more /etc/oraInst.loc
5. Download the software
Download all listed files from the url:
http://www.oracle.com/technetwork/oem/grid-control/downloads/oem-linux64-2823270.html
NOTE: DO NOT unzip the zipped files. Installer will unzip it as required
6.Database configuration BEFORE Installation
1. show parameter optimizer -- if TRUE, set to FALSE
alter system set optimizer_adaptive_features=false scope=both;
2. show parameter session_cached --set to 350
alter system set session_cached_cursors=350 scope=spfile;
3. show parameter shared_pool_size --set to 1G
alter system set shared_pool_size=1G scope=both;
4.select inst_id,name,open_mode,restricted from gv$pdbs;
--if MOUNTED THEN,
alter pluggable database dlc13c open instances=all;
7.Bounce the database to impact the changes on the system parameter values
shut immediate;
startup
8.Install the DB12c Repository
/runInstaller
9.START Installation of OEM 13c
Execute the binary file