Silent Installation of Oracle Enterprise Manager 13c Release 5 using RAC Repository Database 19c

Oracle Enterprise Manager (OEM) 13c Release 5 is a centralized platform for monitoring and managing Oracle's technology stack. This guide outlines the steps to perform a silent installation of OEM 13cR5 using an Oracle RAC 19c database, named "master" as the repository.

Environment details:

Component

Value

OS

Oracle Linux 8 (All Nodes)

OEM Installation Host

dbsrv09.localdomain

OEM Version

13c Release 5 (13.5.0.0.0)

RAC nodes

dbsrv01.localdomain, dbsrv02.localdomain

Database Version

Oracle 19.23 Release Update

Database SCAN Hostname

master-scan

Database Listener Port

1521

Database Service Name

master

Diskgroup

+DATA

OMS Server Prerequisites (OEM 13cR5)

Repository Database Prerequisites (Oracle 19.23)

 1.Install Required Packages, oracle-database-preinstall-19c package helps to automatically install required packages and configure OS users and groups.

[root@dbsrv09 ~]# yum install oracle-database-preinstall-19c -y

 Installed:

  ksh-20120801-267.0.1.el8.x86_64                    libaio-devel-0.3.112-1.el8.x86_64      libnsl-2.28-251.0.2.el8_10.5.x86_64    lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64

  oracle-database-preinstall-19c-1.0-2.el8.x86_64    sysstat-11.7.3-13.0.2.el8_10.x86_64

 Complete!

 

 10. Based on the EM Prerequisite Kit report (prereqResultReport.html), apply the required parameter settings on the repository DB server.

 [oracle@dbsrv01 ~]$ sqlplus / as sysdba

 SQL*Plus: Release 19.0.0.0.0 - Production on Thu Jul 3 03:24:38 2025

Version 19.23.0.0.0

Copyright (c) 1982, 2023, Oracle.  All rights reserved.

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.23.0.0.0

SQL> alter system set sga_target=3G scope=both sid='*';

System altered.

SQL> alter system set pga_aggregate_target=2G scope=both sid='*';

System altered.

SQL> alter system set session_cached_cursors=500 scope=spfile sid='*';

System altered.

SQL> alter system set shared_pool_size=600M scope=both sid='*';

System altered.

SQL> alter system set "_allow_insert_with_update_check"=true scope=both sid='*';

System altered.

SQL> exit

Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.23.0.0.0

 

 2. Set Kernel Parameters, Add the port range settings to /etc/sysctl.conf and apply it with sysctl -p

 [root@dbsrv09 ~]# vi /etc/sysctl.conf

net.ipv4.ip_local_port_range = 11000 65000

 [root@dbsrv09 ~]# sysctl -p

 

 11. Restart the repository RAC database to apply the updated parameter changes.

 [oracle@dbsrv01 ~]$ srvctl stop database -db master

[oracle@dbsrv01 ~]$ srvctl start database -db master

 

 3. Set User Limits, Add file and process limits for the oracle user in /etc/security/limits.conf

 [root@dbsrv09 ~]# vi /etc/security/limits.conf

 oracle   soft    nofile     65536

oracle   hard   nofile     65536

oracle   soft    nproc     30000

oracle   hard   nproc     30000

 

 

 4. Stop and disable the firewall service.

 [root@dbsrv09 ~]# systemctl stop  firewalld 

[root@dbsrv09 ~]# systemctl disable firewalld

 

 

 5. Change SELinux mode to disabled in the config file, it requires reboot to take effect.

 [root@dbsrv09 ~]# vi /etc/selinux/config

SELINUX=disabled

 

 

 6. Download Oracle Enterprise Manager 13.5 installer from the official Oracle site, transfer it to the OMS host's /tmp directory and run chmod +x to make it executable.

 [root@dbsrv09 ~]# su - oracle

[oracle@dbsrv09 ~]$ cd /tmp

[oracle@dbsrv09 tmp]$ ls -ltr em13500_linux64*

-rw-r--r-- 1 oracle oinstall 1454982045 Oct 27  2024 em13500_linux64-4.zip

-rw-r--r-- 1 oracle oinstall 1494500710 Oct 27  2024 em13500_linux64-5.zip

-rwxr-xr-x 1 oracle oinstall 1586801533 Oct 27  2024 em13500_linux64.bin

