Install Agent on OEM 12c or 13c in Silent Mode

In this topic I will show how to add an agent using Pull method in Silent Mode. Agent Installation processes are same for 12c and 13c.

  • OMS Server : ocmoem
  • Target Server : ocm12c

Login on OMS server using sysman and Synchronized:

[oracle@ocmoem bin]$ ./emcli login -username=sysman
Enter password :

Login successful
[oracle@ocmoem bin]$ ./emcli sync
Synchronized successfully

Get Platform Supported List:

[oracle@ocmoem bin]$ ./emcli get_supported_platforms
-----------------------------------------------
Version = 12.1.0.4.0
 Platform = Linux x86-64
-----------------------------------------------
Platforms list displayed successfully.

Download Agent Software from OMS:

[oracle@ocmoem bin]$ ./emcli get_agentimage -destination=/tmp/agentinstaller -platform="Linux x86-64" -version="12.1.0.4.0"               
=== Partition Detail ===
Space free : 3 GB
Space required : 1 GB
Check the logs at /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/get_agentimage_2020-08-28_13-00-25-PM.log
Downloading /tmp/agentinstaller/12.1.0.4.0_AgentCore_226.zip
File saved as /tmp/agentinstaller/12.1.0.4.0_AgentCore_226.zip
Downloading /tmp/agentinstaller/12.1.0.4.0_PluginsOneoffs_226.zip
File saved as /tmp/agentinstaller/12.1.0.4.0_PluginsOneoffs_226.zip
Downloading /tmp/agentinstaller/unzip
File saved as /tmp/agentinstaller/unzip
Agent Image Download completed successfully.

Move Agent Software to Target Server:

[oracle@ocmoem agentinstaller]$ ls -l
total 249756
-rw-r--r--. 1 oracle oinstall 255744050 Aug 28 13:01 12.1.0.4.0_AgentCore_226.zip

[oracle@ocmoem agentinstaller]$ scp 12.1.0.4.0_AgentCore_226.zip ocm12c:/u01/software
The authenticity of host 'ocm12c (192.168.56.220)' can't be established.
RSA key fingerprint is d0:b8:8f:8e:9e:9a:b5:71:f6:bf:53:90:d7:57:c9:33.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ocm12c,192.168.56.220' (RSA) to the list of known hosts.
oracle@ocm12c's password:
12.1.0.4.0_AgentCore_226.zip                                                                           100%  244MB 122.0MB/s   00:02

Target Server: ocm12c

Unzip software:

[root@ocm12c agent_install]# unzip 12.1.0.4.0_AgentCore_226.zip
Archive: 12.1.0.4.0_AgentCore_226.zip
inflating: unzip
inflating: agentDeploy.sh
inflating: agentimage.properties
inflating: agent.rsp
extracting: agentcoreimage.zip
extracting: 12.1.0.4.0_PluginsOneoffs_226.zip