OCI OEM Installation – (Using Market Place Image)

Share on:

oem

 

Introduction

Monitoring plays a major part in mission-critical environments. Most businesses depend on IT infrastructure.  As the environments are critical IT administrators need to make sure database and application servers are up and running 24X7.  OEM (Oracle Enterprise Manager)  plays a critical role in monitoring and administration, For the Oracle database this best product for addressing issues proactively. This is the era most companies thinking about migrating their IT infrastructure to the cloud environment. Oracle Cloud Infrastructure (OCI) is the number one provider for Oracle workloads and OCI has ease monitoring capabilities by introducing OEM (Oracle Enterprise Manager) marketplace image.  

If you want to install OEM manually need to download and stage the software. But marketplace image eases these installations.

In this article, I will elaborate on how we can install single-node OEM installation using the OCI marketplace image. 

In OCI DBCS Oracle Enterprise Edition comes with  Diagnostics and Tuning Packs.  I will talk about the licensing in a separate blog.

If you need to understand more details about the OEM installation, I have mentioned the link which illustrates the OEM 13.5 in OCI infrastructure.  

OCI supports two types of installations.

  • Single Node
  • Multi-Node

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/emcii/#Component-Descriptions-and-Definitions

 

1. Selecting Shape

For Single Node recommended shape is VM.Standard 2.8.

oem2

Figure 1: Support VM Images

 

The marketplace image uses the below-mentioned deployment path.

oem3

Figure 2: OMS installation and log path.

 

2. Installation 

Search the 13.5 OEM image in the marketplace and select the 13.5 image to launch the application. Now Oracle uses Terraform to install these marketplace images.

oem4

Figure 3: 13.5 Installation Image

 

oem5

Figure 4: 13.5 Installation Launch

 

We need to feed the below information to complete the installation.

  • Deployment Type 
  • VCN
  • Subnet
  • EM Compartment and Passwords
  • Agent Registration Password
  • WebLogic Admin and Node Passwords
  • Enterprise Manager Instance Type
  • Repository Database System Passwords
  • Bastion Host Details

 

In section one we need to feed the number of OMS servers and select the type of installation.

oem6

Figure 5: Deployment Type

 

In section two we need to add VCN information and Figure 7 shows the subnet information.

oem7

Figure 6: Network Installation

 

oem8

Figure 7: VCN Subnet Information

Section three needs to provide the OEM Sysman password, agent registration password, and WebLogic admin password.

oem9

Figure 8: Sysman password for OEM

 

oem10

Figure 9: Agent and WebLogic Password

Section four needs to provide the Enterprise Manager VM shape, boot volume size, and availability domain and SSH Key.

oem11

Figure 10: VM Shape Details

 

Section five needs to give the database repository sys and system password. 

oem12

Figure 11: Repository database

 

The last section needs to provide bastion host information.

oem13

Figure 12: Bastion Host

 

Error 

Installation failed when trying to create the bastion host. 

oem14

Figure 13: Job Failure

 

Solution

To overcome this issue for bastion create a bastion instance and give that bastion instance details.

 

Create Bastion Instance 

oem15

Figure 14: Create a Bastion Instance

 

Successful Installation

Once the installation is complete job will turn to green.

oem16

Figure 15: OEM Installation Status

 

Now login to the OEM server via the bastion server.

 

Access OEM Console Access

[opc@oms1 ~]$ sudo su - oracle
Last login: Thu Nov  2 13:23:50 GMT 2023
Installation details of EM 13.5
Bastion IP: 192.18.144.45 - use bastion for OMS access
EM URL: https://10.1.2.5:7799/em
WebLogic URL: https://10.1.2.5:7101/console
Ports used by this deployment at /u01/app/oracle/em/middleware_135/install/portlist.ini
EM Middleware Home location: /u01/app/oracle/em/middleware_135
EM Agent Home location: /u01/app/oracle/em/emagent/agent_13.5.0.0.0
EM Diagnostic Kit (omsvfy): /u01/app/oracle/em/middleware_135/emdiag
EM Diagnostic Kit (repvfy): /u01/app/oracle/em/middleware_135/emdiag_rep
EM Diagnostic Kit (agtvfy): /u01/app/oracle/em/emagent/agent_13.5.0.0.0/emdiag

Oracle Database Home location: /u01/app/oracle/database/product
Oracle Database SID: emrep
DB Connect String: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oms1)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=empdb)))

This information is also available in the file /home/oracle/README.FIRST
To start all processes, as the user oracle, run the script /home/oracle/start_all.sh
To stop all processes, as the user oracle, run the script /home/oracle/stop_all.sh
[oracle@oms1 ~]$

 

Validate OEM Console Access

Now you can log in to the OEM console and start working on the monitoring setup.

oem17

 

Conclusion

By leveraging Oracle Enterprise Manager in Oracle Cloud Infrastructure (OCI), organizations can gain a unified and robust solution for managing their Oracle environments in the cloud. This white paper aims to guide IT professionals and decision-makers in effectively utilizing these tools to enhance the performance, scalability, and security of their Oracle workloads in OCI.

Share on:

More from this Author

OCI Tablespace Creation Error ORA 28361 Master Key not yet set for CREATE TABLESPACE in OCI DBCS

OCI Tablespace Creation Error – ORA-28361: Master Key not yet set for CREATE TABLESPACE in OCI DBCS

Introduction We are living in a data era. Every organization invests in a colossal sum of money to secure its IT infrastructure environment. ... Read More

OLVM Renew Engine and KVM Certificate

OLVM: Renew Engine and KVM Certificate

Introduction Virtualization made a significant change in the IT (Information Technology) industry. This technology helped many organizations to use ... Read More

Back to Top