-rw-r--r-- 1 oracle oinstall 1897494675 Oct 27  2024 em13500_linux64-2.zip

-rw-r--r-- 1 oracle oinstall 2130750885 Oct 27  2024 em13500_linux64-3.zip

[oracle@dbsrv09 tmp]$ chmod +x em13500_linux64.bin

 

 

 7. Invoke the installer and generate response file for performing a silent installation.

 [oracle@dbsrv09 tmp]$ ./em13500_linux64.bin -J-Djava.io.tmpdir=/opt/tmp -getResponseFileTemplates -outputLoc /tmp/

Launcher log file is /opt/tmp/OraInstall2025-07-04_02-33-51PM/launcher2025-07-04_02-33-51PM.log.

Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

Copying response file template(s)

to /tmp/

  Copying response file template softwareOnlyWithPlugins_install.rsp

  Copying response file template emprereqkit_upgrade.rsp

  Copying response file template upgrade.rsp

  Copying response file template new_install.rsp

  Copying response file template emprereqkit_install.rsp

  Copying response file template softwareOnlyWithPlugins_upgrade.rsp

Finished copying response file template(s)

 

The log(s) can be found here: /opt/tmp/OraInstall2025-07-04_02-33-51PM.

 

 

 8. Prepare the emprereqkit_install.rsp file with the required parameter values.

 [oracle@dbsrv09 tmp]$ vi emprereqkit_install.rsp

RESPONSEFILE_VERSION=2.2.1.0.0

UNIX_GROUP_NAME=oinstall

DATABASE_HOSTNAME=master-scan

LISTENER_PORT=1521

SERVICENAME_OR_SID=master

SYS_PASSWORD=sys

b_upgrade=false

EM_INSTALL_TYPE=NOSEED

CONFIGURATION_TYPE=ADVANCED

 

 

 9. Run the EM Prerequisite Kit in silent mode using ./em13500_linux64.bin with the flag EMPREREQ_KIT=true to verify that the system meets all requirements for installing Oracle Enterprise Manager.

 [oracle@dbsrv09 tmp]$ ./em13500_linux64.bin EMPREREQ_KIT=true -silent -responseFile /tmp/emprereqkit_install.rsp -J-Djava.io.tmpdir=/opt/tmp

Launcher log file is /opt/tmp/OraInstall2025-07-09_01-13-14AM/launcher2025-07-09_01-13-14AM.log.

Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

Checking swap space: must be greater than 512 MB.   Actual 8191 MB    Passed

Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)

Preparing to launch the Oracle Universal Installer from /opt/tmp/OraInstall2025-07-09_01-13-14AM

Running EMPREREQ_KIT.

ScratchPathValue :/opt/tmp/OraInstall2025-07-09_01-13-14AM

 

The log(s) can be found here: /opt/tmp/OraInstall2025-07-09_01-13-14AM.

 EM Prerequisite Kit generates HTML report located under /opt/tmp/OraInstall2025-07-09_01-13-14AM/prereqResultReport.html

 This HTML report highlights warnings related to repository database parameters.

Figure 1 illustrates the validation results from the EM Prerequisite Kit.

 

 

 


            Figure 1 – EM Prerequisite Kit report showing parameter warnings and recommendations.


Silent Installation of Oracle Enterprise Manager 13.5 with Oracle RAC 19c Repository.

12. Prepare new_install.rsp response File for Installing Enterprise Manager in Silent Mode.

 [oracle@dbsrv09 ~]$ cd /tmp

[oracle@dbsrv09 tmp]$ vi new_install.rsp

RESPONSEFILE_VERSION=2.2.1.0.0

UNIX_GROUP_NAME="oinstall"

INVENTORY_LOCATION="/u01/app/oraInventory"

INSTALL_UPDATES_SELECTION="skip"

ORACLE_MIDDLEWARE_HOME_LOCATION="/u01/app/oracle/em13c/oraclehome"

ORACLE_HOSTNAME="dbsrv09.localdomain"

AGENT_BASE_DIR="/u01/app/oracle/em13c/agent"

WLS_ADMIN_SERVER_PASSWORD="manager09"

WLS_ADMIN_SERVER_CONFIRM_PASSWORD="manager09"

NODE_MANAGER_PASSWORD="manager09"

NODE_MANAGER_CONFIRM_PASSWORD="manager09"

ORACLE_INSTANCE_HOME_LOCATION="/u01/app/oracle/em13c/gc_inst"

CONFIGURE_ORACLE_SOFTWARE_LIBRARY=TRUE

SOFTWARE_LIBRARY_LOCATION="/u01/app/oracle/em13c/swlib"

DATABASE_HOSTNAME="master-scan"

LISTENER_PORT="1521"

SERVICENAME_OR_SID="master"

SYS_PASSWORD="sys"

SYSMAN_PASSWORD="manager09"

SYSMAN_CONFIRM_PASSWORD="manager09"

DEPLOYMENT_SIZE="SMALL"

MANAGEMENT_TABLESPACE_LOCATION="+DATA"

CONFIGURATION_DATA_TABLESPACE_LOCATION="+DATA"

JVM_DIAGNOSTICS_TABLESPACE_LOCATION="+DATA"

EMPREREQ_AUTO_CORRECTION=true

AGENT_REGISTRATION_PASSWORD="manager09"

AGENT_REGISTRATION_CONFIRM_PASSWORD="manager09"

PLUGIN_SELECTION={}

b_upgrade=false

EM_INSTALL_TYPE=NOSEED

CONFIGURATION_TYPE=ADVANCED

13. Invoke the installer in silent mode by passing the updated response file to ./em13500_linux64.bin

[oracle@dbsrv09 ~]$ cd /tmp

[oracle@dbsrv09 tmp]$ ./em13500_linux64.bin -silent -responseFile /tmp/new_install.rsp -J-Djava.io.tmpdir=/opt/tmp

 

Launcher log file is /opt/tmp/OraInstall2025-07-08_05-52-22PM/launcher2025-07-08_05-52-22PM.log.

Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

Checking swap space: must be greater than 512 MB.   Actual 8191 MB    Passed

Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)

Preparing to launch the Oracle Universal Installer from /opt/tmp/OraInstall2025-07-08_05-52-22PM

ScratchPathValue :/opt/tmp/OraInstall2025-07-08_05-52-22PM

EMPREREQ_ATUO_CORRECTION flag is true going to perfom auto correction for fixable prereqs.

Jul 08, 2025 5:57:02 PM org.apache.sshd.common.io.DefaultIoServiceFactoryFactory getIoServiceProvider

INFO: No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory

Session log file is /opt/tmp/OraInstall2025-07-08_05-52-22PM/install2025-07-08_05-52-22PM.log

Installation in progress

 Install successful

Linking in progress

Link successful

Setup in progress 

Setup successful

Session log file is /opt/tmp/OraInstall2025-07-08_05-52-22PM/install2025-07-08_05-52-22PM.log

Installation in progress

Install successful

Linking in progress

Link successful

Setup in progress

Setup successful

Session log file is /opt/tmp/OraInstall2025-07-08_05-52-22PM/install2025-07-08_05-52-22PM.log

..................................................................................................

Installation in progress (Tuesday, July 8, 2025 6:07:13 PM IST)

                              98% Done.

Install successful

Linking in progress (Tuesday, July 8, 2025 6:07:14 PM IST)

Link successful

Setup in progress (Tuesday, July 8, 2025 6:07:14 PM IST)

Setup successful

Saving inventory (Tuesday, July 8, 2025 6:07:14 PM IST)

Saving inventory complete

End of install phases.(Tuesday, July 8, 2025 6:07:20 PM IST)

Session log file is /opt/tmp/OraInstall2025-07-08_05-52-22PM/install2025-07-08_05-52-22PM.log

...............................................................  42% Done.

...............................................................  85% Done.

...................

.13NGCHEKAGGREGATE  : encap_oms

13NGCHEKAGGREGATE  : OuiConfigVariables

13NGCHEKAGGREGATE  : oracle.sysman.top.agent

13NGCHEKAGGREGATE  : oracle.sysman.top.oms

13NGCHEKAGGREGATE  : OuiConfigVariables

2025-07-08_06-18-40PM: Configuration Assistant "Plugins Prerequisites Check" is in progress.

2025-07-08_06-18-59PM: Configuration Assistant "Plugins Prerequisites Check" has Succeeded.

2025-07-08_06-18-59PM: Configuration Assistant "Repository Configuration" is in progress.

Calling the EMSCHEMA MANAGER: CREATE

before starting RCU

