Professional Documents
Culture Documents
Hyperion OPatch
Hyperion OPatch
www.hyperionguru.com
www.bisptrainings.com
Session Agenda
What is OPatch and Patching Mechanism Prerequisites for Using Opatch Identify the right OPatch and Download. En ironment !ariables OPatch Uses OPatch "ile #ystem Opatch $eadme %pply or $ollbac& Opatch OPatch 'og "iles
www.hyperionguru.com
www.bisptrainings.com
What is Patching
%s an Oracle /yperion administrator you are supposed to download patches and apply them on your database using OPatch tool. (his process is called patching. Patches are a small collection of files copied o er to an e*isting installation. When applied to the correct ersion of an installed product) patches result in an upgraded ersion of the product.
What is OPatch
(he basic functionality of OPatch is to copy files from source to target file system. (he list of files to be copied mentioned in the action script a ailable in $EPM_ORACLE_HOME/OPatch/13905088/etc/config. In addition to this) one can place O# instructions in the post script which gets e*ecuted posy Opatch e*ecution+$EPM_ORACLE_HOME/OPatch/14464522/c !to"/!c#i$t!,. Patch is an Oracle-supplied utility that assists you with the process of applying interim patches to Oracle.s software and rolling bac& interim patches from Oracle.s software.
www.hyperionguru.com
www.bisptrainings.com
When OPatch processes the script for the installation of a patch) it simultaneously generates a rollbac& script and sa es a copy of e ery file edited or deleted during the patching. OPatch also bac&s up the in entory information. (herefore) Oracle recommends that you ha e sufficient system space to accommodate the patch and the bac&up information.
Check for (atch Applicable on Operatin) $%stem OPatch detects if a particular patch is applicable for an operating system. If it is not applicable) it gi es out a suitable error message.
www.hyperionguru.com
www.bisptrainings.com
www.hyperionguru.com
www.bisptrainings.com
Environment #ariables O(atch &ses OPatch uses the following en ironment ariablesA O$%3'E?/OME B Oracle home location. OP%(3/?DECUD B 'og le el that specifies the amount of logging OPatch should perform. OP%(3/?P'%("O$M?ID B Unique platform ID. P%(/ B Path information. Opatch "ile #ystem
www.hyperionguru.com
www.bisptrainings.com
Check the Readme carefull% to ensure all the base patches are alread% appl%
www.hyperionguru.com
www.bisptrainings.com
%ppling Opatch
.1opatch apply >EPM?O$%3'E?/OMEEOPatch -oh >EPM?O$%3'E?/OME -Fre >MIDD'EW%$E?/OME1Fd&0=8?27 -in Ptr'oc >EPM?O$%3'E?/OME1oraInst.loc
www.hyperionguru.com
www.bisptrainings.com
OPatch Utility simply copy files from source to target file system. (he list of files) source file path and the target path in mentioned in the action script. >EPM?O$%3'E?/OME1067898::1etc1config
www.hyperionguru.com
www.bisptrainings.com
Rollback Opatch
.1opatch rollbac& -id GPatchHoI -oh >EPM?O$%3'E?/OME -Fre >MIDD'EW%$E?/OME1Fd&0=8?27 -in Ptr'oc >EPM?O$%3'E?/OME1oraInst.loc
www.hyperionguru.com
www.bisptrainings.com
www.hyperionguru.com
www.bisptrainings.com
www.hyperionguru.com
www.bisptrainings.com