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 =
 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=""               
=== 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/
File saved as /tmp/agentinstaller/
Downloading /tmp/agentinstaller/
File saved as /tmp/agentinstaller/
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

[oracle@ocmoem agentinstaller]$ scp ocm12c:/u01/software
The authenticity of host 'ocm12c (' 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,' (RSA) to the list of known hosts.
oracle@ocm12c's password:                                                                           100%  244MB 122.0MB/s   00:02

Target Server: ocm12c

Unzip software:

[root@ocm12c agent_install]# unzip
inflating: unzip
inflating: agent.rsp