Repository Creation Utility - Checking Prerequisites

Checking Global Prerequisites

Repository Creation Utility - Checking Prerequisites

Checking Component Prerequisites

Repository Creation Utility - Creating Tablespaces

Validating and Creating Tablespaces

Create tablespaces in the repository database

Repository Creation Utility - Create

Repository Create in progress.

Executing pre create operations

Creating EM Repository Common(EM_REPOS_COMMON)

Creating EM Repository Init Configuration(EM_REPOS_INIT)

Check the Repository Configuration Assistant logs at: /u01/app/oracle/em13c/oraclehome/sysman/log/schemamanager

Cloning of agent home completed successfully

Agent Configuration completed successfully

The following configuration scripts need to be executed as the "root" user. Root script to run : /u01/app/oracle/em13c/agent/agent_13.5.0.0.0/root.sh

AgentConfiguration:agent configuration finished with status = true

2025-07-08_09-58-01PM: Configuration Assistant "Agent Configuration Assistant" has Succeeded.

*** The Installation was Successful. *** 

This information is also available at:

         /u01/app/oracle/em13c/oraclehome/install/setupinfo.txt

 See the following for information pertaining to your Enterprise Manager installation:

Use the following URL to access:

 

        1. Enterprise Manager Cloud Control URL: https://dbsrv09.localdomain:7803/em

        2. Admin Server URL: https://dbsrv09.localdomain:7102/console

The following details need to be provided while installing an additional OMS:

        1. Admin Server Host Name: dbsrv09.localdomain

        2. Admin Server Port: 7102

You can find the details on ports used by this deployment at : /u01/app/oracle/em13c/oraclehome/install/portlist.ini

 NOTE:

 An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable.

 A backup of the OMS configuration is available in /u01/app/oracle/em13c/gc_inst/em/EMGC_OMS1/sysman/backup on host dbsrv09.localdomain. See Cloud Control Administrators Guide for details on how to back up and recover an OMS.

 NOTE: This backup is valid only for the initial OMS configuration. For example, it will not reflect plug-ins installed later, topology changes like the addition of a load balancer, or changes to other properties made using emctl or emcli. Backups should be created on a regular basis to ensure they capture the current OMS configuration. Use the following command to backup the OMS configuration:

/u01/app/oracle/em13c/oraclehome/bin/emctl exportconfig oms -dir <backup dir>

 Prompt for the allroot.sh

Warning: You must run the following configuration scripts as the "root" user.

  /u01/app/oracle/em13c/oraclehome/allroot.sh

To execute the configuration scripts:

 1. Open a new  terminal window.

 2. Login in as "root".

 3. Run the scripts.

Successfully installed Enterprise Manager Cloud Control.

Logs successfully copied to /u01/app/oraInventory/logs.

14. Run the following configuration scripts as the "root" user.

 [root@dbsrv09 ~]# /u01/app/oracle/em13c/agent/agent_13.5.0.0.0/root.sh

Finished product-specific root actions.

/etc exist

[root@dbsrv09 ~]# /u01/app/oracle/em13c/oraclehome/allroot.sh

Starting to execute allroot.sh .........

Starting to execute /u01/app/oracle/em13c/oraclehome/root.sh ......

Check /u01/app/oracle/em13c/oraclehome/install/root_dbsrv09.localdomain_2025-07-08_22-11-51.log for the output of root script

Finished product-specific root actions.

/etc exist

Finished execution of  /u01/app/oracle/em13c/oraclehome/root.sh ......

Starting to execute /u01/app/oracle/em13c/agent/agent_13.5.0.0.0/root.sh ......

Finished product-specific root actions.

/etc exist

Finished execution of  /u01/app/oracle/em13c/agent/agent_13.5.0.0.0/root.sh ......


15. Access the Oracle Enterprise Manager 13cR5 through the Console.

        1. Enterprise Manager Cloud Control URL: https://dbsrv09.localdomain:7803/em

        2. Admin Server URL: https://dbsrv09.localdomain:7102/console









Comments

Popular posts from this blog

Creating a RAC Physical Standby Database Using DBCA with the -createDuplicateDB -createAsStandby Option

How to Reposition Extract, Data Pump and Replicat in GoldenGate During Trail File Corruption

Real-Time data replication from Oracle to Cassandra using Oracle GoldenGate 21c