How to Apply Grid Infrastructure Patches Before Upgrading or Installing Cluster

While upgrading GI from to GI, in order to minimize the downtime and reduce the impact on PROD environment, PSU or one off patches can be applied onto image before setting up GI.

Here is the example of applying GI JAN 2018 Release Update ( RU)

1)As the owner of GI HOME, unzip the gold image under new GI HOME.

$cd  /u00/app/ 
$unzip <SW-LOCATION>/ -d ./

2)As the owner of GI HOME, unzip GI JAN 2018 RU patch.

$cd  /tmp
$unzip <SW-LOCATION>/

3) Apply the patch by using option “-applyPSU”, and confirm the successful patching.

$cd /u01/app/
$ ./ -silent -applyPSU /tmp/27100009/
Preparing the home to patch...
Applying the patch /tmp/27100009/...
Successfully applied the patch.
The log can be found at: /u01/app/oraInventory/logs/

Check the log to confirm the patches are applied successfully.

$cd /u01/app/
$ grep -i "successfully applied" *
opatch2018-02-01_15-05-36PM_1.log:[Feb 1, 2018 3:05:41 PM] [INFO] Patch 27144050 successfully applied.
opatch2018-02-01_15-05-41PM_1.log:[Feb 1, 2018 3:06:33 PM] [INFO] Patch 27128906 successfully applied.
opatch2018-02-01_15-06-34PM_1.log:[Feb 1, 2018 3:07:20 PM] [INFO] Patch 27335416 successfully applied.
opatch2018-02-01_15-07-20PM_1.log:[Feb 1, 2018 3:07:49 PM] [INFO] Patch 27105253 successfully applied.
opatch2018-02-01_15-07-49PM_1.log:[Feb 1, 2018 3:07:54 PM] [INFO] Patch 26839277 successfully applied.

Or apply the patch one by one by using “-applyOneOffs” option:

$cd /u01/app/
$./ -silent -applyOneOffs /tmp/27100009/27144050
$./ -silent -applyOneOffs /tmp/27100009/27128906
$./ -silent -applyOneOffs /tmp/27100009/27335416 
$./ -silent -applyOneOffs /tmp/27100009/27105253 
$./ -silent -applyOneOffs /tmp/27100009/26839277

4) After the GI upgraded , we can confirm the patches are applied and listed successfully:

$ opatch lspatches
26839277;DBWLM RELEASE UPDATE (26839277)
27105253;Database Release Update : (27105253)
27335416;OCW JAN 2018 RELEASE UPDATE (27335416)
27128906;ACFS Release Update : (27128906)
27144050;Tomcat Release Update (27144050)

OPatch succeeded.


How to Apply a Grid Infrastructure Patch Before root script ( or is Executed? (Doc ID 1410202.1)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: