Wednesday, 28 December 2022

Installation of Enterprise Manager Cloud Control 13c Release 5 on Windows Platform


 Table of Contents


1. Enterprise Manager Cloud Control Architecture.
2. Environment
3. Verify Certificate
4. Pre-requisites. 
5. Download Enterprise Manager Cloud Control 13c Release 5
6. Create Oracle 19c Repository Database
7. Install Enterprise Manager Cloud Control 13c Release 5 (13.5.0.0). 
8. Deploy Management Agent manually
9. Open Enterprise Manager Cloud Control URL
10. Reference Document


Enterprise Manager Cloud Control Architecture

 

Environment

Platform                                    : Microsoft Windows Server 2019 Datacentre Server

Server                                       : *********.local

OEM Version                            : 13c Release 5 (13.5.0.0)

OMS HOME                             : C:\oracle\product\middleware

Agent HOME                            : C:\oracle\product\agent

RDBMS HOME                        : c:\oracle\product\19.0.0.0\dbhome_1

RDBMS Version                       : 19.11.0.0.0

Repository CDB                       : OEMCDB

Repository PDB                       : PDBREPO

 

 Verify Certificate

 


Pre-requisites

CPU, RAM, Heap Size, and Hard Disk Space Requirements for Oracle Management Service

 


 CPU, RAM, and Hard Disk Space Requirements for Oracle Management Agent



CPU, RAM, and Hard Disk Space Requirements for Oracle Management Repository



Package Requirements for Oracle Management Service

·       Microsoft Visual C++ 2010 Redistributable Package

·       Microsoft Visual C++ 2012 Redistributable Package

·       Microsoft Visual C++ 2015 Redistributable Package Update 3

 

Package Requirements for Oracle Management Agent

  • Microsoft Visual C++ 2010 Redistributable Package
  • Microsoft Visual C++ 2015 Redistributable Package Update 3


    The Default Ports Used in Enterprise Manager Cloud Control OMS Configuration and their Directionality

 

1. Port 3872,1830 - 1849 (Agent port):
        Agent port is unidirectional (OMS to Agent)
        Job or console operations require the OMS to talk to the Agent, so this is needed for outbound communication from the OMS.

2. Port 1159 (HTTPS Upload Port), 4889 (HTTP Upload Port)
        Agent or target host communication to OMS host, unidirectional (Agent to OMS)

3. HTTPS Console port 7799
        User browser host to OMS host through port 7799 for EM 13.5 console HTTPS access, unidirectional

4. Admin Server HTTPS Port: 7101
        User browser host to OMS host for WebLogic Server Admin Console access through port 7101, unidirectional

5. SSH: 22
        The OMS transfers Agent software to a target server in an Agent Push deployment through this standard OS SSH port, unidirectional

 

At minimum, the following URLs should be made available through the firewall:

  •   aru-akam.oracle.com
  •   ccr.oracle.com
  •   login.oracle.com
  •   support.oracle.com
  •   updates.oracle.com
  •   oauth-e.oracle.com

Ensure that the default ports, that is, port 80 for HTTP connectivity and port 443 for HTTPS connectivity, are used to connect to the mentioned URLs.

 

Download Enterprise Manager Cloud Control 13c Release 5

Download-Enterprise-Manager-Cloud-Control-13.5



Create Oracle 19c Repository Database

Set oracle_home=c:\oracle\product\19.0.0.0\dbhome_1

Invoke dbca utility to create database.

 










 

Per Doc ID 2631718.1,

CAUSE

This issue is caused by Bug 29686671.

SOLUTION

Run dbca with "-J-Doracle.assistants.dbca.validate.ConfigurationParams=false" like a bellow.

dbca -J-Doracle.assistants.dbca.validate.ConfigurationParams=false

 





















<<<19c Repository Database creation is completed>>>>

 

 

 

 

 

 

Install Enterprise Manager Cloud Control 13.5



Right-click on setup_em13500_win64.exe and Run as Administrator. (Do not unzip any files/folders)

Launcher log file is C:\Users\FT6180-A\AppData\Local\Temp\OraInstall2021-11-05_10-17-14PM\launcher2021-11-05_10-17-14PM.log.

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

