While upgrading GI from 126.96.36.199 to GI 188.8.131.52, in order to minimize the downtime and reduce the impact on PROD environment, PSU or one off patches can be applied onto 184.108.40.206 image before setting up 220.127.116.11 GI.
Here is the example of applying GI JAN 2018 Release Update ( RU) 18.104.22.168.180116.
1)As the owner of GI HOME, unzip the gold image under new 22.214.171.124 GI HOME.
$cd /u00/app/126.96.36.199 $unzip <SW-LOCATION>/linuxx64_12201_grid_home.zip -d ./
2)As the owner of GI HOME, unzip GI JAN 2018 RU patch.
$cd /tmp $unzip <SW-LOCATION>/p27100009_122010_GI_RU_180116_Linux-x86-64.zip
3) Apply the patch by using option “-applyPSU”, and confirm the successful patching.
$cd /u01/app/188.8.131.52/grid $ ./gridSetup.sh -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/ GridSetupActions2018-02-01_03-05-11PM/installerPatchActions_2018-02- 01_03-05-11PM.log
Check the log to confirm the patches are applied successfully.
$cd /u01/app/184.108.40.206/grid/cfgtoollogs/opatch $ 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/220.127.116.11/grid $./gridSetup.sh -silent -applyOneOffs /tmp/27100009/27144050 $./gridSetup.sh -silent -applyOneOffs /tmp/27100009/27128906 $./gridSetup.sh -silent -applyOneOffs /tmp/27100009/27335416 $./gridSetup.sh -silent -applyOneOffs /tmp/27100009/27105253 $./gridSetup.sh -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 18.104.22.168.0(ID:170913) (26839277) 27105253;Database Release Update : 22.214.171.124.180116 (27105253) 27335416;OCW JAN 2018 RELEASE UPDATE 126.96.36.199.180116 (27335416) 27128906;ACFS Release Update : 188.8.131.52.0 (27128906) 27144050;Tomcat Release Update 184.108.40.206.0(ID:171023.0830) (27144050) OPatch succeeded.
How to Apply a Grid Infrastructure Patch Before root script (root.sh or rootupgrade.sh) is Executed? (Doc ID 1410202.1)