mkdir /u01/app/agent
mkdir /u01/app/oracle/agentsw
<span style="line-height: 1.5em;">Using software like scp copy the file (12.1.0.50_AgentCore…zip) and the 12.1.0.5.0_PluginsOneoffs_226.zip to u01/app/oracle/agentsw then only extract the 12.1.0.50_AgentCore zip.</span>
<span style="line-height: 1.5em;">$ unzip 12.1.0.5.0_AgentCore_226.zip</span>
<span style="line-height: 1.5em;">Archive: 12.1.0.5.0_AgentCore_226.zip</span>
inflating: unzip
inflating: agentDeploy.sh
inflating: agentimage.properties
inflating: agent.rsp
extracting: agentcoreimage.zip
$ pwd
/u01/app/oracle/agentsw
ls -ltr
total 496072
-rw-rw-r-- 1 oracle oinstall 178 Jun 10 2015 agentimage.properties
-rwxr-xr-x 1 oracle oinstall 145976 Jun 10 2015 unzip
-rwxrwxr-x 1 oracle oinstall 3775 Jun 10 2015 agent.rsp
-rwxrwxr-x 1 oracle oinstall 29124 Jun 10 2015 agentDeploy.sh
-rw-rw-r-- 1 oracle oinstall 250059880 Jun 10 2015 agentcoreimage.zip
-rw-r--r-- 1 oracle oinstall 250140662 May 4 05:37 12.1.0.5.0_AgentCore_226.zip
-rw-r--r-- 1 oracle oinstall 7066252 May 4 05:37 12.1.0.5.0_PluginsOneoffs_226.zip
<span style="line-height: 1.5em;">Edit the agent.rsp</span>
<span style="line-height: 1.5em;">OMS_HOST=<Enter Hostname></span>
EM_UPLOAD_PORT=1159
AGENT_REGISTRATION_PASSWORD=<Enter Password>
AGENT_INSTANCE_HOME=/u01/app/agent2/agent_inst
AGENT_PORT=3872
b_startAgent=true
ORACLE_HOSTNAME=<exalytics Hostname>
#s_agentHomeName=<Value Unspecified>
Save the file.
$ ./agentDeploy.sh AGENT_BASE_DIR=/u01/app/agent RESPONSE_FILE=/u01/app/oracle/agentsw/agent.rsp
Agent Configuration completed successfully
<span style="line-height: 1.5em;">The following configuration scripts need to be executed as the "root" user.</span>
#!/bin/sh
#Root script to run
/u01/app/agent/core/12.1.0.5.0/root.sh
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts
Agent Deployment Successful.
Agent deployment log location: /u01/app/agent/core/12.1.0.5.0/cfgtoollogs/agentDeploy/agentDeploy_2016-05-05_16-27-09-PM.log
Agent deployment completed successfully.
<span style="line-height: 1.5em;">As Root</span>
# /u01/app/agent/core/12.1.0.5.0/root.sh
Finished product-specific root actions.
/etc exist
<span style="line-height: 1.5em;">Creating /etc/oragchomelist file...</span>
<span style="line-height: 1.5em;">$ pwd</span>
/u01/app/agent/agent_inst/bin
<span style="line-height: 1.5em;">$ ./emctl status agent</span>
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.5.0
OMS Version : (unknown)
Protocol Version : 12.1.0.1.0
Agent Home : /u01/app/agent/agent_inst
Agent Log Directory : /u01/app/agent/agent_inst/sysman/log
Agent Binaries : /u01/app/agent/core/12.1.0.5.0
Agent Process ID : 30928
Parent Process ID : 30704
Agent URL : https://exalytics.abc.com:3872/emd/main/
Local Agent URL in NAT : https://exalytics.abc.com:3872/emd/main/
Repository URL : https://abc.Net:1159/empbs/upload
Started at : 2016-05-05 16:28:33
Started by user : oracle
Operating System : Linux version 2.6.32-400.11.1.el5uek (amd64)
Last Reload : (none)
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0
Number of XML files pending upload : 1
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 42.22%
Collection Status : Collections enabled
<span style="background-color: yellow;">Heartbeat Status : OMS responded illegally [ERROR- Failed to Update Target Type Metadata]</span>
Last attempted heartbeat to OMS : 2016-05-05 16:35:40
Last successful heartbeat to OMS : (none)
Next scheduled heartbeat to OMS : 2016-05-05 16:36:10
---------------------------------------------------------------
Agent is Running and Ready