Hi,
i have installed OEM CC 12c based on Oracle Linux 6.5, i have installed Oracle Database too in there.
everything is fine and work perfectly.
and now i try to add my production database which based on solaris 10 u11, to be agent in my OEM CC 12c.
but failed because the result told that agent unreachable, cannot resycn the agent because OMS version not checked yet
i have search many solution but no one success..
The OEM CC 12c, the problem is :
Discovery failed on host 10.102.x.xx: oracle.sysman.core.disc.common.AutoDiscoveryException: Unable to run on discovery on demand.Could not send some or all data over to repository: Failed to upload file: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors. (TIMEOUT)
solaris11> ./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.4.0
OMS Version : (unknown)
Protocol Version : 12.1.0.1.0
Agent Home : /vd2/oratest1/epmdb/11.2.0.4/oemcc12c/agent_inst
Agent Log Directory : /vd2/oratest1/epmdb/11.2.0.4/oemcc12c/agent_inst/sysman/log
Agent Binaries : /vd2/oratest1/epmdb/11.2.0.4/oemcc12c/core/12.1.0.4.0
Agent Process ID : 4705
Parent Process ID : 4696
Agent URL : https://10.102.1.52:3872/emd/main/
Local Agent URL in NAT : https://10.102.1.52:3872/emd/main/
Repository URL : https://yoga:4903/empbs/upload
Started at : 2016-04-21 10:47:44
Started by user : oratest1
Operating System : SunOS version 5.10 (sparcv9)
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 : 95
Size of XML files pending upload(MB) : 0.37
Available disk space on upload filesystem : 99.22%
Collection Status : Collections enabled
Heartbeat Status : OMS is unreachable
Last attempted heartbeat to OMS : 2016-04-21 12:11:31
Last successful heartbeat to OMS : (none)
Next scheduled heartbeat to OMS : 2016-04-21 12:11:56
---------------------------------------------------------------
Agent is Running and Ready
i have restart agent, and upload manually
solaris 11 > ./emctl upload agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error:full upload has failed: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors. (OMS_DOWN)
i have try this below step, but failed too.
Find target_guid for this target agent.
select target_guid from sysman.mgmt_targets where target_name='<host>:3872';
Increase max_inactive_time from the default value 120 sec to 240 sec.
SQL> update sysman.mgmt_emd_ping
2 set MAX_INACTIVE_TIME=240
3 where target_guid='<target_guid>';
i have try reinstall the agent, but the same problem showed up.
Could someone help me out of this problem?
The point is, i just want my oracle database in solaris 11, can be managed in Oracle Enterprise Manager Cloud Control 12c.
UPDATE
Hi,
i have add this step after decommision my solaris agent.
- Navigate to the following location in the OMS home:
$<OMS_HOME>/oui/prov/resources/scripts
For example,/home/software/em/middleware/oms/oui/prov/resources/scripts
- if the OMS host runs on any Unix based operating system, run the
sshUserSetup.sh
script on the OMS host as the OMS user, and pass the Management Agent install user name and the fully qualified name of the target hosts:
sshUserSetup.sh -setup -user <agent_install_user_name> -hosts "<target_hosts>"
For example, sshUserSetup.sh -setup -user oracle -hosts "abc1.example.com abc2.example.com abc3.example.com".
Ensure that you use a space to separate the target host names.
after that, i install agent in solaris server using 'add target manually' in OEM.
and finally my agent status is great, OMS version showed, heartbeat to oms is very well.
but now i have a new problem,
Agent Unreachable is cleared. The current status of the target is METRIC ERROR
what i suppose to do? i have upload agent manually, restart agent, and clearstate, but it doesnt work .
Thanks..
Yoga H.K
Thanks,
Best Regard,
Yoga H.K