OMS to Agent Comm Fails if IP Address of the Grid Ag Machine is Changed-605009.1
In this Document
Symptoms
Changes
Cause
Solution
References
Applies to:
Enterprise Manager Base Platform. - Version: 10.2.0.1 to 10.2.0.5 - Release: 10.2 to 10.2Information in this document applies to any platform.
Symptoms
The OMS cannot communicate with the agent. Any actions involving communication from the OMS to Agent fails although Agent to OMS communication is working fine.
- In Grid Control, the Setup -> Agents -> Agent Home page displays the following:
- In 10.2.0.5 Grid Console version, the Setup -> Agents -> Agent homepage will show:
- The "Upload Metric Data' button is not available.
- Setting preferred credentials, submitting jobs against the agent host or trying to configure database targets fails.
- The following error message is seen either in the UI when trying to configure database targets on this host or in the OMS trace files.
- Agent uploads are working fine.
Name resolution and connectivity
works fine both ways.
There are no firewalls or proxies between the OMS
and agent.
- Trying the 'Agent Resynchronisation' option in the 10.2.0.5 Grid console returns:
Error communicating with the agent. Exception message - oracle.sysman.emSDK.emd.comm.CommException: java.net.NoRouteToHostException: No route to host
And the OMS -> Agent communication still does not work.
- Clicking on the Targets -> Hosts -> hostname of this machine hangs
for a long time and results in the following error seen in the
oracle.sysman.emSDK.emd.comm.CommException: java.net.ConnectException: Connection timed out
Changes
The IP address on the Grid Agent machine was changed or
this machine is
configured to get its IP address via a DHCP server and was recently rebooted,
resulting in a change of IP address.
Cause
Even if the nslookup command / hosts file on the OMS machine correctly resolves the Agent hostname with the new IP address, the java in the OMS has cached the old IP address.
This was investigated Bug 5899294 CHANGING IP ADDRESS OF THE AGENT REQUIRES RESTART OF THE OMS
Reference :
http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html
Topic
: InetAddress Caching
Solution
There are two possible solutions :
1) Increase the TTL values used (provided with Java security properties
control) for positive host name resolution caching
1. Take a backup of
the
2. Change
To
The default value of '-1' means that the java will cache all the successful
hostname lookups indefinitely, until the process (OMS here) is
re-started.
With a value of 180, the java will cache any successful hostname
lookup for a period of 180 secs only.
This value can be tuned according to
the setup and number of machines monitored as this can affect the number of
network host resolution calls made by the OMS.
If the reverse lookup the old IP address of the Agent machine fails, then the
old cached data will be cleared by the OMS and the new IP address for the agent
machine is saved in the cache.This parameter will not be effective if the OMS is
still able to correctly resolve the old IP address of the Agent machine to the
same hostname as before the IP address change.
In such a case, it is necessary to ensure that the DNS tables / hosts file is
correctly populated with the new IP address of the Agent machine or follow the
solution below.
2) Restart the Grid Control Management Server(s):
OMS_HOME/opmn/bin/opmnctl startall
The cache information is refreshed after the OMS re-start.
This is
described in the Enterprise
Manager Installation Guide
References
BUG:5899294 - CHANGING IP ADDRESS OF THE AGENT REQUIRES RESTART OF THE OMShttp://docs.oracle.com/cd/B16240_01/doc/install.102/e10953/post-install_config_tasks.htm#insertedID8
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-764585/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Agent to OMS Communi Fails if Agent is 'Blocked' in 10.2.0.5 Grid Cons_799618.1AIBloC996
- Agent Upload to OMS Fails if OMS Locked in Secure,Agent isn't Secured_422922.1AI
- Agent to OMS Communi Fails if Agent's REPOSITORY_URL Para has Incorrect_737373.1AI
- 11g Agent Upload Fails with "OMS version not checked Yet". (Doc ID 1265052.1)AI
- windows下部署12c oms agent 及清除agentWindows
- Ag-Grid React入門React
- Agent Startup Fails When the Repository DB Does Not Support TZ of Agent-332131.1AI
- Grid Control服務端看不到Agent相關資訊,同時OMS狀態為unknown處理服務端
- Install GC Agent 11.1.0.1 fails at Config Agent File secure.log_1273470.1GCAI
- Java Get local IP addressJava
- GC 11.1 Install fails at Agent CA while Securing Agent in secure.log_1118270.1GCAIWhile
- How to update the IP address of the SCAN VIP
- OMS Startup Fails during Repository Connection Attempt due to_310772.1AI
- 【GC】重新配置Agent以應對 OMS伺服器的變化GC伺服器
- Automatic Start GC Agent 10.2.0.5 via gcstartup Script fails with sudo_789363.1GCAI
- 修改grid scan ip地址
- OCM實驗-grid control agent安裝
- 【GC】Grid Control Agent完整刪除方法GC
- [LeetCode] Validate IP AddressLeetCode
- OMS CA:10.2.0.1.0 GC Install Fails with "Error processing emkey-353131.1GCAIError
- GC 10.2.0.1 OMS和Agent連線失敗後的處理過程GC
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 3Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 2Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1Cloud
- 【GC】OEL4.8部署安裝 Grid Control OMSGC
- EM GC11.1.0.1 Agent Startup on AIX Fails with Error: nmectl_validate_1386861.1GCAIError
- Grid Control一些術語GC、OMS、OMR、OMA的概念GC
- Agent Install Fails with Error 'OUI-25031' Due to Environment Settings_380507.1AIErrorUI
- Problem: 10.2 Agent Install On Rac Fails With 'Exceptionmessage=Prkc-1002'AIException
- IP address could not be resolved: Temporary failure in name resolutionAI
- EM 12c推送Agent出錯 - OMS_HOST and EM_UPLOAD_PORT is not availableAI
- 【GC】OEM Grid Control 11gR1部署之OMS部分GC
- GC Agent Startup Fails on AIX due to Invalid Timezone Setting at OS_825933.1GCAI
- GC 11g install fails at OMS config stage-Wrong WLS version used_1135493.1GCAI
- EMC儲存=》Hosts=》Name,IP Address 漂移問題
- 【GC】OEL4.8解除安裝重新部署安裝Grid Control OMSGC
- Oracle 12.2 RAC修改public ip address或public ip(subnet (netmask) or interface)Oracle
- How to check EMC Celerra Control Station ip address.