You are on page 1of 12

Hyperion Infrastructure Training Appling OPatch

Download the video tutorial from www.bispsolutions.com


Deliver By : Amit Sharma Presented By : Amit Sharma,

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

(rere*uisites for &sin) Opatch


Check for JRE and JDK

Check ORACLE !O"E Environment #ariable

Check for $%stem $pace

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 Oracle &niversal 'nstaller and O(atch #ersion Compatibilit%

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

'dentif% +he Ri)ht O(atch and Download


0. 'ogin to metalin&1support.oracle.com. 2. 3lic& 4Patches 5 Updates4 lin& on top menu. 6. On the patch search section enter 067898::. ;. 3lic& search. 9. On the search results page select the most recent ersion and download the <ip file. =. 3opy the <ip file under >EPM?O$%3'E?/OME1OPatch1 067898:: folder. @. Un<ip this file and type 4%ll4 when prompted.

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

O(atch Lo) ,iles

www.hyperionguru.com

www.bisptrainings.com

www.hyperionguru.com

www.bisptrainings.com

You might also like