Oracle RDBMS patching is one of the DBAs regular tasks. Here I would like to discuss very broadly how we do the rdbms patching. The database and the listener must be down while applying the patch.
We apply the rdbms patches by using Opatch utility. Please ceck the correct version of your optach which you will be using to apply a particular rdbms patch.
Here are the steps -
connect as oracle user.
set environment of the instance
1) Download the patch from oracle suuport to $ORACLE_HOME/patch
unzip the patch.
During uzipping please note down the directory it is creating.
cd to that directory. copy the directory path.
Example : 3852108
2)
export PATH=/$ORACLE_HOME/OPatch:$PATH
export PATH=/opt/perl/bin:$PATH
3)
cd /$ORACLE_HOME/OPatch
4)Apply the patch by this command
opatch apply -invPtrLoc $ORACLE_HOME/oraInventory/oraInst.loc
opatch apply -no_inventory
optach lsinventory -invPtrLoc $ORACLE_HOME/oraInventory/oraInst.loc
Friday, August 1, 2008
RDBMS Patch Lab -
Subscribe to:
Post Comments (Atom)
1 comment:
Its a great simple document.
Thanks for the detailing.
Regards,
Jim
Post a Comment