Checking monitor: must be configured to display at least 256 colors.   Actual 4294967296    Passed

Checking swap space: must be greater than 512 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 C:\Users\FT6180-A\AppData\Local\Temp\OraInstall2021-11-05_10-17-14PM

ScratchPathValue :C:\Users\FT6180-A\AppData\Local\Temp\OraInstall2021-11-05_10-17-14PM

Nov 05, 2021 10:25:11 PM org.apache.sshd.common.io.DefaultIoServiceFactoryFactory getIoServiceProvider

INFO: No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory


 





















Click on Auto Fix and proceed.

























Expected to fail the Agent configuration on Windows platform as we are not using the Cygwin tool for SSH daemon. Solution is to download the agent image and deploy it manually.

Deploy Management Agent

 

a.       Download the Agent Image via emcli

 

               <Open cmd with Run as Administrator>

C:\windows\system32>set oracle_home=C:\oracle\product\middleware

 

C:\windows\system32>C:\oracle\product\middleware\bin\emcli login -username=sysman -password=*****

Login successful

 

C:\windows\system32>C:\oracle\product\middleware\bin\emcli sync

Synchronized successfully

 

C:\windows\system32>C:\oracle\product\middleware\bin\emcli get_supported_platforms

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

Version = 13.5.0.0.0

 Platform = Microsoft Windows x64 (64-bit)

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

Platforms list displayed successfully.

 

C:\windows\system32>C:\oracle\product\middleware\bin\emcli get_agentimage -destination="F:\soft\agent_13c" -platform="Microsoft Windows x64 (64-bit)" -version=13.5.0.0.0

 === Partition Detail ===

Space free : 28 GB

Space required : 1 GB

Check the logs at C:\oracle\product\gc_inst\em\EMGC_OMS1\sysman\emcli\setup/.emcli/get_agentimage_2022-03-17_11-52-59-AM.log

Downloading F:\soft\agent_13c\13.5.0.0.0_AgentCore_233.zip

File saved as F:\soft\agent_13c\13.5.0.0.0_AgentCore_233.zip

Downloading F:\soft\agent_13c\13.5.0.0.0_Plugins_233.zip

File saved as F:\soft\agent_13c\13.5.0.0.0_Plugins_233.zip

Downloading F:\soft\agent_13c\unzip.exe

File saved as F:\soft\agent_13c\unzip.exe

Executing command: F:\soft\agent_13c\unzip.exe F:\soft\agent_13c\13.5.0.0.0_Plugins_233.zip -d F:\soft\agent_13c

Archieving agentImage and plugins.

Exit status is:0

Agent Image Download completed successfully.

 

b.       Deploy Agent manually

 

cd F:\soft\agent_13c\13.5.0.0.0_AgentCore_233

 

agentDeploy.bat AGENT_BASE_DIR=C:\oracle\product\agent -ignorePrereqs AGENT_PORT=3872 EM_UPLOAD_PORT=1159 OMS_HOST=******.tes.local ORACLE_HOSTNAME= ******.tes.local AGENT_INSTANCE_HOME=C:\oracle\product\agent\agent_inst AGENT_REGISTRATION_PASSWORD=*****

 

Mar 17, 2022 12:00:03 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: AGENT_MODE=NONE

Mar 17, 2022 12:00:03 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile

INFO: s_agentSrvcName=Oracleagent13c1Agent

log loction is setlog

Writing the following contents into C:\oracle\product\agent\agent_13.5.0.0.0\install\oragchomelist

C:\oracle\product\agent\agent_13.5.0.0.0:C:\oracle\product\agent\agent_inst

Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.

The value of chainInstall : false forceConfigure : false skipValidation : false

Validating oms host & port with url: https://******.local:1159/empbs/genwallet

Validating oms host & port with url: http://********.local:1159/empbs/genwallet

The status is 0

Validated the oms host and port :- *******.local----1159

Getting Inet Addresses for host *************

** Agent Port Check completed successfully.**

Validated the agent port :- ----3872

shared agent value is :false

servicname is:Oracleagent13c1Agent

