Setting up the Oracle Enterprise Manager Cloud Control (OEMCC) Agent
This blog explains the steps to get/download the Oracle Enterprise Manager Cloud Control (OEMCC) 13cU5 Agent zip file from the EM Server repository,
- OS: Oracle Linux 8
- OEMCC version: 13.5
- OEMCC Home: /u01/app/oracle/OMS/
- Agent download location: /data/software/agents
Steps
- Login to OEM Server with emcli
- Check the supported version
- Download the Agent Zip file
Step 1: Login to OEM Server with emcli:
We are going to connet to the Oracle EM using the commande line emcli while using the user sysman.
$ /u01/app/oracle/OMS/bin/emcli login -username=sysman -password=PASSWORD
Login successful
$ /u01/app/oracle/OMS/bin/emcli sync
Synchronized successfully
Step 2: Check the supported version
Our OEMCC is installed on Oracle Linux x86-64.
$ /u01/app/oracle/OMS/bin/emcli get_supported_platforms
Version = 13.5.0.0.0
Platform = Linux x86-64
Platforms list displayed successfully.
Step 3: Download the Agent Zip file
We should specify the platform, the version and destination to save the agent.
$ /u01/app/oracle/OMS/bin/emcli get_agentimage -destination=/data/software/agents -platform="Linux x86-64" -version=13.5.0.0.0
=== Partition Detail ===
Space free : 129 GB
Space required : 1 GB
Check the logs at /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/get_agentimage_2022-04-06_19-49-12-PM.log
Downloading /data/software/agents/13.5.0.0.0_AgentCore_226.zip
File saved as /data/software/agents/13.5.0.0.0_AgentCore_226.zip
Downloading /data/software/agents/13.5.0.0.0_Plugins_226.zip
File saved as /data/software/agents/13.5.0.0.0_Plugins_226.zip
Downloading /data/software/agents/unzip
File saved as /data/software/agents/unzip
Executing command: /data/software/agents/unzip /data/software/agents/13.5.0.0.0_Plugins_226.zip -d /data/software/agents/
Archieving agentImage and plugins.
Exit status is:0
Agent Image Download completed successfully.
Now Ready to install the Agent
$ ll
total 769680
-rw-r--r--. 1 oracle oinstall 788151257 Apr 6 19:49 13.5.0.0.0_AgentCore_226.zip
Enjoy 😉