Thursday, January 14, 2010

Adding an Oracle home to an agent inventory

When an Oracle inventory is saved in a non-standard location, the Oracle Grid Control agent can be unable to enumerate the software that is in that Oracle Home. This is true even when it can find the home itself.
In OEM, you’ll run into an error like that below when you click on the home in the Targets list:

Error Could not find Oracle Home <ORACLE_HOME> in the inventory collected for <hostname>

We’ll use TESTSRV2 as a troubleshooting example.

Locate the oraInst.loc file

The oraInst.loc file contains the inventory for all of the Oracle software. Normally, Oracle maintains a single copy of this file, but when one is saved in a non-standard directory, it can get left out.

The first thing we’ll do is find out where all of the oraInst.loc files are located.
[root@testsrv2 ~]# locate oraInst.loc
/oracle/install/920/scripts/silent/oraInst.loc
/oracle/install/817/scripts/silent/oraInst.loc
/OLD_TREES/a18_1/oracle/install/920/scripts/silent/oraInst.loc /OLD_TREES/a18_1/oracle/install/817/scripts/silent/oraInst.loc
/app/oraInventory/oraInst.loc
/app/oracle/product/920/oraInst.loc
/app/oracle/product/102/oraInst.loc
/app/oracle/OracleHomes/agent10g/oraInst.loc
We can see that there are a lot of oraInst.loc files on this server. The file in the OracleHome/agent10g directory is the agent inventory. Some looking shows that the oraInst.loc file in the /app/oracle/product/102 directory is the most recent of all of the others, so we’ll use that one.

Add the additional inventory file to the agent search

There is a file that the agent uses to add inventories to its search list. This is the OUInventories.add file in the <AGENT_HOME>/sysman/config/ directory. So we edit it:
[root@testsrv2 ~]# vim /app/oracle/OracleHomes/agent10g/sysman/config/OUIinventories.add
[root@testsrv2 ~]#
And add the appropriate line:
image
Save that file and exit the editor.

Restart the agent

This change requires a restart of the agent:
/app/oracle/OracleHomes/agent10g/bin/emctl stop agent /app/oracle/OracleHomes/agent10g/bin/emctl start agent

Refresh the Host Configuration

Having restarted the agent, we now have to tell Grid Control to refresh its list of the software on that host:
Navigate to Depoloyments -> Refresh Host Configurationclip_image006
clip_image004
Add the host to the “selected hosts” pane and click on the “refresh hosts” button. This will populate the appropriate agent data, and you’re done.