service cmd is:cmd /c C:\oracle\product\agent\agent_13.5.0.0.0\bin\nmesrvops create Oracleagent13c1Agent C:\oracle\product\agent\agent_13.5.0.0.0\bin\nmesrvc.exe  auto

chain install is :false

Agent Configuration completed successfully

 

c.        Verify the Agent & OMS status

F:\soft\agent_13c\13.5.0.0.0_AgentCore_233>C:\oracle\product\agent\agent_13.5.0.0.0\bin\emctl status agent

Oracle Enterprise Manager Cloud Control 13c Release 5

Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.

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

Agent Version          : 13.5.0.0.0

OMS Version            : 13.5.0.0.0

Protocol Version       : 12.1.0.1.0

Agent Home             : C:/oracle/product/agent/agent_inst

Agent Log Directory    : C:/oracle/product/agent/agent_inst\sysman\log

Agent Binaries         : C:\oracle\product\agent\agent_13.5.0.0.0

Core JAR Location      : C:\oracle\product\agent\agent_13.5.0.0.0\jlib

Agent Process ID       : 3764

Parent Process ID      : 5452

Agent URL              : https://****:3872/emd/main/

Local Agent URL in NAT : https://******:3872/emd/main/

Repository URL         : https://*****.local:1159/empbs/upload

Started at             : 2022-03-17 12:02:18

Started by user        : ******$

Operating System       : Windows version 10.0 (amd64)

Number of Targets      : 3

Last Reload            : (none)

Last successful upload                       : 2022-03-17 12:04:16

Last attempted upload                        : 2022-03-17 12:04:16

Total Megabytes of XML files uploaded so far : 0.07

Number of XML files pending upload           : 0

Size of XML files pending upload(MB)         : 0

Available disk space on upload filesystem    : 40.84%

Collection Status                            : Collections enabled

Heartbeat Status                             : Ok

Last attempted heartbeat to OMS              : 2022-03-17 12:03:44

Last successful heartbeat to OMS             : 2022-03-17 12:03:44

Next scheduled heartbeat to OMS              : 2022-03-17 12:04:44

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

Agent is Running and Ready

 

F:\soft\agent_13c\13.5.0.0.0_AgentCore_233>C:\oracle\product\agent\agent_13.5.0.0.0\bin\emctl pingOMS

Oracle Enterprise Manager Cloud Control 13c Release 5

Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.

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

EMD pingOMS completed successfully

 

 

C:\windows\system32>C:\oracle\product\middleware\bin\emctl status oms -details -sysman_pwd *****

Oracle Enterprise Manager Cloud Control 13c Release 5

Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.

Console Server Host        : ********.local

HTTP Console Port          : 7788

HTTPS Console Port         : 7799

HTTP Upload Port           : 4889

HTTPS Upload Port          : 1159

EM Instance Home           : C:\oracle\product\gc_inst\em\EMGC_OMS1

OMS Log Directory Location : C:\oracle\product\gc_inst\em\EMGC_OMS1/sysman/log

OMS is not configured with SLB or virtual hostname

Agent Upload is locked.

OMS Console is locked.

Active CA ID: 1

Console URL: https://*******.local:7799/em

Upload URL: https://*******.local:1159/empbs/upload

 

WLS Domain Information

Domain Name            : GCDomain

Admin Server Host      : ********.local

Admin Server HTTPS Port: 7101

Admin Server is RUNNING

 

Oracle Management Server Information

Managed Server Instance Name: EMGC_OMS1

Oracle Management Server Instance Host: *******.local

WebTier is Up

Oracle Management Server is Up

JVMD Engine is Up

 

Open Enterprise Manager Cloud Control

 https://*************:7799/em

 

 


 

 

 






 

<<Installation of Enterprise manager cloud control 13.5 has been successfully completed>>


Reference Document


https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/embsc/introduction1.html

EM 13c, EM 12c: The Default Ports Used in Enterprise Manager Cloud Control OMS Configuration and their Directionality (Doc ID 2362242.1)

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.5/emadv/understanding-basics.html#GUID-A9257DD5-A702-4004-91E1-0D9A681E4E7E

 



 

 

 

No comments:

Post a Comment