Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
55 views2 pages

Opatch Auto

The document outlines the steps for applying a PSU patch (34204576) on Oracle Grid and RDBMS homes, including conflict checks and stopping the database instance. It details commands to be executed as the root user and emphasizes the need to repeat the process on all nodes. Additionally, it instructs to run 'datapatch' if not already applied and provides a query for checking patch details and known issues.

Uploaded by

manumanasa248
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views2 pages

Opatch Auto

The document outlines the steps for applying a PSU patch (34204576) on Oracle Grid and RDBMS homes, including conflict checks and stopping the database instance. It details commands to be executed as the root user and emphasizes the need to repeat the process on all nodes. Additionally, it instructs to run 'datapatch' if not already applied and provides a query for checking patch details and known issues.

Uploaded by

manumanasa248
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

=========================

PSU JUL 2022 : 34204576


=========================
Node 1:

Conflict check on grid home


===========================
/u01/app/12.1.0.2/grid/OPatch/opatchauto apply /home/grid/patches/34204576 -oh
/u01/app/12.1.0.2/grid -analyze

Conflict check on rdbms home


===========================

/u01/app/oracle/product/12.1.0.2/dbhome_cr409/OPatch/opatchauto apply
/home/oracle/patches/34204576 -oh /u01/app/oracle/product/12.1.0.2/dbhome_cr409
-analyze

Step 1: Stop the instance on node1(oracle)


==========================================
srvctl status database -d vdsrp -v

srvctl stop instance -i vdsrp1 -d vdsrp

srvctl status database -d vdsrp -v

Step 2: To Apply PSU patch as root user(root)


=============================================

Grid home
---------

/u01/app/12.1.0.2/grid/OPatch/opatchauto apply /home/grid/patches/34204576 -oh


/u01/app/12.1.0.2/grid/

or

/u01/app/12.1.0.2/grid/OPatch/opatchauto apply /home/grid/patches/34204576

rdbms home
----------

/u01/app/oracle/product/12.1.0.2/dbhome_cr409/OPatch/opatchauto apply
/home/oracle/patches/34204576 -oh /u01/app/oracle/product/12.1.0.2/dbhome_cr409
crsctl query crs activeversion

crsctl query crs softwareversion

crsctl query crs releaseversion

crsctl query crs releasepatch

crsctl query crs softwarepatch

repeat the same steps in all the nodes.


repeat the same steps in all the nodes.

Step 3 : Please run datapatch if it not Applied


===============================================

cd $ORACLE_HOME/OPatch

./datapatch -verbose

set line 1000


col action form a12
col version form a40
col description form a85
col action_date form a20

select description, action, to_char(action_time,'DD/MM/RR HH24:MI:SS') action_date,


' ' version
from dba_registry_sqlpatch;

Known issues

chmod -R 775

You might also like