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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ag-grid api方法API
- Ag-Grid React入門React
- [LeetCode] Validate IP AddressLeetCode
- cluster-wide IP address managementIDE
- OMS
- SSL - SSLHandshakeException: No subject alternative names matching IP address foundException
- Oracle 12.2 RAC修改public ip address或public ip(subnet (netmask) or interface)Oracle
- 關於“INS-40922 Invalid Scan Name – Unresolvable to IP address”
- Linux虛擬機器配置IP時提示:determining ip information for ip xxx.xxx.xxx.xxx address is alreadyLinux虛擬機ORM
- Warning: Permanently added the RSA host key for IP address '13.250.177.223' to the list of known hos
- Linux基礎命令---commLinux
- OMS Log Files 位置
- Can't Connect to MySQL Server on IP Address (10061) 錯誤的解決方案MySqlServer
- Data exchange of settype COMM_PRFREEATTR
- COMM5000 Sandbox PwC Distribution
- AG買分
- S7Comm報文詳解
- 【Machine Teaching】An Overview of Machine TeachingMacView
- AG介面申請
- grid
- Machine Learning (12) - Support Vector Machine (SVM)Mac
- Nginx配置max_fails fail_timeoutNginxAI
- SAP settype COMM_PR_BATCH的下載方式BAT
- Redo Byte Address (RBA)(轉)
- mysql bind_address如何配置多個地址 mysql bind-address選項MySql
- 如何技術對接接入AG介面API產品(AG介面除錯)API除錯
- Shuffling MachineMac
- Docker MachineDockerMac
- python爬蟲之反爬蟲(隨機user-agent,獲取代理ip,檢測代理ip可用性)Python爬蟲隨機
- RAC and Grid
- Grid Points
- OGG Connection test fails with: weblogic.transaction.internal.TimedOutException:AIWebException
- ORA-00130: invalid listener address
- 千問AI agent qwan_agent使用AI
- export GRID_HOME=/u01/app/19c/grid $GRID_HOME/bin/crExportAPP
- sourcetree github clone 報錯 hg clone fails with “repository not found“GithubAI
- 【MOS】Creating a PDB ... Fails With ORA-17630 (文件 ID 2090019.1)AI
- DataPump Export (EXPDP) Fails With Error LPX-216 Invalid CharacterExportAIError
- 《machine learning》引言Mac