To list patches installed in Oracle Home
set ORACLE_HOME=
cd $ORACLE_HOME/OPatch
opatch lsinventory
For AIA, there is separate OPATCH to install and to get list of patches. Here are the steps:
- Download latest version of AIA Opatch from metalink (p5912518_111000_GENERIC.zip)
- Set following homes
export AIA_HOME= (e.g. /home/oracle/aiahome )
export SOA_HOME= (e.g. /home/oracle/product/10.1.3.1/OracleAS_1)
export PATH= (e.g. /home/oracle/5912518/OPatch:$PATH)
Note: Make sure AIA Opatch is in the path and it is the first entry or prior to any other OPATCH entry.
Now you can run following command to get list of AIA patch or install AIA patch
List of AIA patch
- opatch lsinventory -invPtrLoc $AIA_HOME/oraInst.loc -oh $AIA_HOME -jre $SOA_HOME/jdk/jre
Install AIA patch
- Go to the directory where patch is unzipped and run:
- opatch apply -invPtrLoc $AIA_HOME/oraInst.loc -oh $AIA_HOME -jre $SOA_HOME/jdk/jre
No comments:
Post a Comment