Friday, 5 July 2013

Central and Local inventories for Oracle

Central Inventory
The Central Inventory contains the information relating to all Oracle products installed on a host. It contains the following files and folders:

  • Inventory File
  • Logs Directory
Inventory File
This file lists all the Oracle homes installed on the node. For each Oracle home, it also lists the Oracle home name, home index, and nodes on which the home is installed. It also mentions if the home is an Oracle Clusterware home or a removed Oracle home. It can only detect removed Oracle homes created using Oracle Universal Installer version 11.2 and later.
This file is present in the following location:
<central inventory location>/ContentsXML/inventory.xml
Logs Directory
The Central Inventory contains installation logs in the following location:
<central inventory location>/logs
The logs directory contains the logs corresponding to all installations performed on a particular node. You can also find a copy of the installation log in the$ORACLE_HOME/cfgtoollogs directory.The installation logs for an installation are identified by the timestamp associated with the log files. These files are generally saved in the following format:

<Name_of_Action><YYYY-MM-DD_HH-MM-SS{AM/PM}>.log

Oracle Home Inventory

Oracle home inventory or local inventory is present inside each Oracle home. It only contains information relevant to a particular Oracle home. This file is located in the following location:

$ORACLE_HOME/inventory

It contains the following files and folders:

  • Components File
  • Home Properties File
  • Other Folders
Components File
This file contains the details about third-party applications like Java Runtime Environment (JRE) required by different Java-based Oracle tools and components. 
This file is located here:
ORACLE_HOME/inventory/ContentsXML/comps.xml
Home Properties File
This file contains the details about the node list, the local node name, and the Oracle Clusterware flag for the Oracle home. In a shared Oracle home, the local node information is not present. This file also contains the following information:
This file is located here:

$ORACLE_HOME/inventory/ContentsXML/oraclehomeproperties.xml

Other Folders in the Oracle Home Inventory

Scripts
Contains the scripts used for the cloning operation.
ContentsXML
Contains the details of the components and libraries installed.
Templates
Contains the template files used for cloning.
oneoffs
Contains the details of the one-off patches applied.

No comments:

Post a Comment