Installing OEM 13.4 [Silent Install] – Part 1 : Preparing The OEM server

This article describes the silent installation of Oracle Enterprise Manager Cloud Control 13c Release 4 (13.4) on Oracle Linux 7 (x86_64) on a remote server. The entire article is just a smaller and easier version of the original documentation on Oracle docs.

We can install Enterprise Manager Cloud Control or any of its core components either in an interactive, graphical mode or in a silent mode.
Graphical mode is the Graphical User Interface (GUI) method that involves usage of a Java-based installation wizard or a browser-based application that is built into and accessed from the Enterprise Manager Cloud Control console.
Silent method involves usage of Oracle-supplied response files or scripts that capture all the information required for installation.

We have prepared two remote server, for OEM mtloem01 and Database mtlutildb01 [Oracle Database (x86_64) 19c Enterprise Edition]

Prerequisites

1. Hardware Requirements

Minimum CPU, RAM, Heap Size, and Hard Disk Space Requirements Per OMS

For this article, we are skipping OS and Database installation.

2. Preparing mtloem01 server for OEM installation

packages, kernel parameters settings, and libraries required for installing a new OEM

2.i. Packages Required

  • binutils-2.23.52.0.1
  • compat-libcap1-1.10
  • compat-libstdc++-33-3.2.3.x86_64
  • compat-libstdc++-33-3.2.3.i686
  • gcc-4.8.2
  • gcc-c++-4.8.2
  • glibc-2.17.x86_64
  • glibc-2.17.i686
  • glibc-devel-2.17.x86_64
  • libaio-0.3.109.x86_64
  • libaio-devel-0.3.109.x86_64
  • libgcc-4.8.2.x86_64
  • libgcc-4.8.2.i686
  • libstdc++-4.8.2.x86_64
  • libstdc++-4.8.2.i686
  • libstdc++-devel-4.8.2.x86_64
  • dejavu-serif-fonts
  • ksh
  • make-3.82
  • sysstat-10.1.5
  • numactl-2.0.9 for x86_641
  • numactl-devel-2.0.9 for x86_642
  • motif-2.3.4-7 for x86_643
  • motif-devel-2.3.4-7 for x86_644
  • redhat-lsb-4.1-27.0.1.el7 for x86_64
  • redhat-lsb-core-4.1-27.0.1.el7 for x86_64
  • OpenSSL 1.0.1e

We can simply install them by

for i in binutils.x86_64 compat-libcap1.x86_64 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 gcc.x86_64 gcc-c++.x86_64 glibc.x86_64 glibc.i686 glibc-devel.i686 glibc-devel.x86_64 libaio.x86_64 libaio-devel.x86_64 libgcc.x86_64 libgcc.i686 libstdc++.x86_64 libstdc++.i686 libstdc++-devel.x86_64 dejavu-serif-fonts.noarch ksh.x86_64 make.x86_64 sysstat.x86_64 numactl.x86_64 numactl-devel.x86_64 motif.x86_64 motif-devel.x86_64 redhat-lsb.x86_64 redhat-lsb-core.x86_64 openssl.x86_64 ; do yum install -y $i; done

2.ii. Kernel Parameter Requirements

2.ii.a. Verifying UDP and TCP Kernel Parameters

vim /etc/sysctl.conf

net.ipv4.ip_local_port_range = 11000 65000

/etc/rc.d/init.d/network restart

2.ii.b.Verifying nproc Kernel Parameter

vim /etc/security/limits.conf

oracle   soft   nproc    16384
oracle   hard   nproc    16384

2.ii.c. Setting Up kernel.shmmax Kernel Parameter

In our case OMS and Management Repository are on different hosts. Set the kernel.shmmax parameter to a value 1 byte less than 4 GB or 4294967295.

Oracle recommends this value to avoid lack of memory issues for other applications and to enable a complete and successful core file generation under any and all circumstances.

vim /etc/sysctl.conf

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295

Run this command to change the current values of the kernel parameters

/sbin/sysctl -p

kernel.shmmax = 4294967295

You will see something like in terminal.

After updating the values of the kernel parameters in the /etc/sysctl.conf file, either restart the host, or run the command sysctl -p to make the changes in the /etc/sysctl.conf file available in the active kernel memory.

2.iv. set max user processes parameter and the open files parameter are set to 30000.
vim /etc/security/limits.conf

oracle   soft   nofile    30000
oracle   hard   nofile    65536
oracle   soft   nproc    16384
oracle   hard   nproc    16384
oracle   soft   stack    10240
oracle   hard   stack    32768

3. Creating Operating System Groups and Users for Enterprise Manager Cloud Contro

We need to create,
The Oracle Inventory Group (typically, oinstall)

/usr/sbin/groupadd oinstall

The Oracle Software Owner User (typically, oracle). If the user does not exists before,

/usr/sbin/useradd -g oinstall oracle

If oracle user exists then,

/usr/sbin/usermod -g oinstall oracle

To check if everything is ok

id oracle
uid=2000(oracle) gid=2052(oinstall) groups=2052(oinstall)

The output should look like this (except id numbers).

4. Disable SElinux permanently

vim /etc/selinux/config
"SELINUX=enforcing" entry to "SELINUX=disabled"
To check as the root user
/sbin/sestatus

The output should look like this

SELinux status: disabled

5. Create minimum 512 MB of swap space

as root user

dd if=/dev/zero of=/home/oracle/swapfile bs=1024 count=1048576
mkswap /home/oracle/swapfile
swapon /home/oracle/swapfile

To check if swap is activate use free -gh command, you will see something like this.

[root@mtloem01 sihamsharif]# free -gh
total used free shared buff/cache available
Mem: 29G 590M 12G 504M 15G 27G

6. Create bip directory’s as mentioned in the response file.

mkdir -p /oem/bip/cluster
mkdir -p /oem/bip/config

For now all is good. Now we move to the next part.

 

 

 

 

 

Leave a Reply