Monday, 1 June 2020

Oracle Opatch utility 12c

 Hi Blog Viewers,


This post will describes the how to apply single or multiple patches at a time.


Prerequisites :

Set the Oracle Home and Opatch utility home in bashrc profile. So that you no need to set these properties every time, when your applying the patches.


After the prerequisites next step to apply the patch on oracle home.

1. Create the PATCH_TOP folder inside Oracle Middleware Home ( Oracle Home directory).

2. Run the below command to test opatch working on system.

opatch version



3. Copy the patches to PATCH_TOP folder and extract the zip here.

    Example, you have 2 patches  in this directory.

4. Run the below command to apply multiple patches in single shot.

   opatch napply -id 30355873,30359542

5. Single patch use -> opatch apply 30355873



.bashrc profile:

export ORACLE_BASE=/u01/app/oracle
export MW_HOME=${ORACLE_BASE}/product/fmw/Oracle_Home
export DOMAIN_HOME=${ORACLE_BASE}/domains/soa_domain
export JAVA_HOME=${ORACLE_BASE}/product/java/jdk
export WLS_HOME=${MW_HOME}/wlserver

# Path Settings
export PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$MW_HOME/OPatch:


Happy coding !!!


Thanks


Oracle Opatch utility 12c

 Hi Blog Viewers, This post will describes the how to apply single or multiple patches at a time. Prerequisites : Set the Oracle Home and Op...