42 comments:

  1. Thanks, This article resolved my issue.....

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Consequently, section organize tech business people might be constrained to rival set up organizations preceding making a set head begin.www.dynamixsolutions.com

    ReplyDelete
  6. Notwithstanding, your materials should likewise answer the accompanying inquiries that are extraordinary to overhauls. hardware

    ReplyDelete
  7. Amid the later Stone Age time frame (Neolithic period),for farming practice, cleaned stone devices were produced using an assortment of hard shakes to a great extent by burrowing underground passages, which can be considered as the initial phases in mining technology. click site

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. A foundation of figuring and correspondence technology, giving 24-hour access effortlessly to any sort of cost and item data wanted by purchasers, will diminish the educational hindrances to effective market activitytop entrepreneur movies about sales

    ReplyDelete
  10. With the quick advancement of technology, electronic items are refreshing quickly. robot vacuum cleaner

    ReplyDelete
  11. Engine bearers can offer wellbeing and other preparing recordings on the web so drivers can use down time profitably.bobsweep

    ReplyDelete
  12. Those understudies, in any case, feel that technology represents a hindrance to progress as they battle to line up with the manners by which the establishment esteems technology."bobsweep

    ReplyDelete
  13. The advancement of high technology including PC technology's Internet and the phone has vanquished correspondence boundaries and overcome any issues between individuals everywhere throughout the world. Bobsweep robotic vacuum

    ReplyDelete
  14. They last longer, fit better and retain their natural look far better than synthetic wigs

    ReplyDelete
  15. Technology is an unavoidable truth. From mobile phones to PCs, technology has turned into a piece of our regular daily existences. bobsweep vacuum cleaner

    ReplyDelete
  16. The changing market conditions, including global manufacturing, economy, new innovation and international competition, also make consumer electronic guides popular.bobsweep pethair plus reviews

    ReplyDelete
  17. Presently there are many channels accessible causing several choices and bunches of direct jumping in the middle.
    bobsweep pethair

    ReplyDelete
  18. You have diminished the measure of current streaming into your electronic framework, (or, in other words in the articulation "I^2 X R") - which encourages a ton to decrease the measure of warmth that the framework produces. Bobsweep pro

    ReplyDelete
  19. Patent mapping can be a fundamental piece of IP administration. It can reveal important data covered up in licenses and can give helpful pointers to specialized patterns, advertise patterns, contenders changes and mechanical profile and development capability of an organization. Bobsweep pro

    ReplyDelete
  20. Consequently of that, equivalent measure of talk time will be credited to your telephone.Bobsweep pethair plus robotic vacuum cleaner and mop

    ReplyDelete
  21. There are as of now thousands, if not a greater amount of the sorts of Technology Review Site that exists on the web ecovacs

    ReplyDelete
  22. The NUS is the most seasoned ENGINEERING MUT and also the greatest college in Singapore offering both single guy and ace dimension courses in numerous subjects.

    ReplyDelete
  23. Expulsion of go-betweens would diminish the expenses in the generation and dissemination esteem chain. best bra for elderly

    ReplyDelete
  24. Current technology enables organizations to lessen their carbon impression and end up green because of the way that nearly anything should be possible from a PC. hearing amplifiers reviews

    ReplyDelete
  25. Good fortunes with whatever your school has made arrangements for the coming year. You can deal with it. Regardless of whether that is no joke"theblogfrog.com

    ReplyDelete
  26. There are a few land the executives programming suites accessible in the market however the one that emerges astonishingly and is utilized by a few rumored land firms is SkySlope.
    robots making with arduino

    ReplyDelete
  27. A progressive technology is one which empowers new businesses or empowers answers for issues that were beforehand impractical. Semiconductor technology is a genuine model.https://www.techpally.com/touchcommerce-tech/

    ReplyDelete
  28. You may likewise need to consider the sound arrangements that the text to speech software can spare the record into. text to mp3 free online

    ReplyDelete
  29. Customers are actually 2 ways to one side or right, in the event that they have a PC. Indeed the simplest customers on the planet to get are PC customers. Individuals ALWAYS need assistance with their PCs. https://techeries.com/

    ReplyDelete
  30. Customers are actually 2 ways to one side or right, in the event that they have a PC. Indeed the simplest customers on the planet to get are PC customers. Individuals ALWAYS need assistance with their PCs. https://techeries.com/

    ReplyDelete
  31. I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. sachdeva millennium school I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best!

    ReplyDelete
  32. With the progressions in automated technology and GPS, autos that drive themselves (and their proprietor) will be set up soon enough. used car dealerships near me

    ReplyDelete
  33. Engine bearers can offer wellbeing and other preparing recordings on the web so drivers can use down time profitably.

    ReplyDelete
  34. This comment has been removed by the author.

    ReplyDelete
  35. This comment has been removed by a blog administrator.

    ReplyDelete
  36. They last longer, fit better and retain their natural look far better than synthetic wigs.

    ReplyDelete
  37. Expulsion of go-betweens would diminish the expenses in the generation and dissemination esteem chain

    ReplyDelete
  38. This comment has been removed by a blog administrator.

    ReplyDelete
  39. To a designer, the technology can resemble an item. An empowering item, yet an item in any case, and hence it is profoundly pertinent. app marketing

    ReplyDelete
  40. really infomative and eduvcative article thanks publisher for sharing this info with us gaming chair with lumbar support
    whatsaup flippzilla

    ReplyDelete
  41. It's frustrating to encounter errors like this when you need to manage your Oracle inventory. Fortunately, there are solutions to this problem. You can try modifying your Oracle inventory to a standard location or manually specifying the non-standard location in the Oracle Grid Control agent. Don't let this issue stop you from efficiently managing your Oracle software inventory. https://electronicbookreadingdevice.com/

    ReplyDelete

Thanks for leaving a comment!