Tag Archives: oem 13.2

OEM Install 13.2

Oracle Enterprise Manager Cloud Control 13c Release 2 (13.2.0.0) Installation on Oracle Linux 64 bit

Table of Contents

___________________________________________________________________________________________________

0. Overview
1. Environment
2. Verify Certification
3. Download Software
     3.1 Oracle Enterprise Manager Cloud Control 13c Release 2 (13.2.0.0)
     3.2 Oracle Database 12c Release 1 (12.1.0.2.0) for Linux x86-64
     3.3 DB Template 12.1.0.2 for EM 13.2.0.0 on Linux x86-64
4. Install Oracle 12.1.0.2 software only
     4.1 Oracle Installation Prerequisites
     4.2 Set the password for the “oracle” user
     4.3 Set SELINUX to permissive
     4.4 Disable Firewall
     4.5 Create the directories
     4.6 Unzip Database Files
     4.7 Install Database software only 12.1.0.2
5. Unzip Database Template
6. Create Repository DB 12.1.0.2
7. Install EM Cloud Control 13c (13.2.0.0)
8. Open Enterprise Manager Cloud Control
___________________________________________________________________________________________________


0. Overview

Oracle Enterprise Manager is a system management tool which provides an integrated solution for managing your heterogeneous environment. It combines a graphical console, agents, common services, and tools to provide an integrated, comprehensive systems management platform for managing Oracle products.


1. Environment

Platform   		: Linuxx86_64, Linux 7
Server IP 		: 192.168.2.101
OEM Version 		: 13c Release 2 (13.2.0.0)
OMS HOME		: /u01/app/oracle/middleware
Agent HOME 		: /u01/app/oracle/agent
DB ORACLE_HOME		: /u01/app/oracle/product/12.1.0.2/db_1
Repository DB Name 	: OEMSTAR
Repository DB Version 	: 12.1.0.2
OMS Binary Owner 	: oracle:oinstall
DB Binary Owner		: oracle:oinstall


2. Verify Certification

Enterprise Manager Base Platform - OMS 13.2.0.0.0 is certified on Linux x86-64 Red Hat Enterprise Linux 7. 


3. Download Software

3.1 Oracle Enterprise Manager Cloud Control 13c Release 2 (13.2.0.0)

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


3.2 Oracle Database 12c Release 1 (12.1.0.2.0) for Linux x86-64


3.3 DB Template 12.1.0.2 for EM 13.2.0.0 on Linux x86-64 (This is NOT Mandatory)

https://www.oracle.com/enterprise-manager/downloads/db-templates-13c-release2-downloads.html


Database Template (with EM 13.2.0.0 repository pre-configured) for Installing Oracle Enterprise Manager Cloud Control 13c Release 2 (13.2.0.0)
There are two templates available. In this article I will be using non-CDB architecture, but there is one for the Multitenant architecture also, however there won't be any CDB Repository Database.

12.1.0.2 DB Template for EM 13.2.0.0 on Linux x86-64
(OR)
12.1.0.2 DB Template with CDB PDB for EM 13.2.0.0 on Linux x86-64


4. Install Oracle 12.1.0.2 software only


4.1 Oracle Installation Prerequisites

# yum install oracle-rdbms-server-12cR1-preinstall -y


4.2 Set the password for the “oracle” user

[root@rac1 ~]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
[root@rac1 ~]#


4.3 Set SELINUX to permissive

[root@rac1 ~]# cat /etc/selinux/config | grep -i "SELINUXTYPE=targeted"
SELINUXTYPE=targeted
[root@rac1 ~]#


4.4 Disable Firewall

[root@rac1 ~]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-09-18 00:17:12 +08; 2s ago
     Docs: man:firewalld(1)
 Main PID: 8252 (firewalld)
   CGroup: /system.slice/firewalld.service
           ââ8252 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

Sep 18 00:17:11 rac1 systemd[1]: Starting firewalld - dynamic firewall daemon...
Sep 18 00:17:12 rac1 systemd[1]: Started firewalld - dynamic firewall daemon.
[root@rac1 ~]#
[root@rac1 ~]# systemctl stop firewalld
[root@rac1 ~]# systemctl disable firewalld
[root@rac1 ~]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:firewalld(1)

Sep 18 00:17:11 rac1 systemd[1]: Starting firewalld - dynamic firewall daemon...
Sep 18 00:17:12 rac1 systemd[1]: Started firewalld - dynamic firewall daemon.
Sep 18 00:17:40 rac1 systemd[1]: Stopping firewalld - dynamic firewall daemon...
Sep 18 00:17:40 rac1 systemd[1]: Stopped firewalld - dynamic firewall daemon.
[root@rac1 ~]#


4.5 Create the directories

[root@rac1 ~]# mkdir -p /u01/app/oracle/product/12.1.0.2/db_1
[root@rac1 ~]# chown -R oracle:oinstall /u01
[root@rac1 ~]# chmod -R 775 /u01
[root@rac1 ~]#


4.6 Unzip Database Files

[oracle@rac1 backup]$ unzip linuxamd64_12102_database_1of2.zip
[oracle@rac1 backup]$ unzip linuxamd64_12102_database_2of2.zip


4.7 Install Database software only 12.1.0.2

