R12.2 Apps DBA. Powered by Blogger.

R12.2 How To Create, Update or Rebuild The Central Inventory

No comments :
Check that oraInst.loc exists in the correct directory for your platform.
Linux and IBM AIX on Power Systems - /etc
Oracle Solaris - /var/opt/oracle
The contents of the oralnst.loc file should look like this:
inventory_loc=/oracle/oraInventory
where /oracle/oraInventory points to the directory where the central inventory is to be located. This location must be writeable by the user account that is to run Rapid Install.
If the oraInst.loc file does not exist, create it in the correct directory with contents as shown above.
How to verify the contents of the Central Inventory
UNIX:
cd <ORACLE_HOME>/oui/bin
./runInstaller
The contents of the Central Inventory can also be checked by viewing file .../oraInventory/ContentsXML/inventory.xml
REMOVED="T" means the ORACLE_HOME has been removed.
Do not modify any files for the oraInventory manually.
UNIX:
Attach the Oracle Home using the OUI (the backslash at the end of each line is being used to divide each command across several screen lines for readability):
cd $ORACLE_HOME/oui/bin
./runInstaller -silent -attachHome -invPtrLoc <Inventory-Pointer-Location-File> \
ORACLE_HOME="<OracleHome-Directory>" \
ORACLE_HOME_NAME="<OracleHome-Name>"
For example:
cd /u01/oracle/PROD/fs1/EBSapps/10.1.2/oui/bin
./runInstaller -silent -attachHome -invPtrLoc /etc/oraInst.loc \
ORACLE_HOME="/u01/oracle/PROD/fs1/EBSapps/10.1.2" \
ORACLE_HOME_NAME="PROD_TOOLS__u01_oracle_PROD_fs1_EBSapps_10_1_2"
How to build a new Central Inventory from scratch
Create a new directory to hold the new Central Inventory, or empty the existing one after backing up its contents, and set its permissions.
Example:
mkdir /u01/oracle/oraInventory
chmod 777 /u01/oracle/oraInventory
Verify or modify the oraInst.loc file, for its location see the Introduction, so 'inventory_loc' points to the directory created in step 1.
Example:
inventory_loc=/u01/oracle/oraInventory
Perform the Procedure 1: Attaching an Oracle Home using the Oracle Universal Installer for for all Oracle Home's:
Note: Make sure to wait until each command completes before issuing the next command. This to prevent locking issues that block simultaneous updates to the Central Inventory.
Example:
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/11.2.0" \
ORACLE_HOME_NAME="OraDb11g_home1"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs1/EBSapps/10.1.2" \
ORACLE_HOME_NAME="PROD_TOOLS__u01_oracle_PROD_fs1_EBSapps_10_1_2"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs2/EBSapps/10.1.2" \
ORACLE_HOME_NAME="PROD_TOOLS__u01_oracle_PROD_fs2_EBSapps_10_1_2"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs1/FMW_Home/Oracle_EBS-app1" \
ORACLE_HOME_NAME="u01_oracle_PROD_fs1_Oracle_EBS_app"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs2/FMW_Home/Oracle_EBS-app1" \
ORACLE_HOME_NAME="u01_oracle_PROD_fs2_Oracle_EBS_app"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs1/FMW_Home/webtier" \
ORACLE_HOME_NAME="OH664489085"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs2/FMW_Home/webtier" \
ORACLE_HOME_NAME="OH332583268"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs1/FMW_Home/oracle_common" \
ORACLE_HOME_NAME="OH1770305581"

./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/PROD/fs2/FMW_Home/oracle_common" \
ORACLE_HOME_NAME="OH1837312334"
Verify the oraInventory using the procedure

No comments :

Post a Comment

Note: only a member of this blog may post a comment.