Saturday, 25 March 2023

13c OEM Installation - Linux


 

OS Version        : OEL 8.4 64 bit

OEM Version     :  Oracle Enterprise Manager Cloud Control 13c Release 5 (13.5.0.0.0)

This document covers    - [ Installation of OEM 13.5.0.0 ]

Download the OEM 13.5 Media and Upload to the server

https://www.oracle.com/enterprise-manager/downloads/linux-x86-64-13c-rel5-downloads.html



Prepare OS for OEM Installation
    ● Edit /etc/hosts
    ● Stop Firewall services
    ● Install Below RPM’s
    ● yum update -y
    ● Reboot

RPM’s required
yum install xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps -y
yum install wget zip unzip rsync -y
yum install ntp nfs-utils net-tools -y
yum install NetworkManager-tui -y
yum install -y oracle-database-preinstall-19c
yum install -y bc
yum install -y binutils
yum install -y compat-libcap1
yum install -y compat-libstdc++-33
yum install -y dtrace-utils
yum install -y elfutils-libelf
yum install -y elfutils-libelf-devel
yum install -y fontconfig-devel
yum install -y glibc
yum install -y glibc-devel
yum install -y ksh
yum install -y libaio
yum install -y libaio-devel
yum install -y libdtrace-ctf-devel
yum install -y libXrender
yum install -y libXrender-devel
yum install -y libX11
yum install -y libXau
yum install -y libXi
yum install -y libXtst
yum install -y libgcc
yum install -y librdmacm-devel
yum install -y libstdc++
yum install -y libstdc++-devel
yum install -y libxcb
yum install -y make
yum install -y nfs-utils # ACFS
yum install -y python # ACFS
yum install -y python-configshell # ACFS
yum install -y python-rtslib # ACFS
yum install -y python-six # ACFS
yum install -y targetcli # ACFS
yum install -y smartmontools
yum install -y sysstat
yum install psmisc -y
yum install -y dtrace-modules
yum install -y dtrace-modules-headers
yum install -y dtrace-modules-provider-headers
yum install -y unixODBC
yum install gcc -y
yum install gcc-c++ -y
yum install glibc -y
yum install glibc.i686 -y
yum install glibc-devel -y
yum install glibc-devel.i686 -y

Additional RPM’s – if this is not installed the OEM installation fails with error unable to execute one-off patch.




                yum install libnsl.so.1
               
                yum install libnsl*


Kernel Parameters
Edit /et/sysctl.conf
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 11000 65000
vm.swappiness = 10

If you want to host repository on same database you can install preinstaller oracle-database-preinstall-19c.
However, after preinstaller is run change the kernel parameter to
net.ipv4.ip_local_port_range = 11000 65000




REPOSITORY DATABASE has to be AL32UTF8 character set
Execute prerequisites on Repository database



Installation
-------------------------------------------------------
Prepare Directory Structure on OEM server
● mkdir -p /u01/app/oracle/middleware
● mkdir -p /u01/app/oracle/agent

export CV_ASSUME_DISTID=OEL7.8
If above export step is not done then the OEM installation will keep spinning forever as shown in below snapshot




Invoke the installer 
export CV_ASSUME_DISTID=OEL7.8 
./em13500_linux64.bin







Make sure all Prerequisites are met to ensure a proper successful OEM installation

                Provide Location of
                        ➔ Middleware Home
                        ➔ Agent Base Directory
                         ➔ Hostname


        Select the components you wish to install.
        Below 5 components are installed by default
                ➔ Oracle Cloud Framework
                ➔ Oracle Database
                ➔ Oracle Exadata
                ➔ Oracle Fusion Middleware
                ➔ System Infrastructure




        Enter details of the Repository database.
        OEM will create its repository under this database.
        This database needs to be up & running all the time .
        OEM will not start if the repository database is not accessible.



                Make sure there are no components in FAILED state.
                You can review the warning and decide if you want to skip that.
                Click on AUTOFIX – this is fixing the FAILED components
                If Auto fix did not update the components - then manual action needs to be taken.


Warnings are
                        This can be safely ignored.

                    Compile the invalid objects in REPOSITORY database









If libnsl* rpm is not installed- the installation will fail at 19%
This error was faced – and libnsl rpm was installed to fix the issue and installation was restarted. 








BASE INSTALLATION OF OEM IS DONE.

OEM URL -                             https://hostname:7803/em
ADMIN CONSOLE URL       http://hostname:7102/console 


--------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------
--------------------------------------------------------
                    










No comments:

Post a Comment