How do I install Oracle Enterprise Management 13c Agent on Windows?

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.



Requirements:

- In OEM Server (The Server where Oracle Enterprise Manager installed)

1- Create Oracle Enterprise Manager Agent Software Image .


- In Host Server (The Server where we want to install Oracle Enterprise Manger Agent to Install)

1- Firwall Port Config.

2- Visual C++ Packeges Installing. 

3-Install Oracle Enterprise Manager Agent On Host:  



Requirements:

- In OEM Server (The Server where Oracle Enterprise Manager installed)

1- Create Oracle Enterprise Manager Agent Software Image.

open command line as Administrator :

1- cd in D:\Oracle\middleware\bin>emcli login -username=sysman -password=*****





 2emcli sync




3- emcli get_supported_platforms


4- Download the Management Agent software from Oracle Software Library to a temporary directory on the OMS host:


D:\Oracle\middleware\bin>.\emcli get_agentimage -destination=D:\Agent_software_13.5.0.0 -platform="Microsoft Windows x64 (64-bit)" -version="13.5.0.0.0"



· Transfer the downloaded ZIP file to a temporary directory (/tmp) on the destination host where you want to install the Management Agent Host.

· On the destination host, extract the contents of the ZIP file using the Unzip utility:


- In Host Server (The Server where we want to install Oracle Enterprise Manger Agent to Install)

1- Firwall Port Config

  1. From the Start menu, click Control Panel, click System and Security, and then click Windows Firewall. ...



  2. Click Advanced Settings.

  3. Click Inbound Rules.

  4. Click New Rule in the Actions window.

  5. Click Rule Type of Port.

  6. Click Next.
  7. On the Protocol and Ports page click TCP: 22, 3872, 4903,7101,1159


  8. In the Action section, select Allow the connection (or choose the setting for your requirements) and click Next.
  9. In the Profile section, select all appropriate profiles for when this rule applies and click Next.

  10. Finally, give your new rule a descriptive name so that it is easy to find later, and click Finish.

  11. You should now be able to see your new rule created in the Inbound Rules pane and establish connections to your server with the configured port if a program or service is listening on that port.

2- Visual C++ Packeges Installing. 

Microsoft Visual C++ Redistributable 

the latest Packeges  Downloads in Agent Host Server from this Linke: 

https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 

then test the DLL File :

"msvcr100.dll & msvcr110.dll" Datei 

is this Packeges in C:\Windows\System32\ ? exisist ?


Download and Install This packages:

Microsoft VC++ 2010 Redistributable (64 bit) 

VC++ 2012 Redistributable (64 bit) 

VC++ 2015 packages,



3-Install Oracle Enterprise Manager Agent On Host: 

· Transfer the downloaded ZIP file to a temporary directory (/tmp) on the destination host where you want to install the Management Agent.

· On the destination host, extract the contents of the ZIP file using the Unzip utility:

<software_extract_location>/agentDeploy.bat AGENT_BASE_DIR=<Agent Instance Base> RESPONSE_FILE=<absolute_path_to_responsefile>

 

As administartor

D:\Agent_software_13.5.0.0\13.5.0.0.0_AgentCore_233> set AGENT_SERVICE_NAME=Oracleagent13c1Agent

 

D:\Agent_software_13.5.0.0\13.5.0.0.0_AgentCore_233>agentDeploy.bat AGENT_BASE_DIR=D:\Oracle\em_agent OMS_HOST=OEM.COM EM_UPLOAD_PORT=1159 AGENT_REGISTRATION_PASSWORD=*********





Verfiy Installing:

Verfiy Installing:

to Verify the installation:

Navigate to the Management Agent Oracle Home and run the following command to confirm that the Management Agent is up and running:

<Agent Instance Base>/agent_inst/bin/emctl status agent
<Agent Instance Base>/agent_inst/bin/emctl upload agent 

 

 

D:\Oracle\em_agent\agent_inst\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             : D:/Oracle/em_agent/agent_inst

Agent Log Directory    : D:/Oracle/em_agent/agent_inst\sysman\log

Agent Binaries         : D:\Oracle\em_agent\agent_13.5.0.0.0

Core JAR Location      : D:\Oracle\em_agent\agent_13.5.0.0.0\jlib

Agent Process ID       : 1776

Parent Process ID      : 9200

Agent URL              : https://server-name.com:3872/emd/main/

Local Agent URL in NAT : https://server-name.com:3872/emd/main/

Repository URL         : https://OEM.com:1159/empbs/upload

Started at             : 2022-16-01 14:50:24

Started by user        : server-name.com$

Operating System       : Windows version 10.0 (amd64)

Number of Targets      : 4

Last Reload            : (none)

Last successful upload                       : 2022-09-14 11:10:56

Last attempted upload                        : 2022-09-14 11:10:56

Total Megabytes of XML files uploaded so far : 0,11

Number of XML files pending upload           : 0

Size of XML files pending upload(MB)         : 0

Available disk space on upload filesystem    : 48,63%

Collection Status                            : Collections enabled

Heartbeat Status                             : Ok

Last attempted heartbeat to OMS              : 2022-09-14 11:11:33

Last successful heartbeat to OMS             : 2022-09-14 11:11:33

Next scheduled heartbeat to OMS              : 2022-09-14 11:12:33

 

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

Agent is Running and Ready

 

 

D:\Oracle\em_agent\agent_inst\bin>emctl upload agent

Oracle Enterprise Manager Cloud Control 13c Release 5

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

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

EMD upload completed successfully


Comments

Popular posts from this blog

100 CHAT GPT Prompts Sample

How to be professional in AI (Artificial Intelligence ), from zero to Hero.