Deploy OEMCC 13c5 Agent In Silent Mode

This tutorial lists the steps to install Oracle Enterprise Manager Cloud Control OEMCC 13c5 Agent manually in silent mode while.

  • Location of the zip file: /home/oracle/agent_software
  • Location of the installation Agent: /u01/app/oracle/agent
  • OEMCC Agent Hostname: sqlTuning.wadhahdaouehi.tn
  • OEMCC Agent port: 3872
  • OEMCC Server hostname: oemcc13c5.wadhahdaouehi.tn
  • OEMCC Server port: 4903

Steps:

  • Step 0: Get the Agent zip file
  • Step 1: Unzip the Agent Client side
  • Step 2: Prepare the Agent response file
  • Step 3: Deploy the Agent
  • Step 4: run root script
  • Step 5: Start the Agent

Step 0: Get the Agent zip file

Step 1: Unzip the Agent Client side

$ cd /home/oracle/agent_software
$ ll
total 769684
-rw-r--r-- 1 oracle oinstall 788151257 Apr 6 17:51 13.5.0.0.0_AgentCore_226.zip

$ unzip 13.5.0.0.0_AgentCore_226.zip
Archive: 13.5.0.0.0_AgentCore_226.zip
inflating: agentcore.bin
inflating: agent.rsp
inflating: agentDeploy.sh
inflating: agentimage.properties
inflating: unzip
inflating: zip
creating: plugins/
inflating: plugins/oracle.sysman.emas.discovery.plugin-13.5.1.0.0.farb
inflating: plugins/oracle.sysman.si.discovery.plugin-13.5.1.0.0.farb
inflating: plugins/oracle.sysman.db.discovery.plugin-13.5.1.0.0.farb
inflating: plugins/oracle.sysman.xa.discovery.plugin-13.5.1.0.0.farb
inflating: plugins/oracle.sysman.oh.discovery.plugin-13.5.0.0.0.farb
inflating: plugins/oracle.sysman.oh.agent.plugin-13.5.0.0.0.farb
inflating: plugins.txt

Step 2: Prepare the Agent response file

We are going to update the response file agent.rsp with our details

$ grep -v ^# agent.rsp 
OMS_HOST=oemcc13c5.wadhahdaouehi.tn
EM_UPLOAD_PORT=4903
AGENT_REGISTRATION_PASSWORD=you_sysman_password
b_startAgent=true
AGENT_BASE_DIR=/u01/app/oracle/agent
AGENT_INSTANCE_HOME=/u01/app/oracle/agent/agent_inst
AGENT_PORT=3872
ORACLE_HOSTNAME=sqlTuning.wadhahdaouehi.tn
s_agentHomeName="agent13c5"
EM_INSTALL_TYPE="AGENT"

Step 3: Deploy the Agent

After updating the response file, we are going to deploy the agent with the commande agentDeploy.sh

$ ./agentDeploy.sh  RESPONSE_FILE=./agent.rsp -ignorePrereqs
.......
......
Agent Configuration completed successfully
The following configuration scripts need to be executed as the "root" user. Root script to run : /u01/app/oracle/agent/agent_13.5.0.0.0/root.sh
/u01/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentDeploy/agentDeploy_2022-04-06_17-55-02-PM.log
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Waiting for agent targets to get promoted…
Successfully Promoted agent and its related targets to Management Agent

Step 4: run root script

Run the root.sh script with root user or sudo user.

# /u01/app/oracle/agent/agent_13.5.0.0.0/root.sh
Finished product-specific root actions.
/etc exist
Creating /etc/oragchomelist file…

Step 5: Start the Agent

Check the status after the installation

$ /u01/app/oracle/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 is Not Running
$ /u01/app/oracle/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 : /u01/app/oracle/agent/agent_inst
Agent Log Directory : /u01/app/oracle/agent/agent_inst/sysman/log
Agent Binaries : /u01/app/oracle/agent/agent_13.5.0.0.0
Core JAR Location : /u01/app/oracle/agent/agent_13.5.0.0.0/jlib
Agent Process ID : 2518
Parent Process ID : 2335
Agent URL : https://sqlTuning.wadhahdaouehi.tn:3872/emd/main/
Local Agent URL in NAT : https://sqlTuning.wadhahdaouehi.tn:3872/emd/main/
Repository URL : https://oemcc13c5.wadhahdaouehi.tn:4903/empbs/upload
Started at : 2022-04-06 21:50:14
Started by user : oracle
Operating System : Linux version 2.6.32-431.el6.x86_64 (amd64)
Number of Targets : 6
Last Reload : (none)
Last successful upload : 2022-04-06 22:15:29
Last attempted upload : 2022-04-06 22:15:29
Total Megabytes of XML files uploaded so far : 0.24
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 25.98%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2022-04-06 22:16:40
Last successful heartbeat to OMS : 2022-04-06 22:16:40
Next scheduled heartbeat to OMS : 2022-04-06 22:17:40

Agent is Running and Ready

Enjoy 😉

Bookmark the permalink.

Comments are closed.