[oracle@rac1 backup]$ cd database
[oracle@rac1 database]$ pwd
/u01/app/backup/database
[oracle@rac1 database]$ ls -ltr
total 24
-rwxr-xr-x.  1 oracle oinstall  500 Feb  7  2013 welcome.html
-rwxr-xr-x.  1 oracle oinstall 8533 Jul  7  2014 runInstaller <----
drwxr-xr-x.  2 oracle oinstall   34 Jul  7  2014 rpm
drwxrwxr-x.  2 oracle oinstall   29 Jul  7  2014 sshsetup
drwxrwxr-x.  2 oracle oinstall   61 Jul  7  2014 response
drwxr-xr-x. 14 oracle oinstall 4096 Jul  7  2014 stage
drwxr-xr-x.  4 oracle oinstall 4096 Sep 18 00:27 install
[oracle@rac1 database]$

[oracle@rac1 database]$ export DISPLAY=192.168.2.2:0.0
[oracle@rac1 database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.   Actual 3568 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4095 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-09-18_12-34-54AM. Please wait ...[oracle@rac1 database]$




































5. Unzip Database Template (This is NOT Mandatory, without this template you can create database)

[oracle@rac1 ~]$ cd /u01/app/oracle/product/12.1.0.2/db_1/assistants/dbca/templates
[oracle@rac1 templates]$ ls -ltr
total 679404
-rw-r--r--. 1 oracle oinstall     11000 Dec 23  2013 New_Database.dbt
-rw-r--r--. 1 oracle oinstall   2379776 Jul  7  2014 example.dmp
-rw-r--r--. 1 oracle oinstall  22339584 Jul  7  2014 example01.dfb
-rw-r--r--. 1 oracle oinstall 178683904 Jul  7  2014 sampleschema.dfb
-rw-r--r--. 1 oracle oinstall      5333 Jul  7  2014 sampleschema.xml
-rw-r--r--. 1 oracle oinstall 155189248 Jul  7  2014 pdbseed.dfb
-rw-r--r--. 1 oracle oinstall      4045 Jul  7  2014 pdbseed.xml
-rw-r--r--. 1 oracle oinstall 319102976 Jul  7  2014 Seed_Database.dfb
-rw-r--r--. 1 oracle oinstall  17973248 Jul  7  2014 Seed_Database.ctl
-rw-r--r--. 1 oracle oinstall      5028 Jul  7  2014 Data_Warehouse.dbc
-rw-r--r--. 1 oracle oinstall      4908 Jul  7  2014 General_Purpose.dbc
[oracle@rac1 templates]$ unzip /u01/app/backup/12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Linux_x64.zip
Archive:  /u01/app/backup/12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Linux_x64.zip
  inflating: set_repo_param_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0_Large_deployment.sql
  inflating: set_repo_param_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0_Medium_deployment.sql
  inflating: set_repo_param_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0_Small_deployment.sql
  inflating: shpool_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0.sql
  inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Large_deployment.dbc
  inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Medium_deployment.dbc
  inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Small_deployment.dbc
  inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0.dfb
  inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0.ctl
[oracle@rac1 templates]$


6. Create Repository DB 12.1.0.2

[oracle@rac1 database]$ cd /u01/app/oracle/product/12.1.0.2/db_1/bin/
[oracle@rac1 bin]$ ./dbca <-----





































Connection Verification

[oracle@rac1 admin]$ sqlplus sys@OEMSTAR AS SYSDBA

SQL*Plus: Release 12.1.0.2.0 Production on Wed Sep 18 02:32:58 2019

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

Enter password:

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL>

SQL> alter user SYSMAN identified by SYSMAN_123;

User altered.

SQL> alter user SYSMAN account unlock;

User altered.

SQL>


7. Install EM Cloud Control 13c (13.2.0.0)

No need to unzip the software.

[oracle@rac1 ~]$ mkdir -p /u01/app/oracle/middleware
[oracle@rac1 ~]$ mkdir -p /u01/app/oracle/agent

[oracle@rac1 backup]$ ls -ltr
total 7727644
-rwxrwxr-x. 1 oracle oinstall  474441637 Jun  3 12:15 em13200_linux64-6.zip
-rwxrwxr-x. 1 oracle oinstall  554607894 Jun  3 12:15 em13200_linux64.bin
-rwxrwxr-x. 1 oracle oinstall  553563556 Jun  3 12:16 em13200_linux64-3.zip
-rwxrwxr-x. 1 oracle oinstall 2118110455 Jun  3 12:31 em13200_linux64-2.zip
-rwxrwxr-x. 1 oracle oinstall 2084299941 Jun  3 12:31 em13200_linux64-4.zip
-rwxrwxr-x. 1 oracle oinstall 2128070240 Jun  3 12:32 em13200_linux64-5.zip
[oracle@rac1 backup]$


[oracle@rac1 backup]$ ./em13200_linux64.bin
** The directory "/tmp" does not have enough space. At least 10241 MB of free space are required.
Please input another directory or [Exit]: /u01/app/temp
0%.........................................................................100%
Launcher log file is /u01/app/temp/OraInstall2019-09-18_02-00-54AM/launcher2019-09-18_02-00-54AM.log.
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2603.810 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 4095 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)














































8. Open Enterprise Manager Cloud Control

https://rac1.rajasekhar.com:7803/em











Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com
WhatsApp : +
Linkedin: https://www.linkedin.com/in/rajasekhar-amudala/