cd /apps
mv oraInventory oraInventory.OLD
mkdir oraInventory
 

$ /apps/oracle/product/11.2.0/grid/oui/bin

+ASM – oracle: ./attachHome.sh
Starting Oracle Universal Installer…
 
Checking swap space: must be greater than 500 MB.   Actual 32767 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /apps/oraInventory
‘AttachHome’ was successful.
 
 
$ /apps/oracle/product/11.2.0/DB/oui/bin

DBATOOLS – oracle: ./attachHome.sh
Starting Oracle Universal Installer…
 
Checking swap space: must be greater than 500 MB.   Actual 32767 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /apps/oraInventory
‘AttachHome’ was successful.
 
 
DBATOOLS – oracle: cd /apps/oraInventory
$ /apps/oraInventory
DBATOOLS – oracle: cd ContentsXML/
 
$ /apps/oraInventory/ContentsXML
DBATOOLS – oracle: cat inventory.xml
<?xml version=”1.0″ standalone=”yes” ?>
<!– Copyright (c) 1999, 2010, Oracle. All rights reserved. –>
<!– Do not modify the contents of this file by hand. –>
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>11.2.0.2.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME=”Ora11g_gridinfrahome1″ LOC=”/apps/oracle/product/11.2.0/grid” TYPE=”O” IDX=”1″ CRS=”true”/>
<HOME NAME=”OraDb11g_home1″ LOC=”/apps/oracle/product/11.2.0/DB” TYPE=”O” IDX=”2″/>
</HOME_LIST>
</INVENTORY>
 
+ASM – oracle: ./opatch lsinv |grep ^Patch
Patch history file: /apps/oracle/product/11.2.0/grid/cfgtoollogs/opatch/opatch_history.txt
Patch  12431716     : applied on Thu Jun 09 16:49:01 CDT 2011
Patch  11724916     : applied on Thu Jun 09 16:29:52 CDT 2011
Patch  12311357     : applied on Thu Jun 09 16:29:24 CDT 2011
 
+ASM – oracle: db DBATOOLS
The Oracle base remains unchanged with value /apps/oracle
 
$ /apps/oracle/product/11.2.0/grid/OPatch
DBATOOLS – oracle: cd $ORACLE_HOME/OPatch
$ /apps/oracle/product/11.2.0/DB/OPatch
DBATOOLS – oracle: ./opatch lsinv |grep ^Patch
Patch history file: /apps/oracle/product/11.2.0/DB/cfgtoollogs/opatch/opatch_history.txt
Patch  12431716     : applied on Thu Jun 09 16:53:03 CDT 2011
Patch  11724916     : applied on Thu Jun 09 16:38:21 CDT 2011
Patch  12311357     : applied on Thu Jun 09 16:37:54 CDT 2011